2023-07-10 10:15:17 +02:00
|
|
|
<script>
|
2023-07-22 20:44:24 +02:00
|
|
|
import Footer from '$lib/components/Footer.svelte'
|
2023-09-13 21:29:01 +02:00
|
|
|
import { onMount } from 'svelte'
|
2023-07-10 10:15:17 +02:00
|
|
|
import Navbar from './Navbar.svelte'
|
|
|
|
import './styles.css'
|
2023-08-05 20:33:07 +02:00
|
|
|
import '@fontsource-variable/work-sans'
|
|
|
|
import '@fontsource/ibm-plex-mono/500.css'
|
2023-09-13 21:29:01 +02:00
|
|
|
import { quotes } from '$lib/components/Quotes'
|
|
|
|
|
|
|
|
onMount(() => {
|
|
|
|
if (import.meta.env.PROD) {
|
|
|
|
console.log(quotes.at(Math.floor(Math.random() * quotes.length)))
|
|
|
|
}
|
|
|
|
})
|
2023-07-10 10:15:17 +02:00
|
|
|
</script>
|
|
|
|
|
2023-08-17 16:45:47 +02:00
|
|
|
<Navbar />
|
2023-07-10 10:15:17 +02:00
|
|
|
|
2023-09-13 14:27:13 +02:00
|
|
|
<main class="mx-auto flex w-full flex-col overflow-hidden">
|
2023-08-17 16:45:47 +02:00
|
|
|
<slot />
|
|
|
|
</main>
|
2023-07-10 10:15:17 +02:00
|
|
|
|
2023-08-17 16:45:47 +02:00
|
|
|
<Footer />
|