Skip to content

Commit 95cb4c1

Browse files
committed
new font google sans flex introduced
1 parent b7fbaf9 commit 95cb4c1

File tree

50 files changed

+90
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+90
-10
lines changed

src/app/layout.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1+
import { Providers } from '@/utils/providers';
12
import type { Metadata } from 'next';
3+
import website_image from '../../public/images/website_image.png';
24
import '../styles/globals.css';
35
// import {Nunito, Inter, Lato, Quicksand} from "next/font/google";
4-
import { Providers } from '@/utils/providers';
5-
import { Quicksand } from 'next/font/google';
6-
import website_image from '../../public/images/website_image.png';
76

8-
const font = Quicksand({
9-
weight: '400',
10-
subsets: ['latin'],
11-
});
7+
// const font = Quicksand({
8+
// weight: '400',
9+
// subsets: ['latin'],
10+
// });
1211

1312
export const metadata: Metadata = {
1413
metadataBase: new URL('https://leogytis.github.io/'),
@@ -33,7 +32,7 @@ export default function RootLayout({
3332
}) {
3433
return (
3534
<html lang="en" suppressHydrationWarning>
36-
<body className={font.className}>
35+
<body>
3736
<Providers>{children}</Providers>
3837
</body>
3938
</html>

src/components/ToolTags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const ToolTags = ({ tags }: { tags: string[] }) => {
44
{tags.map((tag, index) => (
55
<div
66
key={index}
7-
className="flex items-center px-3 py-px text-[0.75rem] font-normal border rounded-lg cursor-default bg-background text-secondary border-secondary hover:shadow-border hover:text-primary"
7+
className="flex items-center px-3 py-px text-[0.75rem] font-light border rounded-lg cursor-default bg-background text-secondary border-secondary hover:shadow-border hover:text-primary"
88
>
99
{tag}
1010
</div>
3.81 MB
Binary file not shown.

src/styles/fonts/fonts.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
@font-face {
2+
font-family: 'Google Sans Flex';
3+
src: url('./googlesansflex/GoogleSansFlex_9pt-Thin.ttf') format('truetype');
4+
font-weight: 100;
5+
font-display: swap;
6+
}
7+
8+
@font-face {
9+
font-family: 'Google Sans Flex';
10+
src: url('./googlesansflex/GoogleSansFlex_9pt-ExtraLight.ttf')
11+
format('truetype');
12+
font-weight: 200;
13+
font-display: swap;
14+
}
15+
16+
@font-face {
17+
font-family: 'Google Sans Flex';
18+
src: url('./googlesansflex/GoogleSansFlex_9pt-Light.ttf') format('truetype');
19+
font-weight: 300;
20+
font-display: swap;
21+
}
22+
23+
@font-face {
24+
font-family: 'Google Sans Flex';
25+
src: url('./googlesansflex/GoogleSansFlex_9pt-Regular.ttf') format('truetype');
26+
font-weight: 400;
27+
font-display: swap;
28+
}
29+
30+
@font-face {
31+
font-family: 'Google Sans Flex';
32+
src: url('./googlesansflex/GoogleSansFlex_9pt-Medium.ttf') format('truetype');
33+
font-weight: 500;
34+
font-display: swap;
35+
}
36+
37+
@font-face {
38+
font-family: 'Google Sans Flex';
39+
src: url('./googlesansflex/GoogleSansFlex_9pt-SemiBold.ttf')
40+
format('truetype');
41+
font-weight: 600;
42+
font-display: swap;
43+
}
44+
45+
@font-face {
46+
font-family: 'Google Sans Flex';
47+
src: url('./googlesansflex/GoogleSansFlex_9pt-Bold.ttf') format('truetype');
48+
font-weight: 700;
49+
font-display: swap;
50+
}
51+
52+
@font-face {
53+
font-family: 'Google Sans Flex';
54+
src: url('./googlesansflex/GoogleSansFlex_9pt-ExtraBold.ttf')
55+
format('truetype');
56+
font-weight: 800;
57+
font-display: swap;
58+
}
59+
60+
@font-face {
61+
font-family: 'Google Sans Flex';
62+
src: url('./googlesansflex/GoogleSansFlex_9pt-Black.ttf') format('truetype');
63+
font-weight: 900;
64+
font-display: swap;
65+
}
66+
67+
/* @font-face {
68+
font-family: 'Google Sans Flex';
69+
src: url('./GoogleSansFlex.ttf') format('truetype');
70+
font-weight: 100 900;
71+
font-display: swap;
72+
} */
125 KB
Binary file not shown.
125 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
125 KB
Binary file not shown.
125 KB
Binary file not shown.

0 commit comments

Comments
 (0)