forked from tanner/qotnews
add svelte app.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<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 {segment} />
|
||||
</main>
|
||||
Reference in New Issue
Block a user