enhance: make loading indicator noticeable for publishing

publishing apps can take awhile to load so we want the loading
to be obvious, not muted
This commit is contained in:
Gabriel Horner
2024-02-07 15:20:20 -05:00
parent f9063e7a7c
commit 59456464f3

View File

@@ -581,10 +581,15 @@
nil
db-restoring?
[:div.space-y-2
(shui/skeleton {:class "h-8 w-1/3 mb-8"})
(shui/skeleton {:class "h-6 w-full"})
(shui/skeleton {:class "h-6 w-full"})]
(if config/publishing?
[:div.space-y-2
(shui/skeleton {:class "h-8 w-1/3 mb-8 bg-gray-400"})
(shui/skeleton {:class "h-6 w-full bg-gray-400"})
(shui/skeleton {:class "h-6 w-full bg-gray-400"})]
[:div.space-y-2
(shui/skeleton {:class "h-8 w-1/3 mb-8"})
(shui/skeleton {:class "h-6 w-full"})
(shui/skeleton {:class "h-6 w-full"})])
:else
[:div