Skip to content

Commit 4f620c3

Browse files
committed
ui: move theme toggle to the rightmost position
- Move ThemeToggle after auth links (Sign in / Dashboard) - Now appears at the far right of header - More conventional placement for theme switchers - Better visual grouping: content links → GitHub → auth → theme
1 parent 70bff05 commit 4f620c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/SiteHeader.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<div class="header-right">
2121
{#if children}{@render children()}{/if}
2222
<GitHubStarBadge />
23-
<ThemeToggle />
2423
{#if $auth.loading}
2524

2625
{:else if $auth.user}
@@ -30,6 +29,7 @@
3029
{:else}
3130
<a href="/login" class="header-login-link">Sign in</a>
3231
{/if}
32+
<ThemeToggle />
3333
</div>
3434
</div>
3535
</header>

0 commit comments

Comments
 (0)