nitter/src/views/about.nim

15 lines
343 B
Nim
Raw Normal View History

2019-09-09 02:41:20 +00:00
import karax/[karaxdsl, vdom]
2019-09-22 23:42:00 +00:00
import markdown
let
about = markdown(readFile("public/md/about.md"))
feature = markdown(readFile("public/md/feature.md"))
2019-09-09 02:41:20 +00:00
proc renderAbout*(): VNode =
2019-09-13 08:44:21 +00:00
buildHtml(tdiv(class="overlay-panel")):
2019-09-22 23:42:00 +00:00
verbatim about
proc renderFeature*(): VNode =
buildHtml(tdiv(class="overlay-panel")):
verbatim feature