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

Jeromehardaway/add gotham #625

Merged
merged 3 commits into from
Nov 1, 2024
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
14 changes: 14 additions & 0 deletions public/fonts/gotham/ gotham.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## [Gotham by Hoefler & Co](https://www.typography.com/fonts/gotham/overview/)

```
https://cdn.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.css

<link rel="https://cdn.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.css">

```


![](https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/8e8f0c08356d984ef212e02beab979ceb849f097/Gotham_Cyrillic.jpg)
![](https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/59c47cc97997c2f06f67175e1b5718ee54cc0aa5/gotham_cell_21-67a7d961a2769036dc177455b7e2abbd.png)
![](https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/59c47cc97997c2f06f67175e1b5718ee54cc0aa5/gotham_cell_18-c093daa9500abeca4395a8816f1847e3.png)

Binary file added public/fonts/gotham/GothamPro-Black.eot
Binary file not shown.
2,930 changes: 2,930 additions & 0 deletions public/fonts/gotham/GothamPro-Black.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 added public/fonts/gotham/GothamPro-Black.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Black.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Black.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-BlackItalic.eot
Binary file not shown.
2,867 changes: 2,867 additions & 0 deletions public/fonts/gotham/GothamPro-BlackItalic.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 added public/fonts/gotham/GothamPro-BlackItalic.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-BlackItalic.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-BlackItalic.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Bold.eot
Binary file not shown.
870 changes: 870 additions & 0 deletions public/fonts/gotham/GothamPro-Bold.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 added public/fonts/gotham/GothamPro-Bold.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Bold.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Bold.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-BoldItalic.eot
Binary file not shown.
2,944 changes: 2,944 additions & 0 deletions public/fonts/gotham/GothamPro-BoldItalic.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 added public/fonts/gotham/GothamPro-BoldItalic.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-BoldItalic.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-BoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Italic.eot
Binary file not shown.
2,919 changes: 2,919 additions & 0 deletions public/fonts/gotham/GothamPro-Italic.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 added public/fonts/gotham/GothamPro-Italic.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Italic.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Italic.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Light.eot
Binary file not shown.
2,946 changes: 2,946 additions & 0 deletions public/fonts/gotham/GothamPro-Light.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 added public/fonts/gotham/GothamPro-Light.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Light.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Light.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-LightItalic.eot
Binary file not shown.
2,847 changes: 2,847 additions & 0 deletions public/fonts/gotham/GothamPro-LightItalic.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 added public/fonts/gotham/GothamPro-LightItalic.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-LightItalic.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-LightItalic.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Medium.eot
Binary file not shown.
2,989 changes: 2,989 additions & 0 deletions public/fonts/gotham/GothamPro-Medium.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 added public/fonts/gotham/GothamPro-Medium.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Medium.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-Medium.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-MediumItalic.eot
Binary file not shown.
2,892 changes: 2,892 additions & 0 deletions public/fonts/gotham/GothamPro-MediumItalic.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 added public/fonts/gotham/GothamPro-MediumItalic.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-MediumItalic.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro-MediumItalic.woff2
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro.eot
Binary file not shown.
2,980 changes: 2,980 additions & 0 deletions public/fonts/gotham/GothamPro.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 added public/fonts/gotham/GothamPro.ttf
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro.woff
Binary file not shown.
Binary file added public/fonts/gotham/GothamPro.woff2
Binary file not shown.
Binary file added public/fonts/gotham/Gotham_Cyrillic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions public/fonts/gotham/gotham.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
@font-face {
font-family: GothamPro;
src: url(GothamPro-Light.eot);
src: url(GothamPro-Light.woff2) format("woff2"),url(GothamPro-Light.woff) format("woff"),url(GothamPro-Light.ttf) format("truetype"),url(GothamPro-Light.svg#GothamPro-Light) format("svg"),url(GothamPro-Light.eot?#iefix) format("embedded-opentype");
font-weight: 100;
font-style: normal
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-LightItalic.eot);
src: url(GothamPro-LightItalic.woff2) format("woff2"),url(GothamPro-LightItalic.woff) format("woff"),url(GothamPro-LightItalic.ttf) format("truetype"),url(GothamPro-LightItalic.svg#GothamPro-LightItalic) format("svg"),url(GothamPro-LightItalic.eot?#iefix) format("embedded-opentype");
font-weight: 100;
font-style: italic
}

@font-face {
font-family: GothamPro;
src: url(GothamPro.eot);
src: url(GothamPro.woff2) format("woff2"),url(GothamPro.woff) format("woff"),url(GothamPro.ttf) format("truetype"),url(GothamPro.svg#GothamPro) format("svg"),url(GothamPro.eot?#iefix) format("embedded-opentype");
font-weight: 200;
font-style: normal
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-Italic.eot);
src: url(GothamPro-Italic.woff2) format("woff2"),url(GothamPro-Italic.woff) format("woff"),url(GothamPro-Italic.ttf) format("truetype"),url(GothamPro-Italic.svg#GothamPro-Italic) format("svg"),url(GothamPro-Italic.eot?#iefix) format("embedded-opentype");
font-weight: 200;
font-style: italic
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-Medium.eot);
src: url(GothamPro-Medium.woff2) format("woff2"),url(GothamPro-Medium.woff) format("woff"),url(GothamPro-Medium.ttf) format("truetype"),url(GothamPro-Medium.svg#GothamPro-Medium) format("svg"),url(GothamPro-Medium.eot?#iefix) format("embedded-opentype");
font-weight: 400;
font-style: normal
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-MediumItalic.eot);
src: url(GothamPro-MediumItalic.woff2) format("woff2"),url(GothamPro-MediumItalic.woff) format("woff"),url(GothamPro-MediumItalic.ttf) format("truetype"),url(GothamPro-MediumItalic.svg#GothamPro-MediumItalic) format("svg"),url(GothamPro-MediumItalic.eot?#iefix) format("embedded-opentype");
font-weight: 400;
font-style: italic
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-Bold.eot);
src: url(GothamPro-Bold.woff2) format("woff2"),url(GothamPro-Bold.woff) format("woff"),url(GothamPro-Bold.ttf) format("truetype"),url(GothamPro-Bold.svg#GothamPro-Bold) format("svg"),url(GothamPro-Bold.eot?#iefix) format("embedded-opentype");
font-weight: 600;
font-style: normal
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-BoldItalic.eot);
src: url(GothamPro-BoldItalic.woff2) format("woff2"),url(GothamPro-BoldItalic.woff) format("woff"),url(GothamPro-BoldItalic.ttf) format("truetype"),url(GothamPro-BoldItalic.svg#GothamPro-BoldItalic) format("svg"),url(GothamPro-BoldItalic.eot?#iefix) format("embedded-opentype");
font-weight: 600;
font-style: italic
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-Black.eot);
src: url(GothamPro-Black.woff2) format("woff2"),url(GothamPro-Black.woff) format("woff"),url(GothamPro-Black.ttf) format("truetype"),url(GothamPro-Black.svg#GothamPro-Black) format("svg"),url(GothamPro-Black.eot?#iefix) format("embedded-opentype");
font-weight: 800;
font-style: normal
}

@font-face {
font-family: GothamPro;
src: url(GothamPro-BlackItalic.eot);
src: url(GothamPro-BlackItalic.woff2) format("woff2"),url(GothamPro-BlackItalic.woff) format("woff"),url(GothamPro-BlackItalic.ttf) format("truetype"),url(GothamPro-BlackItalic.svg#GothamPro-BlackItalic) format("svg"),url(GothamPro-BlackItalic.eot?#iefix) format("embedded-opentype");
font-weight: 800;
font-style: italic
}
12 changes: 12 additions & 0 deletions public/fonts/gotham/gotham.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## [Gotham by Hoefler & Co](https://www.typography.com/fonts/gotham/overview/)
![](https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/8e8f0c08356d984ef212e02beab979ceb849f097/Gotham_Cyrillic.jpg)
![](https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/59c47cc97997c2f06f67175e1b5718ee54cc0aa5/gotham_cell_21-67a7d961a2769036dc177455b7e2abbd.png)
![](https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/59c47cc97997c2f06f67175e1b5718ee54cc0aa5/gotham_cell_18-c093daa9500abeca4395a8816f1847e3.png)

```
https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/3779d1a1979cf788b435f26139e34010c9ad3079/gotham.css

<link rel="https://rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/3779d1a1979cf788b435f26139e34010c9ad3079/gotham.css">

```

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
137 changes: 132 additions & 5 deletions src/assets/css/globals.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,138 @@
/* styles/globals.css */
@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-Light.eot');
src: url('/fonts/GothamPro-Light.woff2') format("woff2"),
url('/fonts/GothamPro-Light.woff') format("woff"),
url('/fonts/GothamPro-Light.ttf') format("truetype"),
url('/fonts/GothamPro-Light.svg#GothamPro-Light') format("svg"),
url('/fonts/GothamPro-Light.eot?#iefix') format("embedded-opentype");
font-weight: 100;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-LightItalic.eot');
src: url('/fonts/GothamPro-LightItalic.woff2') format("woff2"),
url('/fonts/GothamPro-LightItalic.woff') format("woff"),
url('/fonts/GothamPro-LightItalic.ttf') format("truetype"),
url('/fonts/GothamPro-LightItalic.svg#GothamPro-LightItalic') format("svg"),
url('/fonts/GothamPro-LightItalic.eot?#iefix') format("embedded-opentype");
font-weight: 100;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro.eot');
src: url('/fonts/GothamPro.woff2') format("woff2"),
url('/fonts/GothamPro.woff') format("woff"),
url('/fonts/GothamPro.ttf') format("truetype"),
url('/fonts/GothamPro.svg#GothamPro') format("svg"),
url('/fonts/GothamPro.eot?#iefix') format("embedded-opentype");
font-weight: 200;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-Italic.eot');
src: url('/fonts/GothamPro-Italic.woff2') format("woff2"),
url('/fonts/GothamPro-Italic.woff') format("woff"),
url('/fonts/GothamPro-Italic.ttf') format("truetype"),
url('/fonts/GothamPro-Italic.svg#GothamPro-Italic') format("svg"),
url('/fonts/GothamPro-Italic.eot?#iefix') format("embedded-opentype");
font-weight: 200;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-Medium.eot');
src: url('/fonts/GothamPro-Medium.woff2') format("woff2"),
url('/fonts/GothamPro-Medium.woff') format("woff"),
url('/fonts/GothamPro-Medium.ttf') format("truetype"),
url('/fonts/GothamPro-Medium.svg#GothamPro-Medium') format("svg"),
url('/fonts/GothamPro-Medium.eot?#iefix') format("embedded-opentype");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-MediumItalic.eot');
src: url('/fonts/GothamPro-MediumItalic.woff2') format("woff2"),
url('/fonts/GothamPro-MediumItalic.woff') format("woff"),
url('/fonts/GothamPro-MediumItalic.ttf') format("truetype"),
url('/fonts/GothamPro-MediumItalic.svg#GothamPro-MediumItalic') format("svg"),
url('/fonts/GothamPro-MediumItalic.eot?#iefix') format("embedded-opentype");
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-Bold.eot');
src: url('/fonts/GothamPro-Bold.woff2') format("woff2"),
url('/fonts/GothamPro-Bold.woff') format("woff"),
url('/fonts/GothamPro-Bold.ttf') format("truetype"),
url('/fonts/GothamPro-Bold.svg#GothamPro-Bold') format("svg"),
url('/fonts/GothamPro-Bold.eot?#iefix') format("embedded-opentype");
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-BoldItalic.eot');
src: url('/fonts/GothamPro-BoldItalic.woff2') format("woff2"),
url('/fonts/GothamPro-BoldItalic.woff') format("woff"),
url('/fonts/GothamPro-BoldItalic.ttf') format("truetype"),
url('/fonts/GothamPro-BoldItalic.svg#GothamPro-BoldItalic') format("svg"),
url('/fonts/GothamPro-BoldItalic.eot?#iefix') format("embedded-opentype");
font-weight: 600;
font-style: italic;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-Black.eot');
src: url('/fonts/GothamPro-Black.woff2') format("woff2"),
url('/fonts/GothamPro-Black.woff') format("woff"),
url('/fonts/GothamPro-Black.ttf') format("truetype"),
url('/fonts/GothamPro-Black.svg#GothamPro-Black') format("svg"),
url('/fonts/GothamPro-Black.eot?#iefix') format("embedded-opentype");
font-weight: 800;
font-style: normal;
}

@font-face {
font-family: GothamPro;
src: url('/fonts/GothamPro-BlackItalic.eot');
src: url('/fonts/GothamPro-BlackItalic.woff2') format("woff2"),
url('/fonts/GothamPro-BlackItalic.woff') format("woff"),
url('/fonts/GothamPro-BlackItalic.ttf') format("truetype"),
url('/fonts/GothamPro-BlackItalic.svg#GothamPro-BlackItalic') format("svg"),
url('/fonts/GothamPro-BlackItalic.eot?#iefix') format("embedded-opentype");
font-weight: 800;
font-style: italic;
}

/* Keyframes and animations */

@keyframes fall {
to {
transform: translateY(calc(100vh + 100%));
}
to {
transform: translateY(calc(100vh + 100%));
}
}

.emoji-fall {
animation: fall 5s linear forwards;
animation: fall 5s linear forwards;
}

/* Global body styling */

body {
font-family: 'GothamPro', sans-serif;
font-weight: 400; /* Default weight */
}
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ const MyApp = ({ Component, pageProps }: CustomAppProps) => {
);
};

export default MyApp;
export default MyApp;
8 changes: 4 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ module.exports = {
},
}),
fontFamily: {
body: ["Gilroy", "sans-serif"],
heading: ["Gilroy", "sans-serif"],
playfair: ["Playfair Display", "serif"],
rossela: ["Conv_Rossela-Demo-2", "serif"],
body: ["GothamPro", "sans-serif"],
heading: ["GothamPro", "sans-serif"],
playfair: ["GothamPro", "sans-serif"],
rossela: ["GothamPro", "ssans-serif"],
},
fontSize: {
sm: "0.75rem",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"@layout/*": ["layouts/*"],
"@ui/*": ["components/ui/*"],
"@utils/*": ["utils/*"],
"@widgets/*": ["components/widgets/*"]
"@widgets/*": ["components/widgets/*"],
"@fonts/*": ["public/fonts/*"]
}
},
"include": ["next-env.d.ts", "next.config.js", "src/**/*.ts", "src/**/*.tsx", "tailwind.config.js", "postcss.config.js", "next-sitemap.config.js"],
Expand Down
Loading