diff --git a/src/app/cfp/page.tsx b/src/app/cfp/page.tsx index b84981f..c81cd2d 100644 --- a/src/app/cfp/page.tsx +++ b/src/app/cfp/page.tsx @@ -1,6 +1,7 @@ import { CallToActionProps, Hero, ImageProps } from "@/sections/Hero/Hero"; +import { Footer } from "@/components/Footer/Footer"; import { Header } from "@/components/Header/Header"; -import { cfp as data, footer } from "@/lib/data"; +import { cfp as data } from "@/lib/data"; import { getMetaData, getViewports } from "@/lib/metadata"; export const generateMetadata = () => @@ -56,23 +57,7 @@ export default function Home() { - + ); } diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 5701a66..8854f8d 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -5,6 +5,8 @@ import { usePathname } from "next/navigation"; import type { Link as LinkType } from "@/api/types"; import { Logo } from "@/components/Icons/Logo"; +import { SocialLink } from "@/components/SocialLink/SocialLink"; +import { links as socialLinks } from "@/lib/data"; import { theme } from "@/lib/theme"; import { cn } from "@/lib/utils"; @@ -18,24 +20,22 @@ interface HeaderProps { export function Header({ links }: HeaderProps) { const pathname = usePathname(); return ( - + - {links && - links.map( - (link) => - link && ( - - ), - )} + {links + ? links.map((link) => ( + + )) + : socialLinks.map((link) => )} {links?.length ? : null}