Optimize local fonts and remove hero motion
This commit is contained in:
+6
-15
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user