diff --git a/src/components/AppBar/Mobile.astro b/src/components/AppBar/Mobile.astro index 73ccd6f..6bb1e5b 100644 --- a/src/components/AppBar/Mobile.astro +++ b/src/components/AppBar/Mobile.astro @@ -26,13 +26,14 @@ const { pages, customClasses } = Astro.props; + + + diff --git a/src/components/AppBar/Nav/Link.astro b/src/components/AppBar/Nav/Link.astro index de38b32..6d4e862 100644 --- a/src/components/AppBar/Nav/Link.astro +++ b/src/components/AppBar/Nav/Link.astro @@ -21,20 +21,22 @@ export const backgroundColorForPageLink = ( export const hasIcon = ( page: Page, -): page is Omit & { icon: NonNullable } => { +): page is Page & { icon: NonNullable } => { return page.icon !== undefined && page.icon.enabled; }; interface Props { page: Page; + linkClasses?: string; } -const { page } = Astro.props; +const { page, linkClasses } = Astro.props; ---