mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
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:
@@ -377,6 +377,9 @@ app.get("/", async (c) => {
|
|||||||
<p>Manage your email newsletter feeds</p>
|
<p>Manage your email newsletter feeds</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-actions">
|
<div class="header-actions">
|
||||||
|
<a href="/" class="button button-secondary">
|
||||||
|
Status
|
||||||
|
</a>
|
||||||
<a href="/admin/logout" class="button button-logout">
|
<a href="/admin/logout" class="button button-logout">
|
||||||
Logout
|
Logout
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -173,6 +173,7 @@
|
|||||||
.header-actions {
|
.header-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: var(--spacing-sm);
|
||||||
margin-top: var(--spacing-md);
|
margin-top: var(--spacing-md);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user