This commit is contained in:
Felix Roos 2023-02-10 20:09:23 +01:00
parent ddb9af4d57
commit 6170eef441
3 changed files with 8 additions and 3 deletions

View File

@ -16,3 +16,5 @@ vite.config.js
**/*.tsx
**/*.ts
**/*.json
**/dev-dist
**/dist

View File

@ -9,3 +9,4 @@ packages/xen/tunejs.js
paper
pnpm-lock.yaml
pnpm-workspace.yaml
**/dev-dist

View File

@ -36,7 +36,9 @@ export default function MobileNav({ sidebar }) {
as="a"
href={`/${item.link}`}
className={classNames(
item.current ? 'bg-background text-white' : 'text-gray-300 hover:bg-lineHighlight hover:text-white',
item.current
? 'bg-background text-white'
: 'text-gray-300 hover:bg-lineHighlight hover:text-white',
'block px-3 py-2 rounded-md text-base font-medium',
)}
aria-current={item.current ? 'page' : undefined}