first commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// Dashboard layout: fixed sidebar nav + main content area.
|
||||
component DashboardLayout {
|
||||
view {
|
||||
<div class="dash">
|
||||
<aside class="dash-side">
|
||||
<strong class="site-brand">WrNexus</strong>
|
||||
<nav class="dash-nav">
|
||||
<a href="/dashboard">Overview</a>
|
||||
<a href="/ui">Components</a>
|
||||
<a href="/">Home</a>
|
||||
</nav>
|
||||
<div data-component="theme-toggle" label="Toggle theme"></div>
|
||||
</aside>
|
||||
|
||||
<main class="dash-main">
|
||||
<!-- Named slot: pages fill this with data-slot="actions". -->
|
||||
<div class="dash-topbar"><slot name="actions"></slot></div>
|
||||
<slot></slot>
|
||||
</main>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user