mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-20 15:13:39 +09:00
update accessiblity:
This commit is contained in:
@@ -75,6 +75,7 @@ const { pathname } = Astro.url;
|
||||
<li class="nav-dropdown-item">
|
||||
<a
|
||||
href={child.url}
|
||||
aria-label={child.name}
|
||||
class={`nav-dropdown-link block ${
|
||||
(pathname === `${child.url}/` ||
|
||||
pathname === child.url) &&
|
||||
|
||||
Reference in New Issue
Block a user