mirror of
https://github.com/kevinnlsamuel/rainbowcroissant.git
synced 2025-12-06 10:06:01 +05:30
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
This commit is contained in:
23
svelte.src/routes/+layout.svelte
Normal file
23
svelte.src/routes/+layout.svelte
Normal file
@@ -0,0 +1,23 @@
|
||||
<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>© Kevin Samuel, McKenzie Joseph, 2023</p>
|
||||
</footer>
|
||||
Reference in New Issue
Block a user