update course detail style

This commit is contained in:
AceDataCloud committed 2022-10-08 00:51:18 +08:00
1 parent c2d30448d7
commit a94623baac
8 files changed
+136 -21

No files matched your search

+5
View File
@@ -1,9 +1,14 @@
export const COURSE_LEVEL_BEGINNER = 'Beginner';
export const COURSE_LEVEL_INTERMEDIATE = 'Intermediate';
export const COURSE_LEVEL_ADVANCED = 'Advanced';
export interface ICourse {
id: number;
tags?: string[];
title?: string;
cover?: string;
thumbnail?: string;
level?: typeof COURSE_LEVEL_BEGINNER | typeof COURSE_LEVEL_INTERMEDIATE | typeof COURSE_LEVEL_ADVANCED;
discount?: number;
price?: number;
duration?: number;