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

@ -15,4 +15,6 @@ vite.config.js
!**/*.mjs !**/*.mjs
**/*.tsx **/*.tsx
**/*.ts **/*.ts
**/*.json **/*.json
**/dev-dist
**/dist

View File

@ -8,4 +8,5 @@ packages/mini/krill-parser.js
packages/xen/tunejs.js packages/xen/tunejs.js
paper paper
pnpm-lock.yaml pnpm-lock.yaml
pnpm-workspace.yaml pnpm-workspace.yaml
**/dev-dist

View File

@ -36,7 +36,9 @@ export default function MobileNav({ sidebar }) {
as="a" as="a"
href={`/${item.link}`} href={`/${item.link}`}
className={classNames( 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', 'block px-3 py-2 rounded-md text-base font-medium',
)} )}
aria-current={item.current ? 'page' : undefined} aria-current={item.current ? 'page' : undefined}