This commit is contained in:
saiminh 2026-01-24 11:51:07 +13:00
parent 68a3a51337
commit b019401fb8
2 changed files with 7 additions and 6 deletions

View file

@ -41,6 +41,7 @@
font-family: 'Stratos';
src: url('/fonts/Stratos-BoldItalic.woff2') format('woff2');
font-weight: bold;
font-style: italic;
font-display: swap;
}

View file

@ -12,11 +12,11 @@
pathname: string;
}
onMount(() => {
// console.log('layout mounted');
// Set initial random background color on first load
setRandomBgColor();
});
// onMount(() => {
// // console.log('layout mounted');
// // Set initial random background color on first load
// setRandomBgColor();
// });
let { children }: { children: Snippet } = $props();
@ -69,7 +69,7 @@
showLoader = false;
// Change background color on route change
setRandomBgColor();
// setRandomBgColor();
// only show if navigation takes >150ms
timer = setTimeout(() => {