aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-06-06 23:05:41 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-06-06 23:05:41 +0200
commit378e007141c699945080bbf944aeef4abf67d75c (patch)
tree0e734b64e6ba2549b5b5fd4df01a33880af7fe62 /frontend/app/Main.hs
parent3add980b73b1ac75d1ad1dde85f6c782439914be (diff)
add new collection page
Diffstat (limited to 'frontend/app/Main.hs')
-rw-r--r--frontend/app/Main.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/app/Main.hs b/frontend/app/Main.hs
index f5ec4b6..3a2c5a6 100644
--- a/frontend/app/Main.hs
+++ b/frontend/app/Main.hs
@@ -214,7 +214,12 @@ viewBranch s =
viewCollections :: LoadedState -> View Action
viewCollections s =
section_ [] $
- [ span_ [] [text "collections"],
+ [ span_
+ []
+ [ text "collections",
+ text " ",
+ a_ [href_ "#collection/new"] [text "+new"]
+ ],
ol_ [] $
[ li_
[]