Update Placeholders

This commit is contained in:
@s.roertgen 2024-08-21 12:54:00 +02:00
parent 3889b5f91a
commit d1d83c630a
2 changed files with 10 additions and 4 deletions

View file

@ -3007,3 +3007,9 @@ details.collapse summary::-webkit-details-marker {
.hover\:underline:hover {
text-decoration-line: underline;
}
@media (min-width: 640px) {
.sm\:w-1\/2 {
width: 50%;
}
}

View file

@ -47,18 +47,18 @@
"Name"
[:input {:on-change (fn [e]
(swap! s assoc :name (-> e .-target .-value)))
:type "text", :class "grow", :placeholder "Daisy"}]]
:type "text", :class "grow", :placeholder "Best Resource Ever"}]]
[:label
{:class "input input-bordered flex items-center gap-2"}
"URL"
[:input {:on-change (fn [e]
(swap! s assoc :uri (-> e .-target .-value)))
:type "text", :class "grow", :placeholder "daisy@site.com"}]]
:type "text", :class "grow", :placeholder "https://wirlernenonline.de/r31"}]]
[:label
{:class "input input-bordered flex items-center gap-2"}
[:input {:on-change (fn [e]
(swap! s assoc :author (-> e .-target .-value)))
:type "text", :class "grow", :placeholder "Author"}]]
:type "text", :class "grow", :placeholder "Robbi"}]]
[:button {:class "btn btn-warning w-1/2 mx-auto"
:on-click #(re-frame/dispatch [::events/publish-resource {:name (:name @s) ;; TODO this should be sth like build event
@ -444,7 +444,7 @@
;; Add Resource Panel
(defn add-resource-panel []
[:div
{:class "w-1/2 mx-auto flex flex-col space-y-4"}
{:class "sm:w-1/2 p-2 mx-auto flex flex-col space-y-4"}
[add-resource-form]
[:div
{:tabIndex "0",