realign with 0.15

This commit is contained in:
Rich Harris
2018-07-22 20:49:57 -04:00
parent 0dc9fabf37
commit c270ef8c4a
8 changed files with 100 additions and 101 deletions

24
routes/_layout.html Normal file
View File

@@ -0,0 +1,24 @@
<Nav segment={child.segment}/>
<main>
<svelte:component this={child.component} {...child.props}/>
</main>
<style>
main {
position: relative;
max-width: 56em;
background-color: white;
padding: 2em;
margin: 0 auto;
box-sizing: border-box;
}
</style>
<script>
export default {
components: {
Nav: '../components/Nav.html'
}
};
</script>