Finish up new index page and improve accessibility
This commit is contained in:
parent
e3d1f6999b
commit
403ae18b6e
23 changed files with 304 additions and 185 deletions
|
|
@ -27,7 +27,7 @@ const isCurrentRoute = (navRoute: NavRoute) => Astro.url.pathname == navRoute.pa
|
|||
? "border-bm-500 text-bm-500 dark:border-bm-400 dark:text-bm-400"
|
||||
: "border-stone-600 text-stone-600 hover:border-bm-500 hover:text-bm-500 focus:border-bm-500 focus:text-bm-500 dark:border-zinc-300 dark:text-zinc-300 dark:hover:border-bm-400 dark:hover:text-bm-400 dark:focus:border-bm-400 dark:focus:text-bm-400",
|
||||
]}
|
||||
aria-current-value={isCurrentRoute(route).toString()}
|
||||
aria-current={isCurrentRoute(route) ? "page" : undefined}
|
||||
>
|
||||
{route.name}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue