feat: add icons to profile menu items

- Simplify brand logo markup
- Add profile, settings, and about icons
This commit is contained in:
Gabriel20xx committed 2026-08-14 07:33:11 +00:00
1 parent 5ebaafc113
commit 6c364623fd
1 file changed
+5 -3
@@ -160,9 +160,7 @@
<header class="sc-header">
<a class="sc-brand" href={brandHref} onclick={closeMenus}>
<span aria-hidden="true" class="sc-brand-mark">
<img alt="" class="sc-brand-icon" src={faviconHref} />
</span>
<img alt="" class="sc-brand-icon" src={faviconHref} />
<span>{brand}</span>
</a>
@@ -216,6 +214,7 @@
void onProfile?.();
}}
>
<CircleUserRound aria-hidden="true" size={15} strokeWidth={2} />
Profile
</button>
{/if}
@@ -230,6 +229,7 @@
void onSettings?.();
}}
>
<Settings2 aria-hidden="true" size={15} strokeWidth={2} />
Settings
</button>
{/if}
@@ -244,10 +244,12 @@
void onAbout?.();
}}
>
<Info aria-hidden="true" size={15} strokeWidth={2} />
About
</button>
{:else if aboutHref}
<a class="sc-profile-menu-item" href={aboutHref} role="menuitem" onclick={() => (profileOpen = false)}>
<Info aria-hidden="true" size={15} strokeWidth={2} />
About
</a>
{/if}