diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index ddf1ffc..b07afed 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -17,6 +17,16 @@ export let data: any export let count: any + // Fonts to preload + const fonts = [ + 'G-Light', + 'G-Regular', + 'G-Medium', + 'G-Semibold', + 'J-Extralight', + 'J-Light', + ] + // Set global data setContext('global', { ...data, @@ -50,6 +60,12 @@ }) + + {#each fonts as font} + + {/each} + +