-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fcdc388
commit 186e1e2
Showing
7 changed files
with
49 additions
and
25 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
18 changes: 15 additions & 3 deletions
18
server/src/main/kotlin/ivy/learn/data/cms/TopicsContent.kt
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,10 +1,22 @@ | ||
package ivy.learn.data.cms | ||
|
||
import ivy.learn.data.cms.course.GeneralProgramming | ||
import ivy.learn.data.cms.course.programming.ProgrammingBasics | ||
import ivy.learn.data.cms.dsl.TopicsDsl | ||
|
||
object TopicsContent : TopicsDsl({ | ||
topic("General Programming") { | ||
course(GeneralProgramming) | ||
topic("Programming") { | ||
course(ProgrammingBasics) | ||
} | ||
topic("Functional Programming") { | ||
|
||
} | ||
topic("Object Oriented Programming") { | ||
|
||
} | ||
topic("Kotlin") { | ||
|
||
} | ||
topic("Compose") { | ||
|
||
} | ||
}) |
3 changes: 2 additions & 1 deletion
3
server/src/main/kotlin/ivy/learn/data/cms/course/CoursesContent.kt
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,7 +1,8 @@ | ||
package ivy.learn.data.cms.course | ||
|
||
import ivy.learn.data.cms.course.programming.ProgrammingBasics | ||
import ivy.learn.data.cms.dsl.CoursesDsl | ||
|
||
object CoursesContent : CoursesDsl({ | ||
course(GeneralProgramming) | ||
course(ProgrammingBasics) | ||
}) |
14 changes: 0 additions & 14 deletions
14
server/src/main/kotlin/ivy/learn/data/cms/course/GeneralProgramming.kt
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
server/src/main/kotlin/ivy/learn/data/cms/course/programming/ProgrammingBasics.kt
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package ivy.learn.data.cms.course.programming | ||
|
||
import ivy.learn.data.cms.dsl.CourseDsl | ||
|
||
object ProgrammingBasics : CourseDsl({ | ||
name = "Programming Basics" | ||
tagline = "Learn the basics of programming from a different perspective." | ||
imageUrl = | ||
"https://i.ibb.co/nMLdcD5/DALL-E-2024-05-04-20-50-03-A-wide-banner-image-for-a-course-titled-Programming-Basics-with-the-tagli.webp" | ||
lesson( | ||
name = "What is programming?", | ||
tagline = "Learn the basics of programming", | ||
imageUrl = "tbd" | ||
) | ||
}) |
10 changes: 10 additions & 0 deletions
10
server/src/main/kotlin/ivy/learn/data/cms/course/programming/ProgrammingFundamentals.kt
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package ivy.learn.data.cms.course.programming | ||
|
||
import ivy.learn.data.cms.dsl.CourseDsl | ||
|
||
object ProgrammingFundamentals : CourseDsl({ | ||
name = "Programming Fundamentals" | ||
tagline = "Learn the basics of programming from a different perspective." | ||
imageUrl = | ||
"https://i.ibb.co/nMLdcD5/DALL-E-2024-05-04-20-50-03-A-wide-banner-image-for-a-course-titled-Programming-Basics-with-the-tagli.webp" | ||
}) |
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