perf: improve mobile loading path
This commit is contained in:
@@ -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)} />
|
||||
|
||||
Reference in New Issue
Block a user