Skip to content

Commit

Permalink
style(header): Add icons to the sidebar buttons (MetaCubeX#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
Plutonium141 authored Jun 23, 2024
1 parent 6410a5c commit 7b3e68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ export const Header = () => {

<ul class="menu min-h-full w-2/5 gap-2 rounded-r-box bg-base-300 pt-20">
<For each={navs()}>
{({ href, name }) => (
{({ href, name, icon }) => (
<li onClick={() => setOpenedDrawer(false)}>
<A href={href}>{name}</A>
<A href={href}>{icon} {name}</A>
</li>
)}
</For>
Expand Down

0 comments on commit 7b3e68b

Please sign in to comment.