aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/src/routes/book/+layout.svelte
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-09-25 12:01:37 +0200
committerivarlovlie <git@ivarlovlie.no>2022-09-25 12:01:37 +0200
commit2a9e668dceda855f8302e2ca9f81ebd6f0e7b5c1 (patch)
tree13f7a597c2e31210e722388de8aabf0d43ba5326 /apps/kit/src/routes/book/+layout.svelte
parent9f65b9e65ead6cc6b8ce5cfcf650b49fe134cd91 (diff)
downloadgreatoffice-2a9e668dceda855f8302e2ca9f81ebd6f0e7b5c1.tar.xz
greatoffice-2a9e668dceda855f8302e2ca9f81ebd6f0e7b5c1.zip
feat: Safelist all classes needed for alerts
Diffstat (limited to 'apps/kit/src/routes/book/+layout.svelte')
-rw-r--r--apps/kit/src/routes/book/+layout.svelte26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/kit/src/routes/book/+layout.svelte b/apps/kit/src/routes/book/+layout.svelte
new file mode 100644
index 0000000..0fcbd51
--- /dev/null
+++ b/apps/kit/src/routes/book/+layout.svelte
@@ -0,0 +1,26 @@
+<script>
+</script>
+
+<div id="wrapper">
+ <nav>
+ <a href="/book/alerts" class="link">Alerts</a>
+ </nav>
+ <main>
+ <slot />
+ </main>
+</div>
+
+<style>
+ #wrapper {
+ display: flex;
+ flex-direction: row;
+ }
+ nav {
+ min-width: 280px;
+ padding: 10px;
+ }
+ main {
+ width: 100%;
+ padding: 5px;
+ }
+</style>