lighthouse fixes

This commit is contained in:
2026-02-10 22:37:29 -05:00
parent 26a8c97841
commit 07d8787972
785 changed files with 166486 additions and 77 deletions

View File

@@ -1,5 +1,6 @@
---
import { getPublicConfig } from "../lib/config";
import "../styles/global.css";
type Props = {
title: string;
@@ -42,16 +43,9 @@ const assetSuffix = cfg.assetVersion ? `?v=${encodeURIComponent(cfg.assetVersion
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<link rel="icon" href="/favicon.png" />
<!-- Display-friendly font (swap to avoid blocking render). -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;800&display=swap"
rel="stylesheet"
/>
<link rel="preload" href="/fonts/manrope-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin />
<link rel="preload" href="/fonts/manrope-latin-600-normal.woff2" as="font" type="font/woff2" crossorigin />
<link rel="stylesheet" href={`/styles/global.css${assetSuffix}`} />
<script is:inline>
(() => {
const THEME_KEY = "site.theme";