import { Text, Container, ActionIcon, Group, rem } from '@mantine/core' import { IconBrandTwitter, IconBrandYoutube, IconBrandInstagram, } from '@tabler/icons-react' import { MantineLogo } from '@mantine/ds' import * as classes from './FooterLinks.module.css.ts' const data = [ { title: 'About', links: [ { label: 'Features', link: '#' }, { label: 'Pricing', link: '#' }, { label: 'Support', link: '#' }, { label: 'Forums', link: '#' }, ], }, { title: 'Project', links: [ { label: 'Contribute', link: '#' }, { label: 'Media assets', link: '#' }, { label: 'Changelog', link: '#' }, { label: 'Releases', link: '#' }, ], }, { title: 'Community', links: [ { label: 'Join Discord', link: '#' }, { label: 'Follow on Twitter', link: '#' }, { label: 'Email newsletter', link: '#' }, { label: 'GitHub discussions', link: '#' }, ], }, ] const Footer = () => { const groups = data.map((group) => { const links = group.links.map((link, index) => ( key={index} className={classes.link} component="a" href={link.link} onClick={(event) => event.preventDefault()} > {link.label} )) return (
{group.title} {links}
) }) return ( ) } export default Footer