diff --git a/public/jgs7.ttf b/public/jgs7.ttf
deleted file mode 100644
index 8923a37..0000000
Binary files a/public/jgs7.ttf and /dev/null differ
diff --git a/src/components/landing-page.tsx b/src/components/landing-page.tsx
index 7960de6..6f75c7c 100644
--- a/src/components/landing-page.tsx
+++ b/src/components/landing-page.tsx
@@ -5,6 +5,7 @@ import dynamic from 'next/dynamic';
import { Nav } from "@/components/nav";
+import { jgs7 } from '@/fonts';
import { Translations } from "@/i18n/translations";
import { cn } from "@/lib/utils";
import { ReactElement, useEffect, useRef } from "react";
@@ -157,7 +158,7 @@ export default function LandingPage(
-
+
{t.hero.title}
{t.hero.subtitle}
{t.when.date}
@@ -170,7 +171,7 @@ export default function LandingPage(
{t.where.location}} after={} />
- {t.when.date}
+ {t.when.date}
{t.when.extra}
>}
/>
{t.tickets.status}} />
diff --git a/src/fonts.ts b/src/fonts.ts
index 610b1ee..c700a67 100644
--- a/src/fonts.ts
+++ b/src/fonts.ts
@@ -1,2 +1,10 @@
import localFont from "next/font/local";
-export const oxanium = localFont({ src: "./Oxanium.ttf" });
+export const oxanium = localFont({
+ src: "./fonts/Oxanium-VariableFont_wght.ttf",
+ variable: "--font-oxanium",
+});
+
+export const jgs7 = localFont({
+ src: "./fonts/jgs7.ttf",
+ variable: "--font-jgs7",
+});
diff --git a/src/fonts/Oxanium-VariableFont_wght.ttf b/src/fonts/Oxanium-VariableFont_wght.ttf
new file mode 100644
index 0000000..63702dd
Binary files /dev/null and b/src/fonts/Oxanium-VariableFont_wght.ttf differ
diff --git a/public/fonts/jgs7.ttf b/src/fonts/jgs7.ttf
similarity index 100%
rename from public/fonts/jgs7.ttf
rename to src/fonts/jgs7.ttf
diff --git a/public/fonts/jgs7.woff b/src/fonts/jgs7.woff
similarity index 100%
rename from public/fonts/jgs7.woff
rename to src/fonts/jgs7.woff
diff --git a/public/fonts/jgs7.woff2 b/src/fonts/jgs7.woff2
similarity index 100%
rename from public/fonts/jgs7.woff2
rename to src/fonts/jgs7.woff2
diff --git a/src/globals.css b/src/globals.css
index 9015583..4bc0c11 100644
--- a/src/globals.css
+++ b/src/globals.css
@@ -65,15 +65,6 @@
}
@layer utilities {
- @font-face {
- font-family: "JGS7";
- src: url("/fonts/jgs7.woff2") format("woff2"),
- url("/fonts/jgs7.woff") format("woff"),
- url("/fonts/jgs7.ttf") format("truetype");
- font-weight: normal;
- font-style: normal;
- }
-
html {
@media (prefers-reduced-motion: no-preference) {
scroll-behavior: smooth;
@@ -159,10 +150,6 @@
transition: transform 0.25s ease-out;
}
-.jgs7 {
- font-family: "JGS7" !important;
-}
-
/* Fix for leaflet's weird z-index */
.z-max {
z-index: 10000;