layout
This commit is contained in:
parent
68a3a51337
commit
b019401fb8
2 changed files with 7 additions and 6 deletions
|
|
@ -41,6 +41,7 @@
|
|||
font-family: 'Stratos';
|
||||
src: url('/fonts/Stratos-BoldItalic.woff2') format('woff2');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue