summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea89/website/App.kt
blob: aa9682535481ac0ff633019a4fa07fd9ffe29e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package moe.nea89.website

import com.bnorm.react.RFunction
import react.RBuilder
import react.dom.li
import react.dom.nav
import react.dom.ul


@RFunction
fun RBuilder.App() {
    Navigation()
}

@RFunction
fun RBuilder.Navigation() {
    nav {
        ul {
            li { +"Hehe" }
            li { +"Hihi" }
            li { +"Hoho" }
            li { +"Haha" }
            li { +"Huhu" }
        }
    }
}