Skip to content

Commit 34a822c

Browse files
committed
only preload normal inter font
1 parent 2bb2b88 commit 34a822c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/layouts/Layout.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Navbar from "@components/Nav/Navbar.astro";
88
import ThemeProvider from "@components/Nav/ThemeProvider.astro";
99
import NativeViewTransitions from "@components/ViewTransitions/NativeViewTransitions.astro";
1010
import "../../src/styles/global.css";
11+
import type { $brand } from "astro:schema";
1112
1213
interface Props {
1314
title: string;
@@ -39,7 +40,7 @@ const { title, description = "Lukas' Homepage" } = Astro.props;
3940
<Webmentions />
4041
<Favicon />
4142
<Font cssVariable="--font-lobster" preload />
42-
<Font cssVariable="--font-inter" preload />
43+
<Font cssVariable="--font-inter" preload={[{style: "normal"}]} />
4344
<Font cssVariable="--font-jetbrains-mono" />
4445
<slot name="preload" />
4546
<slot name="head" />

0 commit comments

Comments
 (0)