aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/_app.tsx9
-rw-r--r--public/font/font.css115
-rw-r--r--public/font/inter/Inter-Bold.woffbin0 -> 143100 bytes
-rw-r--r--public/font/inter/Inter-Bold.woff2bin0 -> 106052 bytes
-rw-r--r--public/font/inter/Inter-BoldItalic.woffbin0 -> 149808 bytes
-rw-r--r--public/font/inter/Inter-BoldItalic.woff2bin0 -> 111644 bytes
-rw-r--r--public/font/inter/Inter-Italic.woffbin0 -> 143188 bytes
-rw-r--r--public/font/inter/Inter-Italic.woff2bin0 -> 106604 bytes
-rw-r--r--public/font/inter/Inter-Medium.woffbin0 -> 142340 bytes
-rw-r--r--public/font/inter/Inter-Medium.woff2bin0 -> 105500 bytes
-rw-r--r--public/font/inter/Inter-MediumItalic.woffbin0 -> 149704 bytes
-rw-r--r--public/font/inter/Inter-MediumItalic.woff2bin0 -> 111968 bytes
-rw-r--r--public/font/inter/Inter-Regular.woffbin0 -> 133856 bytes
-rw-r--r--public/font/inter/Inter-Regular.woff2bin0 -> 98804 bytes
-rw-r--r--public/font/inter/Inter-SemiBold.woffbin0 -> 142760 bytes
-rw-r--r--public/font/inter/Inter-SemiBold.woff2bin0 -> 105992 bytes
-rw-r--r--public/font/inter/Inter-SemiBoldItalic.woffbin0 -> 149776 bytes
-rw-r--r--public/font/inter/Inter-SemiBoldItalic.woff2bin0 -> 111676 bytes
-rw-r--r--public/font/jetbrainsmono/JetBrainsMono-Bold.woff2bin0 -> 59436 bytes
-rw-r--r--public/font/jetbrainsmono/JetBrainsMono-BoldItalic.woff2bin0 -> 61992 bytes
-rw-r--r--public/font/jetbrainsmono/JetBrainsMono-Italic.woff2bin0 -> 60864 bytes
-rw-r--r--public/font/jetbrainsmono/JetBrainsMono-Medium.woff2bin0 -> 59232 bytes
-rw-r--r--public/font/jetbrainsmono/JetBrainsMono-MediumItalic.woff2bin0 -> 62208 bytes
-rw-r--r--public/font/jetbrainsmono/JetBrainsMono-Regular.woff2bin0 -> 58268 bytes
-rw-r--r--styles/globals.css4
25 files changed, 127 insertions, 1 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 07acb34..f0c16f4 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,9 +1,16 @@
+import Head from 'next/head';
+
import '../styles/colors.css';
import '../styles/layout.css';
import '../styles/globals.css';
import '../styles/navbarItem.css';
export default function Blog({ Component, pageProps }) {
- return <Component {...pageProps} />
+ return <div>
+ <Head>
+ <link rel="stylesheet" href="/font/font.css"/>
+ </Head>
+ <Component {...pageProps} />
+ </div>
}
diff --git a/public/font/font.css b/public/font/font.css
new file mode 100644
index 0000000..61c9755
--- /dev/null
+++ b/public/font/font.css
@@ -0,0 +1,115 @@
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url("./inter/Inter-Regular.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-Regular.woff?v=3.15") format("woff");
+}
+@font-face {
+ font-family: 'Inter';
+ font-style: italic;
+ font-weight: 400;
+ font-display: swap;
+ src: url("./inter/Inter-Italic.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-Italic.woff?v=3.15") format("woff");
+}
+
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 500;
+ font-display: swap;
+ src: url("./inter/Inter-Medium.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-Medium.woff?v=3.15") format("woff");
+}
+@font-face {
+ font-family: 'Inter';
+ font-style: italic;
+ font-weight: 500;
+ font-display: swap;
+ src: url("./inter/Inter-MediumItalic.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-MediumItalic.woff?v=3.15") format("woff");
+}
+
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 600;
+ font-display: swap;
+ src: url("./inter/Inter-SemiBold.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-SemiBold.woff?v=3.15") format("woff");
+}
+@font-face {
+ font-family: 'Inter';
+ font-style: italic;
+ font-weight: 600;
+ font-display: swap;
+ src: url("./inter/Inter-SemiBoldItalic.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-SemiBoldItalic.woff?v=3.15") format("woff");
+}
+
+@font-face {
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url("./inter/Inter-Bold.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-Bold.woff?v=3.15") format("woff");
+}
+@font-face {
+ font-family: 'Inter';
+ font-style: italic;
+ font-weight: 700;
+ font-display: swap;
+ src: url("./inter/Inter-BoldItalic.woff2?v=3.15") format("woff2"),
+ url("./inter/Inter-BoldItalic.woff?v=3.15") format("woff");
+}
+
+
+
+@font-face {
+ font-family: 'JetBrainsMono';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url("./jetbrainsmono/JetBrainsMono-Regular.woff2") format("woff2");
+}
+@font-face {
+ font-family: 'JetBrainsMono';
+ font-style: italic;
+ font-weight: 400;
+ font-display: swap;
+ src: url("./jetbrainsmono/JetBrainsMono-Italic.woff2") format("woff2");
+}
+
+@font-face {
+ font-family: 'JetBrainsMono';
+ font-style: normal;
+ font-weight: 500;
+ font-display: swap;
+ src: url("./jetbrainsmono/JetBrainsMono-Medium.woff2") format("woff2");
+}
+@font-face {
+ font-family: 'JetBrainsMono';
+ font-style: italic;
+ font-weight: 500;
+ font-display: swap;
+ src: url("./jetbrainsmono/JetBrainsMono-MediumItalic.woff2") format("woff2");
+}
+
+@font-face {
+ font-family: 'JetBrainsMono';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: url("./jetbrainsmono/JetBrainsMono-Bold.woff2") format("woff2");
+}
+@font-face {
+ font-family: 'JetBrainsMono';
+ font-style: italic;
+ font-weight: 700;
+ font-display: swap;
+ src: url("./jetbrainsmono/JetBrainsMono-BoldItalic.woff2") format("woff2");
+}
+
diff --git a/public/font/inter/Inter-Bold.woff b/public/font/inter/Inter-Bold.woff
new file mode 100644
index 0000000..80f70f0
--- /dev/null
+++ b/public/font/inter/Inter-Bold.woff
Binary files differ
diff --git a/public/font/inter/Inter-Bold.woff2 b/public/font/inter/Inter-Bold.woff2
new file mode 100644
index 0000000..622e5f1
--- /dev/null
+++ b/public/font/inter/Inter-Bold.woff2
Binary files differ
diff --git a/public/font/inter/Inter-BoldItalic.woff b/public/font/inter/Inter-BoldItalic.woff
new file mode 100644
index 0000000..03238dd
--- /dev/null
+++ b/public/font/inter/Inter-BoldItalic.woff
Binary files differ
diff --git a/public/font/inter/Inter-BoldItalic.woff2 b/public/font/inter/Inter-BoldItalic.woff2
new file mode 100644
index 0000000..1b2dafb
--- /dev/null
+++ b/public/font/inter/Inter-BoldItalic.woff2
Binary files differ
diff --git a/public/font/inter/Inter-Italic.woff b/public/font/inter/Inter-Italic.woff
new file mode 100644
index 0000000..9c21aed
--- /dev/null
+++ b/public/font/inter/Inter-Italic.woff
Binary files differ
diff --git a/public/font/inter/Inter-Italic.woff2 b/public/font/inter/Inter-Italic.woff2
new file mode 100644
index 0000000..734944b
--- /dev/null
+++ b/public/font/inter/Inter-Italic.woff2
Binary files differ
diff --git a/public/font/inter/Inter-Medium.woff b/public/font/inter/Inter-Medium.woff
new file mode 100644
index 0000000..1d50f80
--- /dev/null
+++ b/public/font/inter/Inter-Medium.woff
Binary files differ
diff --git a/public/font/inter/Inter-Medium.woff2 b/public/font/inter/Inter-Medium.woff2
new file mode 100644
index 0000000..ffb4206
--- /dev/null
+++ b/public/font/inter/Inter-Medium.woff2
Binary files differ
diff --git a/public/font/inter/Inter-MediumItalic.woff b/public/font/inter/Inter-MediumItalic.woff
new file mode 100644
index 0000000..9eb5b9d
--- /dev/null
+++ b/public/font/inter/Inter-MediumItalic.woff
Binary files differ
diff --git a/public/font/inter/Inter-MediumItalic.woff2 b/public/font/inter/Inter-MediumItalic.woff2
new file mode 100644
index 0000000..ebee655
--- /dev/null
+++ b/public/font/inter/Inter-MediumItalic.woff2
Binary files differ
diff --git a/public/font/inter/Inter-Regular.woff b/public/font/inter/Inter-Regular.woff
new file mode 100644
index 0000000..7cb4990
--- /dev/null
+++ b/public/font/inter/Inter-Regular.woff
Binary files differ
diff --git a/public/font/inter/Inter-Regular.woff2 b/public/font/inter/Inter-Regular.woff2
new file mode 100644
index 0000000..66691b8
--- /dev/null
+++ b/public/font/inter/Inter-Regular.woff2
Binary files differ
diff --git a/public/font/inter/Inter-SemiBold.woff b/public/font/inter/Inter-SemiBold.woff
new file mode 100644
index 0000000..490bd9d
--- /dev/null
+++ b/public/font/inter/Inter-SemiBold.woff
Binary files differ
diff --git a/public/font/inter/Inter-SemiBold.woff2 b/public/font/inter/Inter-SemiBold.woff2
new file mode 100644
index 0000000..9fd7726
--- /dev/null
+++ b/public/font/inter/Inter-SemiBold.woff2
Binary files differ
diff --git a/public/font/inter/Inter-SemiBoldItalic.woff b/public/font/inter/Inter-SemiBoldItalic.woff
new file mode 100644
index 0000000..839fc3d
--- /dev/null
+++ b/public/font/inter/Inter-SemiBoldItalic.woff
Binary files differ
diff --git a/public/font/inter/Inter-SemiBoldItalic.woff2 b/public/font/inter/Inter-SemiBoldItalic.woff2
new file mode 100644
index 0000000..2492569
--- /dev/null
+++ b/public/font/inter/Inter-SemiBoldItalic.woff2
Binary files differ
diff --git a/public/font/jetbrainsmono/JetBrainsMono-Bold.woff2 b/public/font/jetbrainsmono/JetBrainsMono-Bold.woff2
new file mode 100644
index 0000000..07fe5d7
--- /dev/null
+++ b/public/font/jetbrainsmono/JetBrainsMono-Bold.woff2
Binary files differ
diff --git a/public/font/jetbrainsmono/JetBrainsMono-BoldItalic.woff2 b/public/font/jetbrainsmono/JetBrainsMono-BoldItalic.woff2
new file mode 100644
index 0000000..57263ef
--- /dev/null
+++ b/public/font/jetbrainsmono/JetBrainsMono-BoldItalic.woff2
Binary files differ
diff --git a/public/font/jetbrainsmono/JetBrainsMono-Italic.woff2 b/public/font/jetbrainsmono/JetBrainsMono-Italic.woff2
new file mode 100644
index 0000000..cf9e8ef
--- /dev/null
+++ b/public/font/jetbrainsmono/JetBrainsMono-Italic.woff2
Binary files differ
diff --git a/public/font/jetbrainsmono/JetBrainsMono-Medium.woff2 b/public/font/jetbrainsmono/JetBrainsMono-Medium.woff2
new file mode 100644
index 0000000..b4d9438
--- /dev/null
+++ b/public/font/jetbrainsmono/JetBrainsMono-Medium.woff2
Binary files differ
diff --git a/public/font/jetbrainsmono/JetBrainsMono-MediumItalic.woff2 b/public/font/jetbrainsmono/JetBrainsMono-MediumItalic.woff2
new file mode 100644
index 0000000..3ac249b
--- /dev/null
+++ b/public/font/jetbrainsmono/JetBrainsMono-MediumItalic.woff2
Binary files differ
diff --git a/public/font/jetbrainsmono/JetBrainsMono-Regular.woff2 b/public/font/jetbrainsmono/JetBrainsMono-Regular.woff2
new file mode 100644
index 0000000..cc9a1ae
--- /dev/null
+++ b/public/font/jetbrainsmono/JetBrainsMono-Regular.woff2
Binary files differ
diff --git a/styles/globals.css b/styles/globals.css
index 6c5bf7f..8b2f36d 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -4,8 +4,12 @@ html, body {
background-color: var(--bg);
color: var(--fg);
+
+ font-family: "Inter", sans-serif;
}
+code { font-family: "JetBrainsMono", monospace; }
+
::selection {
background-color: var(--fire-opal);
}