feat(admin): add status page link to dashboard header

Add a "Status" link in the admin header pointing to the public status page
(/), mirroring the existing "Go to admin" link on that page. Add a gap to
.header-actions so the new link and Logout button are spaced apart.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Julien Herr
2026-05-23 21:43:24 +02:00
parent 3368b0d1d2
commit 7f4afa3ec8
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -377,6 +377,9 @@ app.get("/", async (c) => {
<p>Manage your email newsletter feeds</p>
</div>
<div class="header-actions">
<a href="/" class="button button-secondary">
Status
</a>
<a href="/admin/logout" class="button button-logout">
Logout
</a>
+1
View File
@@ -173,6 +173,7 @@
.header-actions {
display: flex;
align-items: center;
gap: var(--spacing-sm);
margin-top: var(--spacing-md);
}