move view shop link to top of admin sidebar
All checks were successful
deploy / deploy (push) Successful in 1m10s
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user