Skip to content

Commit

Permalink
Switched the font of the year in the cover to the one used on the site
Browse files Browse the repository at this point in the history
  • Loading branch information
originalnicodr committed Dec 16, 2023
1 parent fe3e576 commit 22d7462
Show file tree
Hide file tree
Showing 23 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/home/year-cover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const yearTextStyle: CSS.Properties = {
transform: 'translate(-50%, -50%)',
opacity: '80%',
mixBlendMode: 'screen',
fontFamily: "'Galano Grotesque Alt (Numbers)', 'AtkinsonHyperlegible', 'HelveticaNeue', 'Helvetica', 'Arial', 'sans-serif'",
//color: '#dbdfd8',
}

Expand Down
1 change: 1 addition & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "../styles/globals.scss";
import '../public/fonts/stylesheet.css';
import type { AppProps } from "next/app";
import { Footer, Navigation } from "@components/global";
import Head from "next/head";
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
69 changes: 69 additions & 0 deletions public/fonts/stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
@font-face {
font-family: "GalanoGrotesque";
font-style: normal;
font-weight: normal;
src: url("Galano-Grotesque/GalanoGrotesque-Bold.woff2") format("woff2");
}

@font-face {
font-family: 'Galano Grotesque Alt (Numbers)';
src: url('Galano-Grotesque/GalanoGrotesqueAlt-Italic.woff2') format('woff2'),
url('Galano-Grotesque/GalanoGrotesqueAlt-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
unicode-range: U+30-39; /* affects only 0-9 */
ascent-override: 50%; /* necessary for line-height matching, not necessary to be 50% - not supported on safari! */
}

@font-face {
font-family: 'Galano Grotesque Alt (Numbers)';
src: url('Galano-Grotesque/GalanoGrotesqueAlt-Regular.woff2') format('woff2'),
url('Galano-Grotesque/GalanoGrotesqueAlt-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
unicode-range: U+30-39;
ascent-override: 50%;
}

@font-face {
font-family: 'Galano Grotesque Alt (Numbers)';
src: url('Galano-Grotesque/GalanoGrotesqueAlt-SemiBold.woff2') format('woff2'),
url('Galano-Grotesque/GalanoGrotesqueAlt-SemiBold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
unicode-range: U+30-39;
ascent-override: 50%;
}

@font-face {
font-family: 'Galano Grotesque Alt (Numbers)';
src: url('Galano-Grotesque/GalanoGrotesqueAlt-SemiBoldItalic.woff2') format('woff2'),
url('Galano-Grotesque/GalanoGrotesqueAlt-SemiBoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
unicode-range: U+30-39;
ascent-override: 50%;
}


@font-face {
font-family: 'AtkinsonHyperlegible';
src: local('☞Atkinson Hyperlegible'), local('AtkinsonHyperlegible-Regular'),
url('Atkinson-Hyperlegible/AtkinsonHyperlegible-Regular.woff2') format('woff2'),
url('Atkinson-Hyperlegible/AtkinsonHyperlegible-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'AtkinsonHyperlegible';
src: local('☞Atkinson Hyperlegible'), local('AtkinsonHyperlegible-Bold'),
url('Atkinson-Hyperlegible/AtkinsonHyperlegible-Bold.woff2') format('woff2'),
url('Atkinson-Hyperlegible/AtkinsonHyperlegible-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}

0 comments on commit 22d7462

Please sign in to comment.