diff --git a/frontend/src/components/views/Header.tsx b/frontend/src/components/views/Header.tsx index bc6008b..4b48a77 100644 --- a/frontend/src/components/views/Header.tsx +++ b/frontend/src/components/views/Header.tsx @@ -1,6 +1,8 @@ -import { ReactNode } from "react"; +import React, { ReactNode } from "react"; import { Container } from "../utils/Container"; import { Logo } from "../utils/Logo"; +import { services } from "./Services"; +import { socials } from "./Contact"; interface NavItemProps { href: string; @@ -30,6 +32,52 @@ function NavItem({ href, children, dropdownId }: NavItemProps) { ); } +interface DropdownItemProps { + title: string; + children: ReactNode[]; +} + +function DropdownItem({ title, children }: DropdownItemProps) { + const dropdownId = `dropdown${title.replace(" ", "")}`; + + return ( +