Menu improvement on mobile
This commit is contained in:
@@ -24,7 +24,10 @@ const pageTitle = title ? `${title} · ${site.name}` : site.name;
|
||||
<div class="container topbar-inner">
|
||||
<a class="brand brand-mobile" href="/"><img src="/images/logo-text.webp" alt="Swansea Airport" /></a>
|
||||
<details class="mobile-nav">
|
||||
<summary></summary>
|
||||
<summary aria-label="Main menu">
|
||||
<span class="mobile-nav-icon" aria-hidden="true"></span>
|
||||
<span>Menu</span>
|
||||
</summary>
|
||||
<div class="mobile-nav-panel">
|
||||
{site.navigation.map((item) => (
|
||||
item.children ? (
|
||||
|
||||
Reference in New Issue
Block a user