From a9072370ca1eb9a5cce928b1d487db0f307edea6 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Tue, 20 Sep 2022 15:24:27 +0800
Subject: feat: Move old apps into it's own directory

---
 .../projects/src/app/pages/nav/nav-wrapper.svelte    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 old-apps/projects/src/app/pages/nav/nav-wrapper.svelte

(limited to 'old-apps/projects/src/app/pages/nav/nav-wrapper.svelte')

diff --git a/old-apps/projects/src/app/pages/nav/nav-wrapper.svelte b/old-apps/projects/src/app/pages/nav/nav-wrapper.svelte
new file mode 100644
index 0000000..8321544
--- /dev/null
+++ b/old-apps/projects/src/app/pages/nav/nav-wrapper.svelte
@@ -0,0 +1,20 @@
+<script lang="ts">
+    import {random_string} from "$shared/lib/helpers";
+
+    export let id = "nav__" + random_string(4);
+    const staticClasses = "position-relative z-index-2 bg width-100% max-width-xxxxs shadow-sm"
+</script>
+<div class="flex@md">
+    <aside id="{id}" class="sidebar sidebar--static@md {staticClasses}">
+        <div class="sidebar__panel">
+            <div class="position-relative z-index-1">
+                <nav class="sidenav-v4 padding-xs">
+                    <slot name="navigation-items"></slot>
+                </nav>
+            </div>
+        </div>
+    </aside>
+    <main class="container max-width-xl position-relative z-index-1 flex-grow min-height-100vh position-sticky@md top-0@md height-100vh@md overflow-auto@m">
+        <slot name="main-content"></slot>
+    </main>
+</div>
\ No newline at end of file
-- 
cgit v1.3

