Add custom questions + change theme + remove webcam from photo question
This commit is contained in:
parent
28e1a0c4f8
commit
cea7a5bc9d
6 changed files with 225 additions and 139 deletions
9
components/modeCard.tsx
Normal file
9
components/modeCard.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
export default function ModeCard({ mode, selected, onChange }){
|
||||
const Icon = mode.icon
|
||||
return <>
|
||||
<div onClick={onChange} className={`w-24 h-24 rounded-md flex p-4 flex-col items-center ${selected ? "bg-primary" : "bg-zinc-300"}`}>
|
||||
<Icon className="w-12 h-12" />
|
||||
<p>{mode.name}</p>
|
||||
</div>
|
||||
</>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue