new website based on tufte

This commit is contained in:
2024-06-16 02:13:12 +07:00
parent 08a35121aa
commit e7cfae3a2d
13 changed files with 240 additions and 184 deletions

View File

@ -140,18 +140,10 @@ view app shared =
in
{ title = app.data.metadata.title
, body =
[ Link.link (Link.internal (Route.Index))
[ style "margin" "10px" ]
[ text "Home" ]
, Link.link (Link.internal (Route.Blog__Slug_ { slug = "" }))
[ style "margin" "10px" ]
[ text "Blog" ]
, br [] []
, div [ style "text-align" "center" ]
[ section []
[ h1 [] [ text app.data.metadata.title ]
, h1 [ style "font-size" "1.5em" ] [ text app.data.metadata.subtitle ]
, section [] rendered
]
, br [] []
, div [] rendered
]
}