Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Commit 1197dcc

Browse files
committed
fix: move Notifications nav item to Main section, remove General section
1 parent f0e1be1 commit 1197dcc

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

public/js/app.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,17 +631,16 @@ async function renderDashboard() {
631631
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="2" width="20" height="8" rx="2"/><rect x="2" y="14" width="20" height="8" rx="2"/><circle cx="6" cy="6" r="1" fill="currentColor"/><circle cx="6" cy="18" r="1" fill="currentColor"/></svg>
632632
My Servers
633633
</a>
634-
<div class="nav-section-label">Actions</div>
635-
<a class="nav-item" data-page="create" href="/create">
636-
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 5v14M5 12h14"/></svg>
637-
Create Server
638-
</a>
639-
<div class="nav-section-label">General</div>
640634
<a class="nav-item" id="nav-notifications" href="#" style="position:relative">
641635
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>
642636
Notifications
643637
<span class="notif-badge" id="notif-badge"></span>
644638
</a>
639+
<div class="nav-section-label">Actions</div>
640+
<a class="nav-item" data-page="create" href="/create">
641+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 5v14M5 12h14"/></svg>
642+
Create Server
643+
</a>
645644
<div class="nav-section-label">Links</div>
646645
<a class="nav-item" href="https://hub.zero-host.org" target="_blank">
647646
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>

0 commit comments

Comments
 (0)