perf: improve mobile loading path

This commit is contained in:
Manuel
2026-07-20 17:16:31 +02:00
parent faed590a66
commit fe82281278
4 changed files with 35 additions and 41 deletions
+9 -1
View File
@@ -83,9 +83,17 @@ const structuredDataScripts = [
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap"
rel="stylesheet"
onload="this.onload=null;this.rel='stylesheet'"
/>
<noscript>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap"
/>
</noscript>
{
structuredDataScripts.map((schema) => (
<script is:inline type="application/ld+json" set:html={JSON.stringify(schema)} />