diff --git a/src/components/ui/organisms/header/header.tsx b/src/components/ui/organisms/header/index.tsx similarity index 95% rename from src/components/ui/organisms/header/header.tsx rename to src/components/ui/organisms/header/index.tsx index e55ecd33..4e83b538 100644 --- a/src/components/ui/organisms/header/header.tsx +++ b/src/components/ui/organisms/header/index.tsx @@ -16,7 +16,10 @@ import useTranslation from 'next-translate/useTranslation' export type HeaderProps = { logo: ImageProps - links: Array + links: Array<{ + title: string + href: string + }> isFloating?: boolean } @@ -25,9 +28,9 @@ export default function Header({logo, links, isFloating}: HeaderProps) { const [sidebarOpen, setSidebarOpen] = useState(false) const pathname = usePathname() - const navigation: Array = links.map((link) => ({ + const navigation: Array = links.map(link => ({ href: link.href || '', - children: link.children + children: link.title })) const sidebarHandler = () => { @@ -86,7 +89,7 @@ export default function Header({logo, links, isFloating}: HeaderProps) { {item.children} - + ))}
@@ -130,7 +133,7 @@ export default function Header({logo, links, isFloating}: HeaderProps) { ))} +
diff --git a/src/components/ui/organisms/heros/home/index.tsx b/src/components/ui/organisms/heros/home/index.tsx index b976c101..9e84ab4e 100644 --- a/src/components/ui/organisms/heros/home/index.tsx +++ b/src/components/ui/organisms/heros/home/index.tsx @@ -20,14 +20,18 @@ export default function HomeHero({title, buttonText, buttonLink, background}: Ho blurDataURL={background.blurDataURL} width={background.width} height={background.height} - className='w-full pointer-events-none opacity-70'/> + className='w-full pointer-events-none'/>
-

+

{title}