optim/loading #8

Merged
GauthierWebDev merged 2 commits from optim/loading into main 2025-04-18 10:56:27 +00:00
2 changed files with 15 additions and 2 deletions
Showing only changes of commit f6e41fab64 - Show all commits

View File

@ -80,7 +80,7 @@ export default function DefaultLayout({ children }: { children: React.ReactNode
return ( return (
<ThemeProvider> <ThemeProvider>
<div className="flex w-full flex-col"> <div className="flex w-full flex-col font-sans">
<Header /> <Header />
{isHomePage && <Hero />} {isHomePage && <Hero />}

View File

@ -13,7 +13,20 @@ export default defineConfig({
}), }),
Unfonts({ Unfonts({
fontsource: { fontsource: {
families: ["Inter Variable", "Lexend Variable"], families: [
{
name: "Lexend Variable",
weights: [400],
styles: ["normal"],
subset: "latin",
},
{
name: "Inter Variable",
weights: [400, 500, 600, 700],
styles: ["normal"],
subset: "latin",
},
],
}, },
}), }),
vike({}), vike({}),