first commit, adding template sapper

This commit is contained in:
wompmacho
2020-11-05 19:50:43 -05:00
parent 3fbf9655cc
commit 0ba096f62d
27 changed files with 3399 additions and 0 deletions

22
src/routes/_layout.svelte Normal file
View 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>