}
}
diff --git a/frontend/src/components/WrittenVocabularyExercise.tsx b/frontend/src/components/WrittenVocabularyExercise.tsx
index c9f5515..d69bf3b 100644
--- a/frontend/src/components/WrittenVocabularyExercise.tsx
+++ b/frontend/src/components/WrittenVocabularyExercise.tsx
@@ -1,5 +1,6 @@
import { useState } from 'react';
import {VocabularyQuestion} from "../logic/CourseData";
+import {Icon} from "@iconify/react";
interface WrittenVocabularyProps {
q: VocabularyQuestion
@@ -19,23 +20,30 @@ export default function WrittenQuestionExercise({q, onSubmit}: WrittenVocabulary
}
return (
-
-
+
+
Recall the following word
+
{q.question}
-
- {answered ?
-
-
{q.pronunciation}
-
{q.description}
-
{q.example}
-
-
-
-
-
- :
-
+
+ {answered &&
+
+
{q.pronunciation}
+
{q.description}
+
{q.example}
+
+ }
+
+
+ {answered ?
+ <>
+
+
+ > :
+ <>
+
Please click "show meaning" after you have tried to recall the meaning of the word
+
+ >
}
diff --git a/frontend/src/logic/CourseData.ts b/frontend/src/logic/CourseData.ts
index d0015e9..69e3aca 100644
--- a/frontend/src/logic/CourseData.ts
+++ b/frontend/src/logic/CourseData.ts
@@ -59,14 +59,6 @@ export const chapters_jp: Chapter[] = [
name: 'Order food',
steps: [{
questions: [
-
- {
- question: 'What did Yui come to the club meeting for?',
- clipUrl: window.location.origin + "/video/cake.mp4",
- description: "This is a clip from the anime 'K-On'. Yui is a member of the light music club. She came to the club meeting to eat cake.",
- expected: 'ケーキ or cake',
- type: 'video',
- },
{
question: 'Translate this sentence: すしをください',
wordBank: ['I', 'sushi', 'cookies', 'want', 'please', 'give', 'rice', 'some', 'yesterday'],
@@ -89,10 +81,17 @@ export const chapters_jp: Chapter[] = [
type: 'verbal-question',
},
{
- question: 'Please say: すしをたくさんあります',
+ question: 'すしをたくさんあります',
translation: 'There is a lot of sushi',
type: 'verbal-pronunciation',
},
+ {
+ question: 'What is the following song about?',
+ clipUrl: window.location.origin + "/video/dango.mp4",
+ description: "This is the song 'Dango Daikazoku' from the anime 'Clannad'. It is about a family of dango.",
+ expected: '団子 or dango',
+ type: 'video',
+ }
]
},
{
@@ -122,17 +121,17 @@ export const chapters_jp: Chapter[] = [
type: 'verbal-question',
},
{
- question: 'Please say: 刺身おください',
+ question: '刺身おください',
translation: 'Please give me sashimi',
type: 'verbal-pronunciation',
},
{
- question: 'What is the following song about?',
- clipUrl: window.location.origin + "/video/dango.mp4",
- description: "This is the song 'Dango Daikazoku' from the anime 'Clannad'. It is about a family of dango.",
- expected: '団子 or dango',
+ question: 'What did Yui come to the club meeting for?',
+ clipUrl: window.location.origin + "/video/cake.mp4",
+ description: "This is a clip from the anime 'K-On'. Yui is a member of the light music club. She came to the club meeting to eat cake.",
+ expected: 'ケーキ or cake',
type: 'video',
- }
+ },
]
}]
}
diff --git a/frontend/src/pages/CollabLearning.tsx b/frontend/src/pages/CollabLearning.tsx
index f366296..29f145e 100644
--- a/frontend/src/pages/CollabLearning.tsx
+++ b/frontend/src/pages/CollabLearning.tsx
@@ -2,6 +2,7 @@ import NavBar from "../components/NavBar"
import React, { useState } from 'react';
import { generateFakeUsers } from '../logic/fakeUsers';
import { useNavigate } from 'react-router-dom';
+import {getLanguage} from "../logic/sdk";
export default function CollabLearning() {
@@ -45,7 +46,7 @@ export default function CollabLearning() {
Chat
-
Find people fluent in your taget language to Chat!
+
Find people fluent in {getLanguage().name} to Chat!