perf: preload crosses font on glaube pages
All checks were successful
CI / update (push) Successful in 1m29s
All checks were successful
CI / update (push) Successful in 1m29s
Add preload hint to fetch the crosses.woff2 font early, improving First Contentful Paint on /glaube routes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,9 @@ function isActive(path) {
|
|||||||
return currentPath.startsWith(path);
|
return currentPath.startsWith(path);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<link rel="preload" href="/fonts/crosses.woff2" as="font" type="font/woff2" crossorigin>
|
||||||
|
</svelte:head>
|
||||||
<Header>
|
<Header>
|
||||||
{#snippet links()}
|
{#snippet links()}
|
||||||
<ul class=site_header>
|
<ul class=site_header>
|
||||||
|
|||||||
Reference in New Issue
Block a user