Skip to content

Commit

Permalink
display categories
Browse files Browse the repository at this point in the history
  • Loading branch information
ManApart committed Aug 25, 2024
1 parent 569dbbf commit 870ebd4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/jsMain/kotlin/views/ResearchView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ fun researchView(section: String? = null) {
//Track User progress
//Mark complete marks skill complete/incomplete
//Marking in/complete marks parents/children
researchProjects.values.forEach { category ->
category.forEach { project ->
p { +"${project.name} ${project.rank}" }
researchProjects.entries.forEach { (category, projects) ->
div {
h3 { +category }
img { src = "./images/research/${category.lowercase()}.svg" }
projects.forEach { project ->
p { +"${project.name} ${project.rank}" }
}
}
}

Expand Down

0 comments on commit 870ebd4

Please sign in to comment.