-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add course-card and recommended-tag * format course card code * add mobile course-card & stories * add recommended-tag storybook * fix: course-card responsive style * fix: course-card type declaration * chore: format * update dot size * clear coursecard default prop value --------- Co-authored-by: Patthapol Kittikun <[email protected]> Co-authored-by: Nutthapat Pongtanyavichai <[email protected]>
- Loading branch information
1 parent
3b40a1b
commit 1c1856f
Showing
4 changed files
with
95 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
export { default as CourseCard } from './course-card.svelte' | ||
import type { Day } from '../day-chip' | ||
import type { Type } from '../gened-chip' | ||
|
||
type Course = { | ||
code: string | ||
name: string | ||
credit: number | ||
gened: Type[] | ||
seat: number | ||
maxseat: number | ||
review: number | ||
days: Day[] | ||
} | ||
|
||
export type { Course } |