Skip to content

Commit

Permalink
docs: update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Nov 15, 2023
1 parent aca878c commit dc2ebdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layouts/main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ export default function Layout() {
key={path}
to={path}
target={type === 'external' ? '_blank' : undefined}
className={clsx('items-center gap-1 p-2 rounded-full flex', {
'bg-primary text-white': location.pathname.startsWith(`/${path}`),
className={clsx('items-center gap-1 p-2 flex', {
'text-[var(--color-primary)': location.pathname.startsWith(`/${path}`),
})}
>
{title} {icon}
{icon} {title}
</Link>
))}
</div>
Expand Down

0 comments on commit dc2ebdb

Please sign in to comment.