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"> <header class="sc-header">
<a class="sc-brand" href={brandHref} onclick={closeMenus}> <a class="sc-brand" href={brandHref} onclick={closeMenus}>
<span aria-hidden="true" class="sc-brand-mark"> <img alt="" class="sc-brand-icon" src={faviconHref} />
<img alt="" class="sc-brand-icon" src={faviconHref} />
</span>
<span>{brand}</span> <span>{brand}</span>
</a> </a>
@@ -216,6 +214,7 @@
void onProfile?.(); void onProfile?.();
}} }}
> >
<CircleUserRound aria-hidden="true" size={15} strokeWidth={2} />
Profile Profile
</button> </button>
{/if} {/if}
@@ -230,6 +229,7 @@
void onSettings?.(); void onSettings?.();
}} }}
> >
<Settings2 aria-hidden="true" size={15} strokeWidth={2} />
Settings Settings
</button> </button>
{/if} {/if}
@@ -244,10 +244,12 @@
void onAbout?.(); void onAbout?.();
}} }}
> >
<Info aria-hidden="true" size={15} strokeWidth={2} />
About About
</button> </button>
{:else if aboutHref} {:else if aboutHref}
<a class="sc-profile-menu-item" href={aboutHref} role="menuitem" onclick={() => (profileOpen = false)}> <a class="sc-profile-menu-item" href={aboutHref} role="menuitem" onclick={() => (profileOpen = false)}>
<Info aria-hidden="true" size={15} strokeWidth={2} />
About About
</a> </a>
{/if} {/if}