@@ -158,6 +159,8 @@ export const QuizCard = ({ quiz, onTagClick, quiz_key }: QuizCardProps) => {
)}
{
})}
aria-hidden="true"
/>
-
+
{quiz.is_taken ? "Re-attempt" : "Take Quiz"}
diff --git a/client/src/components/radio-option.tsx b/client/src/components/radio-option.tsx
index 8f319e9e..edf29aac 100644
--- a/client/src/components/radio-option.tsx
+++ b/client/src/components/radio-option.tsx
@@ -1,12 +1,12 @@
import { cva } from "cva";
export const radioOptionClass = cva(
- "rounded-full px-4 py-1.5 text-center font-medium transition-all",
+ "rounded-full px-4 py-1.5 text-center font-medium ring-0 ring-transparent ring-offset-2 transition-all duration-200 group-focus-within:relative group-focus-within:ring-3",
{
variants: {
selected: {
- true: "bg-slate-700 text-white",
- false: "bg-slate-100 text-slate-900 hover:bg-slate-200",
+ true: "bg-slate-700 text-white group-focus-within:ring-slate-300 group-hover:bg-slate-800",
+ false: "bg-slate-100 text-slate-900 hover:bg-slate-200 group-focus-within:ring-slate-500",
},
},
},
diff --git a/client/src/components/voiceover.tsx b/client/src/components/voiceover.tsx
index b47e9fcd..b32821fc 100644
--- a/client/src/components/voiceover.tsx
+++ b/client/src/components/voiceover.tsx
@@ -10,7 +10,7 @@ export type VoiceoverProps = {
export const Voiceover = ({
text,
- label = "Play voiceover",
+ label = "Listen pronunciation",
}: VoiceoverProps) => {
const { speak } = useSpeech();
return (
diff --git a/client/src/routes/Forum/Forum.tsx b/client/src/routes/Forum/Forum.tsx
index 7925ec45..020d49b2 100644
--- a/client/src/routes/Forum/Forum.tsx
+++ b/client/src/routes/Forum/Forum.tsx
@@ -70,7 +70,7 @@ export const Forum = () => {
description="Where the magic happens - jump into the conversation"
/>
-