import clsx from 'clsx' import { Anchor } from 'components/Anchor' import type { ComponentProps, ReactNode } from 'react' import { FaArrowRight } from 'react-icons/fa' export interface HomeCardProps extends ComponentProps<'div'> { title: string link?: string linkText?: string children?: ReactNode } export const HomeCard = (props: HomeCardProps) => { const { title, link, linkText, children, className, ...rest } = props return (
{children}
{link && (