21 lines
511 B
Svelte
21 lines
511 B
Svelte
<script lang="ts">
|
|
import type { LayoutData } from './$types'
|
|
import Nav from '$lib/components/Nav.svelte'
|
|
import Footer from '$lib/components/Footer.svelte'
|
|
import 'modern-normalize/modern-normalize.css'
|
|
import '$lib/styles/global.css'
|
|
import { mainContentClass } from './layout.css'
|
|
|
|
export let data: LayoutData
|
|
export let latestPosts = data.latestPosts
|
|
</script>
|
|
|
|
<div class="app-content">
|
|
<Nav />
|
|
|
|
<main class={mainContentClass}>
|
|
<slot />
|
|
</main>
|
|
<Footer {latestPosts} />
|
|
</div>
|