mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 22:49:53 +00:00
enhance(ux): add new page link
This commit is contained in:
@@ -216,7 +216,12 @@
|
||||
|
||||
[:a.item.group.flex.items-center.px-2.py-2.text-sm.font-medium.rounded-md {:href (rfe/href :all-pages)}
|
||||
(ui/icon "files mr-3" {:style {:font-size 20}})
|
||||
[:span.flex-1 "All pages"]]]]
|
||||
[:span.flex-1 "All pages"]]
|
||||
|
||||
(when-not config/publishing?
|
||||
[:a.item.group.flex.items-center.px-2.py-2.text-sm.font-medium.rounded-md {:on-click #(state/pub-event! [:go/search])}
|
||||
(ui/icon "circle-plus mr-3" {:style {:font-size 20}})
|
||||
[:span.flex-1 "New page"]])]]
|
||||
|
||||
(favorites t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user