Files
rainbowcroissant/svelte.src/routes/+layout.svelte
Kevin Samuel 67acb928e6 11ty migrate (#6)
* purge sveltekit

* install eleventy

* move out stuff. move stuff around

* add basic stuff

* update picocss + knls patch for navlist margins

* install some stuff for 11ty

markdown attributes
configure eleventy renderFile plugin

* make base layout

* more complete base layout

* style base to full page body

* PAGES

* add npm build script
2023-10-12 23:22:11 +05:30

24 lines
521 B
Svelte

<script>
import '../app.css';
import { consts } from '../const';
</script>
<header class="grid grid-flow-col justify-between items-center px-4 py-2">
<h1>{consts.app.name}</h1>
<nav class="w-max">
<ul class="grid grid-flow-col space-x-4">
<li><a href="/form/">Form</a></li>
<li><a href="/mail/">Mail</a></li>
<li><a href="/about/">About</a></li>
</ul>
</nav>
</header>
<main class="flex-grow">
<slot />
</main>
<footer class="px-4 py-2">
<p>&copy; Kevin Samuel, McKenzie Joseph, 2023</p>
</footer>