import React from 'react'; import { Box, space, color, Grid } from '@stacks/ui'; import { Text } from '@components/typography'; import { slugify } from '@common/utils'; import { getCapsizeStyles, getHeadingStyles } from '@components/mdx/typography'; import { HoverImage } from '@components/hover-image'; import { useTouchable } from '@common/hooks/use-touchable'; import Link from 'next/link'; import { getBetterNames } from '@common/utils/faqs'; const FloatingLink = ({ href, ...props }: any) => ( ); const SectionCard = ({ section }) => { const { hover, active, bind } = useTouchable({ behavior: 'button', }); const { title, description, img } = getBetterNames(section.id); return ( {title} {description} ); }; export const FAQs = React.memo(({ articles, sections }: any) => { return ( {sections.map(section => { return ; })} ); });