summary refs log tree commit diff
path: root/SystemdCtl/Components/Layout/MainLayout.razor
diff options
context:
space:
mode:
Diffstat (limited to 'SystemdCtl/Components/Layout/MainLayout.razor')
-rw-r--r--SystemdCtl/Components/Layout/MainLayout.razor23
1 files changed, 23 insertions, 0 deletions
diff --git a/SystemdCtl/Components/Layout/MainLayout.razor b/SystemdCtl/Components/Layout/MainLayout.razor
new file mode 100644
index 0000000..62e6287
--- /dev/null
+++ b/SystemdCtl/Components/Layout/MainLayout.razor
@@ -0,0 +1,23 @@
+@inherits LayoutComponentBase

+

+<div class="page">

+    <div class="sidebar">

+        <NavMenu />

+    </div>

+

+    <main>

+        <div class="top-row px-4">

+            <a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>

+        </div>

+

+        <article class="content px-4">

+            @Body

+        </article>

+    </main>

+</div>

+

+<div id="blazor-error-ui">

+    An unhandled error has occurred.

+    <a href="" class="reload">Reload</a>

+    <a class="dismiss">🗙</a>

+</div>