import { Icon, Link, Stack, Text, VStack, chakra, StackProps, } from '@chakra-ui/react' import React from 'react' import { DiGithubBadge } from 'react-icons/di' import { FaYoutube } from 'react-icons/fa' import { IoLogoLinkedin, IoLogoTwitter } from 'react-icons/io' import { MdEmail } from 'react-icons/md' import { VercelCallout } from './vercel-callout' import { t } from 'utils/i18n' type FooterLinkProps = { icon?: React.ElementType href?: string label?: string } const FooterLink = ({ icon, href, label }: FooterLinkProps) => ( ) const links = [ { icon: DiGithubBadge, label: 'GitHub', href: 'https://github.com/segunadebayo', }, { icon: IoLogoTwitter, label: 'Twitter', href: 'https://twitter.com/thesegunadebayo', }, { icon: IoLogoLinkedin, label: 'LinkedIn', href: 'https://linkedin.com/in/thesegunadebayo/', }, { icon: MdEmail, label: 'Email', href: 'mailto:sage@adebayosegun.com', }, { icon: FaYoutube, label: 'YouTube', href: 'https://www.youtube.com/channel/UC4TmDovH46TB4S0SM0Y4CIg', }, ] const NigeriaFlag = (props) => ( {t('component.footer.title')} {' '} ) export const Footer = (props: StackProps) => ( {t('component.footer.proudly-made-in')} by Segun Adebayo {links.map((link) => ( ))} ) export default Footer