'use client'; import { motion } from 'framer-motion'; import { useState } from 'react'; import LinkButton from './link-button'; const TopicCard = ({ title, children, link }: { title: string, children: any, link: string }) => { const [clicked, setClicked] = useState( false ); const [hovered, setHovered] = useState( false ); return ( setHovered(true)} onMouseLeave={()=>setHovered(false)}>

{title}

{children}

{/* Begin */} setClicked(true)}/>
) } export default TopicCard;