mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🛠️ Add font preloading, improve sveltekit assets URL
This commit is contained in:
+17
-1
@@ -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%
|
||||
|
||||
Reference in New Issue
Block a user