summary refs log tree commit diff
path: root/SystemdCtl/Components/Layout/MainLayout.razor
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-20 08:34:32 +0100
committerRory& <root@rory.gay>2024-01-20 08:34:32 +0100
commit43e06f4b1b7ead9f8cc97fe547eb49d51f341486 (patch)
treeb700ba441320e0f3944c398080cadd296f03ef07 /SystemdCtl/Components/Layout/MainLayout.razor
downloadSystemdCtl-43e06f4b1b7ead9f8cc97fe547eb49d51f341486.tar.xz
Initial commit
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>