webfluent 0.4.0-alpha

The Web-First Language — compiles to HTML, CSS, JavaScript, and PDF. 50+ built-in components, reactivity, routing, i18n, SSG, and template engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Page NotFound (path: "/404", title: "Page Not Found") {
    Container(fadeIn) {
        Spacer(xl)

        Stack(gap: md) {
            Heading("404", h1, center, primary)
            Heading("Page Not Found", h2, center)
            Text("The page you are looking for does not exist or has been moved.", muted, center)
            Spacer()
            Row(justify: center) {
                Button("Go Home", primary, large) { navigate("/") }
            }
        }

        Spacer(xl)
    }
}