Skip to content

Commit e3e7e50

Browse files
authored
Merge pull request #10 from code-star/feature/update-design
chore: update some base colors and logos
2 parents 0848197 + 94f6b9e commit e3e7e50

File tree

13 files changed

+152
-22
lines changed

13 files changed

+152
-22
lines changed

components/Footer/Footer.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
@import "../constants";
22

33
.footer {
4-
background-color: #343a40;
4+
background-color: var(--cs-brutalist-purple);
55
padding: 8rem 0 2rem;
66
display: flex;
77
justify-content: center;
8+
color: var(--cs-brutalist-creme);
9+
font-family: "Conduit ITC W04 Regular", 'system-ui';
10+
font-size: 140%;
811

912
> div {
1013
padding: 0 1rem;

components/Footer/Footer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Footer: FC = () => {
1515
<div>
1616
<ul className="contact-info">
1717
<li>
18-
<a href="mailto:[email protected]">codestar@ordina.nl</a>
18+
<a href="mailto:[email protected]">codestar.nl@soprasteria.com</a>
1919
</li>
2020
<li>
2121
<a href="tel:+31306637000">+31 30 6637000</a>
@@ -69,12 +69,12 @@ const Footer: FC = () => {
6969
/>
7070
</a>
7171
<a
72-
href="https://www.linkedin.com/company/codestar-powered-by-ordina/"
72+
href="https://www.linkedin.com/company/codestar-powered-by-sopra-steria/"
7373
aria-label="Linkedin"
7474
>
7575
<Image
7676
src={linkedinSvg}
77-
alt="Codestar Medium"
77+
alt="Codestar LinkedIn"
7878
width={32}
7979
height={32}
8080
/>
@@ -85,7 +85,7 @@ const Footer: FC = () => {
8585
>
8686
<Image
8787
src={youtubeSvg}
88-
alt="Codestar Medium"
88+
alt="Codestar Youtube"
8989
width={36}
9090
height={32}
9191
/>
@@ -96,7 +96,7 @@ const Footer: FC = () => {
9696
>
9797
<Image
9898
src={meetupSvg}
99-
alt="Codestar Medium"
99+
alt="Codestar Meetup"
100100
width={32}
101101
height={32}
102102
/>

components/MeetupCardList/MeetupCardList.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
flex-direction: column;
44
gap: 15px;
55

6+
h3 {
7+
font-family: "Conduit ITC W04 Regular", 'system-ui';
8+
font-size: 150%;
9+
}
10+
611
& :global(a.external) {
712
text-decoration: underline;
813
}

components/PlaylistItemCard/PlaylistItemCard.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
gap: 10px;
99

1010
&:hover {
11-
background-color: lighten($highlight-card-bg, 10%);
11+
background-color: var(--cs-brutalist-green);
1212
}
1313

1414
& > :global(.img) {

components/PlaylistItemCard/PlaylistItemCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const PlaylistItemCard: FC<{ item: IPlaylistItem }> = ({ item }) => {
1212
<div
1313
className="img"
1414
style={{
15-
backgroundImage: `url(${thumbnails.medium.url})`,
15+
backgroundImage: `url(${thumbnails?.medium?.url})`,
1616
}}
1717
></div>
1818
<h3>{title}</h3>

components/PublicationCard/PublicationCard.module.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
padding: 0 10px;
77

88
&:hover {
9-
background-color: lighten($highlight-card-bg, 10%);
9+
background-color: var(--cs-brutalist-green);
1010
}
1111

1212
& > section {
@@ -21,10 +21,15 @@
2121
width: calc($main-width - (2 * $aside-width) - 40px);
2222
}
2323
}
24+
25+
h2 {
26+
font-family: "Conduit ITC W04 Regular", 'system-ui';
27+
font-size: 180%;
28+
}
2429
}
2530

2631
.publication-card--avatar {
27-
background-color: $orange;
32+
background-color: $red;
2833
background-size: 50px;
2934
border-radius: 50%;
3035
color: black;
@@ -33,6 +38,7 @@
3338
position: relative;
3439
text-align: center;
3540
font-size: 40px;
41+
font-family: "Righteous", sans-serif;
3642
}
3743

3844
.publication-card--author {

components/TopBar/TopBar.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import "../constants";
22

33
.top-bar {
4-
background-color: #121212;
4+
background-color: #212121;
55
height: 56px;
66
border-bottom: 1px solid #343a71;
77
display: flex;

components/TopBar/TopBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Link from "next/link";
22
import { FC } from "react";
33
import styles from "./TopBar.module.scss";
44
import Image from "next/image";
5-
import codestarLogo from "../../public/codestar_logo_dark.svg";
5+
import codestarLogo from "../../public/codestar_logo_cream-red.svg";
66

77
const TopBar: FC = () => {
88
return (

components/_constants.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// TODO should be imported with @use instead of @import
22

3-
$highlight-card-bg: #213c5e;
3+
$highlight-card-bg: darken(#3266a3, 5%);
44
$orange: #e47e06;
5-
$underline-text: #9f9f9f;
5+
$red: #b03a48;
6+
$underline-text: var(--cs-white-grey);
67
$main-min-width: 900px;
78
$main-width: 1400px;
89
$aside-width: 330px;

lib/youtube-playlist/youtube-playlist.types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interface IThumbnail {
2-
url: string;
3-
width: number;
4-
height: number;
2+
url?: string;
3+
width?: number;
4+
height?: number;
55
}
66

77
export interface IPlaylistResponse {
@@ -27,8 +27,8 @@ export interface IPlaylistItem {
2727
publishedAt: string;
2828
title: string;
2929
description: string[];
30-
thumbnails: {
31-
default: IThumbnail;
32-
medium: IThumbnail;
30+
thumbnails?: {
31+
default?: IThumbnail;
32+
medium?: IThumbnail;
3333
};
3434
}

public/codestar_logo_cream-red.svg

Lines changed: 92 additions & 0 deletions
Loading

public/favicon.ico

-11 KB
Binary file not shown.

styles/globals.css

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Righteous');
2+
/* @import url('https://fonts.cdnfonts.com/css/conduit-itc-medium'); */
3+
4+
@font-face {
5+
font-family: "Conduit ITC W04 Regular";
6+
src: url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.eot");
7+
src: url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.eot?#iefix")format("embedded-opentype"),
8+
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.woff2")format("woff2"),
9+
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.woff")format("woff"),
10+
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.ttf")format("truetype"),
11+
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.svg#Conduit ITC W04 Regular")format("svg");
12+
}
13+
114
html,
215
body {
316
padding: 0;
@@ -20,8 +33,18 @@ html {
2033
color-scheme: dark;
2134
}
2235
body {
23-
--cs-bg-color: #00254b;
24-
color: rgb(205, 205, 205);
36+
--cs-brutalist-red: #b03a48;
37+
--cs-brutalist-orange: #d4804d;
38+
--cs-brutalist-yellow: #d6b74b;
39+
--cs-brutalist-green: #3e7a4c;
40+
--cs-brutalist-blue: #3266a3;
41+
--cs-brutalist-purple: #915394;
42+
--cs-brutalist-pink: #d980a0;
43+
--cs-brutalist-creme: #f1e7da;
44+
--cs-white-grey: #cdcdcd;
45+
--cs-bg-color: var(--cs-brutalist-blue);
46+
--cs-text-color: #151515;
47+
color: var(--cs-text-color);
2548
background: var(--cs-bg-color);
2649
}
2750
/* } */

0 commit comments

Comments
 (0)