Skip to content

Commit

Permalink
put page list above title
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetrain1 authored Feb 22, 2024
1 parent 91f7675 commit c765b92
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ private const val PAGE_URL = "wilder-wild"
@Composable
fun WilderWild() {
PageLayout("Wilder Wild") {
WikiTitle("Wilder Wild Wiki")

val pages = remember {
listOf(
WikiPage("first wiki page", "/$PAGE_URL/first")
Expand All @@ -48,5 +46,7 @@ fun WilderWild() {
PageList(pages, { menuState }) { state ->
menuState = state
}

WikiTitle("Wilder Wild Wiki")
}
}

0 comments on commit c765b92

Please sign in to comment.