mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2025-12-18 11:45:04 +00:00
initial commit
This commit is contained in:
22
src/routes/_layout.svelte
Normal file
22
src/routes/_layout.svelte
Normal file
@@ -0,0 +1,22 @@
|
||||
<script>
|
||||
import Nav from '../components/Nav.svelte';
|
||||
|
||||
export let segment;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
main {
|
||||
position: relative;
|
||||
max-width: 56em;
|
||||
background-color: white;
|
||||
padding: 2em;
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
||||
<Nav {segment}/>
|
||||
|
||||
<main>
|
||||
<slot></slot>
|
||||
</main>
|
||||
Reference in New Issue
Block a user