summary refs log tree commit diff
path: root/GitRepoViewer/Shared/MainLayout.razor
diff options
context:
space:
mode:
Diffstat (limited to 'GitRepoViewer/Shared/MainLayout.razor')
-rw-r--r--GitRepoViewer/Shared/MainLayout.razor17
1 files changed, 17 insertions, 0 deletions
diff --git a/GitRepoViewer/Shared/MainLayout.razor b/GitRepoViewer/Shared/MainLayout.razor
new file mode 100644
index 0000000..f6943e5
--- /dev/null
+++ b/GitRepoViewer/Shared/MainLayout.razor
@@ -0,0 +1,17 @@
+@inherits LayoutComponentBase
+
+<div class="page">
+    <div class="sidebar">
+        <NavMenu/>
+    </div>
+
+    <main>
+        <div class="top-row px-4">
+            <a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
+        </div>
+
+        <article class="content px-4">
+            @Body
+        </article>
+    </main>
+</div>
\ No newline at end of file