mirror of
https://github.com/apricote/ein-pfeil-am-rechten-fleck.de.git
synced 2026-01-13 21:11:01 +00:00
feat: optimize page load by preloading font
This commit is contained in:
parent
dfee5aa40f
commit
1ec8ac88aa
2 changed files with 14 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
<svelte:head>
|
||||
<title>Ein Pfeil am rechten Fleck</title>
|
||||
<meta name="description" content="TODO" />
|
||||
<link as="font" rel="prefetch" href="/vinque.ttf" />
|
||||
</svelte:head>
|
||||
|
||||
<header class="flex justify-center">
|
||||
|
|
|
|||
13
vercel.json
Normal file
13
vercel.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "/",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Link",
|
||||
"value": "</vinque.ttf>; rel=\"preload\""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue