diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 687e247..5ac9473 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -6,6 +6,16 @@ import MailchimpSubscribe from 'react-mailchimp-subscribe' import { ArrowLink } from '~/components/icons/arrow' import { Isotype, LogoFooter } from '~/components/icons/logo' +import { + Discord, + Discourse, + Facebook, + Instagram, + Linkedin, + Reddit, + Telegram, + Twitter +} from '~/components/icons/socials' import { Container } from '~/components/layout/container' import Section from '~/components/layout/section' import Heading from '~/components/primitives/heading' @@ -13,12 +23,6 @@ import Link from '~/components/primitives/link' import Switch from '~/components/primitives/switch' import { useIsomorphicLayoutEffect } from '~/hooks/use-isomorphic-layout-effect' -import { - AboutLinks, - ConnectLinks, - DevelopersLinks, - ProductsLinks -} from './footer' import s from './footer.module.scss' type FormProps = { @@ -81,7 +85,17 @@ const SimpleForm = ({ ) } -export const Footer = () => { +interface Props { + data: { + aboutLinks: { href: string; title: string }[] + communityLinks: { href: string; title: string }[] + connectLinks: { href: string; title: string }[] + developerLinks: { href: string; title: string }[] + productsLinks: { href: string; title: string }[] + } +} + +export const Footer = ({ data }: Props) => { const { theme, setTheme } = useTheme() const router = useRouter() @@ -190,7 +204,7 @@ export const Footer = () => {