perf: preload crosses font on glaube pages
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:
2026-01-26 10:35:04 +01:00
parent 8398bc9b14
commit ee2aff46a1

View File

@@ -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>