🛠️ Add font preloading, improve sveltekit assets URL

This commit is contained in:
pheralb
2025-09-17 10:02:24 +01:00
parent 077df6f0d5
commit aeeaacd993
+17 -1
View File
@@ -19,7 +19,7 @@
href="%sveltekit.assets%/images/svgl_ico.ico"
/>
<!-- OG -->
<!-- OG Images -->
<meta property="og:type" content="website" />
<meta property="og:title" content="SVGL" />
<meta
@@ -45,6 +45,22 @@
content="https://svgl.app/images/screenshot.png"
/>
<!-- Preload Fonts -->
<link
rel="preload"
href="%sveltekit.assets%/fonts/Geist.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="%sveltekit.assets%/fonts/GeistMono.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<!-- Title -->
<title>A beautiful library with SVG logos - SVGL</title>
%sveltekit.head%