From 18bf39fc02bc2fba2d7919a16a5b00f3c3a0f563 Mon Sep 17 00:00:00 2001 From: Fabian Hiller Date: Wed, 1 Jan 2025 22:26:03 -0500 Subject: [PATCH] Preload fonts in Head to prevent layout shifts --- website/src/components/Head.tsx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/website/src/components/Head.tsx b/website/src/components/Head.tsx index 42b951ff9..9dd776c66 100644 --- a/website/src/components/Head.tsx +++ b/website/src/components/Head.tsx @@ -74,6 +74,29 @@ export const Head = component$(() => { + {/* Preload fonts */} + + + + {/* Open Graph metadata */}