mirror of https://github.com/logseq/logseq
enhance: add an alert at the top for demo graph
parent
2bae106d1f
commit
110919c8a1
|
@ -212,13 +212,6 @@
|
|||
[:div.repos
|
||||
(repo/repos-dropdown nil)]
|
||||
|
||||
(when show-open-folder?
|
||||
(ui/tippy {:html [:div.font-medium "Feel free to edit anything, no change will be saved at this moment. If you do want to persist your work, click the right button to open a local directory or connect Logseq to Github."]
|
||||
:interactive true
|
||||
:delay [1000, 100]
|
||||
:position "down"}
|
||||
[:a.button (svg/warning)]))
|
||||
|
||||
(when show-open-folder?
|
||||
[:a.text-sm.font-medium.button
|
||||
{:on-click #(page-handler/ls-dir-files! shortcut/refresh!)}
|
||||
|
|
|
@ -50,6 +50,14 @@
|
|||
{:class (if intro? "intro" "")}
|
||||
data-page-tags
|
||||
(assoc :data-page-tags data-page-tags))
|
||||
|
||||
(when intro?
|
||||
(ui/admonition
|
||||
:warning
|
||||
[:p (util/format
|
||||
"Feel free to edit anything, no change will be saved at this moment. If you do want to persist your work, click the \"Open\" button to open a local directory%s."
|
||||
(if (util/electron?) "" " or connect Logseq to Github"))]))
|
||||
|
||||
(ui/foldable
|
||||
[:a.initial-color.title.journal-title
|
||||
{:href (rfe/href :page {:name page})
|
||||
|
|
Loading…
Reference in New Issue