feat: add training list page, training page and markdown content
This commit is contained in:
parent
3dd584fcf4
commit
e19dbb71cd
16 changed files with 586 additions and 15 deletions
18
types/training.ts
Normal file
18
types/training.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
type TrainingType = {
|
||||
name: string
|
||||
slug: string
|
||||
priceOpen: number
|
||||
priceCompany: number
|
||||
logo: string
|
||||
days: number
|
||||
description: string
|
||||
content: string
|
||||
|
||||
trainingHubId?: string
|
||||
draft?: true
|
||||
new?: true
|
||||
featured?: true
|
||||
weight: number // custom sorting
|
||||
}
|
||||
|
||||
export default TrainingType
|
||||
Reference in a new issue