diff --git a/app/components/form-question.tsx b/app/components/form-question.tsx index c35974a..150a9b2 100644 --- a/app/components/form-question.tsx +++ b/app/components/form-question.tsx @@ -19,21 +19,7 @@ const FormQuestion = ({question}: {question: Question}) => { const formSubmit = (data: FormData) => setFormData( data ); return ( -
- ) } diff --git a/app/components/link-button.tsx b/app/components/link-button.tsx index 37cac35..e71cf54 100644 --- a/app/components/link-button.tsx +++ b/app/components/link-button.tsx @@ -6,7 +6,7 @@ const LinkButton = ({text, href, onPress}: {text: string, href: string, onPress? const [buttonHovered, setButtonHovered] = useState( false ); const [buttonPressed, setButtonPressed] = useState( false ); return ( -
+
-

+

{question.text}

diff --git a/app/components/topic_card.tsx b/app/components/topic_card.tsx index 23575cb..2fdfd0f 100644 --- a/app/components/topic_card.tsx +++ b/app/components/topic_card.tsx @@ -2,11 +2,20 @@ import { motion } from 'framer-motion'; import { useState } from 'react'; import LinkButton from './link-button'; +import { Radio, RadioGroup } from '@headlessui/react'; +import { CheckCircleIcon } from '@heroicons/react/24/outline'; + const TopicCard = ({ title, children, link }: { title: string, children: any, link: string }) => { + const types = [ + { name: 'Classic', desc: 'Answer with \'I knew that\', and \'I didn\'t know\'.', disabled: false }, + { name: 'Type', desc: 'Answer with typing in a prompt.', disabled: true }, + { name: 'Quiz', desc: 'Answer with 4 buttons, only one is correct.', disabled: true}, + { name: 'Mixed', desc: 'From all of the above.', disabled: true} + ] const [clicked, setClicked] = useState( false ); const [hovered, setHovered] = useState( false ); return ( - setHovered(true)} onMouseLeave={()=>setHovered(false)}>

{title}

-

+

{children}