Optimize local fonts and remove hero motion

This commit is contained in:
MOH
2026-03-10 18:38:59 +01:00
parent 743f6746e0
commit 814447ae5d
5 changed files with 31 additions and 229 deletions
+6 -15
View File
@@ -13,11 +13,6 @@ import "./globals.css";
const museo = localFont({
src: [
{
path: "./fonts/MuseoSansRounded100.woff2",
weight: "100",
style: "normal",
},
{
path: "./fonts/MuseoSansRounded300.woff2",
weight: "300",
@@ -38,14 +33,12 @@ const museo = localFont({
weight: "900",
style: "normal",
},
{
path: "./fonts/MuseoSansRounded1000.woff2",
weight: "1000",
style: "normal",
},
],
variable: "--font-museo",
display: "swap",
preload: false,
fallback: ["Arial", "Helvetica", "sans-serif"],
adjustFontFallback: "Arial",
});
const dubai = localFont({
@@ -60,11 +53,6 @@ const dubai = localFont({
weight: "400",
style: "normal",
},
{
path: "./fonts/Dubai-Medium.woff2",
weight: "500",
style: "normal",
},
{
path: "./fonts/Dubai-Bold.woff2",
weight: "700",
@@ -73,6 +61,9 @@ const dubai = localFont({
],
variable: "--font-dubai",
display: "swap",
preload: false,
fallback: ["Tahoma", "Arial", "sans-serif"],
adjustFontFallback: "Arial",
});
export const dynamic = "force-dynamic";