61 lines
1.9 KiB
TypeScript
61 lines
1.9 KiB
TypeScript
// 極簡MVP的靜態測試數據
|
||
export interface SimpleCard {
|
||
id: number
|
||
word: string
|
||
definition: string
|
||
example: string
|
||
translation: string
|
||
pronunciation: string
|
||
}
|
||
|
||
export const SIMPLE_CARDS: SimpleCard[] = [
|
||
{
|
||
id: 1,
|
||
word: 'hello',
|
||
definition: 'a greeting or expression of welcome',
|
||
example: 'Hello, how are you today?',
|
||
translation: '你好',
|
||
pronunciation: '/həˈloʊ/'
|
||
},
|
||
{
|
||
id: 2,
|
||
word: 'beautiful',
|
||
definition: 'pleasing the senses or mind aesthetically',
|
||
example: 'She has a beautiful smile.',
|
||
translation: '美麗的',
|
||
pronunciation: '/ˈbjuːtɪfl/'
|
||
},
|
||
{
|
||
id: 3,
|
||
word: 'important',
|
||
definition: 'of great significance or value',
|
||
example: 'It is important to study every day.',
|
||
translation: '重要的',
|
||
pronunciation: '/ɪmˈpɔːrtənt/'
|
||
},
|
||
{
|
||
id: 4,
|
||
word: 'happy',
|
||
definition: 'feeling or showing pleasure or contentment',
|
||
example: 'I am very happy today.',
|
||
translation: '快樂的',
|
||
pronunciation: '/ˈhæpi/'
|
||
},
|
||
{
|
||
id: 5,
|
||
word: 'learn',
|
||
definition: 'gain knowledge or skill by studying or experience',
|
||
example: 'I want to learn English.',
|
||
translation: '學習',
|
||
pronunciation: '/lɜːrn/'
|
||
}
|
||
]
|
||
|
||
// 信心度等級配置
|
||
export const CONFIDENCE_LEVELS = [
|
||
{ level: 1, label: '完全不懂', color: 'bg-red-500', description: '第一次見到這個詞' },
|
||
{ level: 2, label: '有點印象', color: 'bg-orange-500', description: '似乎見過但不確定意思' },
|
||
{ level: 3, label: '還算熟悉', color: 'bg-yellow-500', description: '知道意思但不太確定' },
|
||
{ level: 4, label: '很熟悉', color: 'bg-blue-500', description: '清楚知道意思和用法' },
|
||
{ level: 5, label: '完全掌握', color: 'bg-green-500', description: '可以自然使用' }
|
||
] as const |