move view shop link to top of admin sidebar
All checks were successful
deploy / deploy (push) Successful in 1m10s

More prominent placement just below the header, removed from footer.
Footer now only has dev tools disclosure and log out.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-03-02 08:19:28 +00:00
parent 7ea5e6dcfe
commit 820714a04f
2 changed files with 19 additions and 6 deletions

View File

@@ -51,6 +51,13 @@
</p>
</div>
<%!-- view shop link --%>
<div class="admin-sidebar-view-shop">
<.link href={~p"/"} class="admin-btn admin-btn-ghost admin-btn-sm admin-btn-block">
<.icon name="hero-arrow-top-right-on-square" class="size-4" /> View shop
</.link>
</div>
<%!-- nav links --%>
<nav class="admin-sidebar-nav" aria-label="Admin navigation">
<div class="admin-nav-group">
@@ -193,11 +200,6 @@
<%!-- sidebar footer --%>
<div class="admin-sidebar-footer">
<ul class="admin-nav">
<li>
<.link href={~p"/"}>
<.icon name="hero-arrow-top-right-on-square" class="size-5" /> View shop
</.link>
</li>
<li>
<details class="admin-dev-tools">
<summary>