this repo has no description
lustre frontent oat-ui gleam
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

:lipstick: add text to the home page

+3 -7
-5
gleam.toml
··· 20 20 stylesheets = [{ href = "https://unpkg.com/@knadh/oat/oat.min.css" }] 21 21 scripts = [{ src = "https://unpkg.com/@knadh/oat/oat.min.js" }] 22 22 23 - [tools.lustre.dev] 24 - host = "0.0.0.0" 25 - proxy = { from = "/api", to = "http://localhost:3000/api" } 26 - 27 - 28 23 [tools.lustre.build] 29 24 minify = true 30 25 outdir = "dist"
+3 -2
src/client/page/home.gleam
··· 1 + import client/session 1 2 import lustre/effect 2 3 import lustre/element 3 - import client/session 4 + import lustre/element/html 4 5 5 6 pub type Model { 6 7 Model ··· 15 16 } 16 17 17 18 pub fn view(_session: session.Session) -> element.Element(Msg) { 18 - element.none() 19 + html.p([], [html.text("Home")]) 19 20 }