diff --git a/src/components/Header.astro b/src/components/Header.astro index c96c7e8..22908db 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -12,19 +12,19 @@ const { title, isHome } = Astro.props; const Components = isHome ? ({ Root: 'header', - Nav: 'div', + Nav: Fragment, Header: 'div', } as const) : ({ - Root: 'div', + Root: Fragment, Nav: 'nav', Header: 'header', } as const); --- - - -

+ + +

{/* eslint-disable-next-line astro/jsx-a11y/anchor-is-valid */} - +