diff options
Diffstat (limited to 'apps/website/src/components/base/navbar/Navbar.astro')
-rw-r--r-- | apps/website/src/components/base/navbar/Navbar.astro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/website/src/components/base/navbar/Navbar.astro b/apps/website/src/components/base/navbar/Navbar.astro index 944d88d..bd2c2b5 100644 --- a/apps/website/src/components/base/navbar/Navbar.astro +++ b/apps/website/src/components/base/navbar/Navbar.astro @@ -1,10 +1,13 @@ --- import type { Config } from '@webtypes/Config'; +import type { HTMLAttributes } from 'astro/types'; import config from 'config'; import NavbarElement from '../navbar/NavbarElement.astro'; +interface Props extends HTMLAttributes<'div'> {} +const props = Astro.props; --- -<div class="absolute w-full flex flex-row justify-center h-screen max-h-[110px] px-3 z-navbar text-[16px]"> +<div {...props} class="absolute w-full flex flex-row justify-center h-screen max-h-[110px] px-3 z-navbar text-[16px]"> <nav class="w-full max-w-[1080px] flex flex-col md:flex-row justify-between items-center"> <ul class="flex flex-row justify-start gap-4 max-md:mt-4"> {(config as Config).navbar.left.map((element, index) => ( |