Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update some base colors and logos #10

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion components/Footer/Footer.module.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
@import "../constants";

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

> div {
padding: 0 1rem;
Expand Down
10 changes: 5 additions & 5 deletions components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Footer: FC = () => {
<div>
<ul className="contact-info">
<li>
<a href="mailto:[email protected]">codestar@ordina.nl</a>
<a href="mailto:[email protected]">codestar.nl@soprasteria.com</a>
</li>
<li>
<a href="tel:+31306637000">+31 30 6637000</a>
Expand Down Expand Up @@ -69,12 +69,12 @@ const Footer: FC = () => {
/>
</a>
<a
href="https://www.linkedin.com/company/codestar-powered-by-ordina/"
href="https://www.linkedin.com/company/codestar-powered-by-sopra-steria/"
aria-label="Linkedin"
>
<Image
src={linkedinSvg}
alt="Codestar Medium"
alt="Codestar LinkedIn"
width={32}
height={32}
/>
Expand All @@ -85,7 +85,7 @@ const Footer: FC = () => {
>
<Image
src={youtubeSvg}
alt="Codestar Medium"
alt="Codestar Youtube"
width={36}
height={32}
/>
Expand All @@ -96,7 +96,7 @@ const Footer: FC = () => {
>
<Image
src={meetupSvg}
alt="Codestar Medium"
alt="Codestar Meetup"
width={32}
height={32}
/>
Expand Down
5 changes: 5 additions & 0 deletions components/MeetupCardList/MeetupCardList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
flex-direction: column;
gap: 15px;

h3 {
font-family: "Conduit ITC W04 Regular", 'system-ui';
font-size: 150%;
}

& :global(a.external) {
text-decoration: underline;
}
Expand Down
2 changes: 1 addition & 1 deletion components/PlaylistItemCard/PlaylistItemCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
gap: 10px;

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

& > :global(.img) {
Expand Down
2 changes: 1 addition & 1 deletion components/PlaylistItemCard/PlaylistItemCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const PlaylistItemCard: FC<{ item: IPlaylistItem }> = ({ item }) => {
<div
className="img"
style={{
backgroundImage: `url(${thumbnails.medium.url})`,
backgroundImage: `url(${thumbnails?.medium?.url})`,
}}
></div>
<h3>{title}</h3>
Expand Down
10 changes: 8 additions & 2 deletions components/PublicationCard/PublicationCard.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
padding: 0 10px;

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

& > section {
Expand All @@ -21,10 +21,15 @@
width: calc($main-width - (2 * $aside-width) - 40px);
}
}

h2 {
font-family: "Conduit ITC W04 Regular", 'system-ui';
font-size: 180%;
}
}

.publication-card--avatar {
background-color: $orange;
background-color: $red;
background-size: 50px;
border-radius: 50%;
color: black;
Expand All @@ -33,6 +38,7 @@
position: relative;
text-align: center;
font-size: 40px;
font-family: "Righteous", sans-serif;
}

.publication-card--author {
Expand Down
2 changes: 1 addition & 1 deletion components/TopBar/TopBar.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "../constants";

.top-bar {
background-color: #121212;
background-color: #212121;
height: 56px;
border-bottom: 1px solid #343a71;
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion components/TopBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Link from "next/link";
import { FC } from "react";
import styles from "./TopBar.module.scss";
import Image from "next/image";
import codestarLogo from "../../public/codestar_logo_dark.svg";
import codestarLogo from "../../public/codestar_logo_cream-red.svg";

const TopBar: FC = () => {
return (
Expand Down
5 changes: 3 additions & 2 deletions components/_constants.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// TODO should be imported with @use instead of @import

$highlight-card-bg: #213c5e;
$highlight-card-bg: darken(#3266a3, 5%);
$orange: #e47e06;
$underline-text: #9f9f9f;
$red: #b03a48;
$underline-text: var(--cs-white-grey);
$main-min-width: 900px;
$main-width: 1400px;
$aside-width: 330px;
Expand Down
12 changes: 6 additions & 6 deletions lib/youtube-playlist/youtube-playlist.types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
interface IThumbnail {
url: string;
width: number;
height: number;
url?: string;
width?: number;
height?: number;
}

export interface IPlaylistResponse {
Expand All @@ -27,8 +27,8 @@ export interface IPlaylistItem {
publishedAt: string;
title: string;
description: string[];
thumbnails: {
default: IThumbnail;
medium: IThumbnail;
thumbnails?: {
default?: IThumbnail;
medium?: IThumbnail;
};
}
92 changes: 92 additions & 0 deletions public/codestar_logo_cream-red.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
27 changes: 25 additions & 2 deletions styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
@import url('https://fonts.googleapis.com/css2?family=Righteous');
/* @import url('https://fonts.cdnfonts.com/css/conduit-itc-medium'); */

@font-face {
font-family: "Conduit ITC W04 Regular";
src: url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.eot");
src: url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.eot?#iefix")format("embedded-opentype"),
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.woff2")format("woff2"),
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.woff")format("woff"),
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.ttf")format("truetype"),
url("https://db.onlinewebfonts.com/t/d032cc8a57ef4a7d2a5ebb7be4e63c71.svg#Conduit ITC W04 Regular")format("svg");
}

html,
body {
padding: 0;
Expand All @@ -20,8 +33,18 @@ html {
color-scheme: dark;
}
body {
--cs-bg-color: #00254b;
color: rgb(205, 205, 205);
--cs-brutalist-red: #b03a48;
--cs-brutalist-orange: #d4804d;
--cs-brutalist-yellow: #d6b74b;
--cs-brutalist-green: #3e7a4c;
--cs-brutalist-blue: #3266a3;
--cs-brutalist-purple: #915394;
--cs-brutalist-pink: #d980a0;
--cs-brutalist-creme: #f1e7da;
--cs-white-grey: #cdcdcd;
--cs-bg-color: var(--cs-brutalist-blue);
--cs-text-color: #151515;
color: var(--cs-text-color);
background: var(--cs-bg-color);
}
/* } */