mirror of
https://github.com/edufeed-org/edufeed-web.git
synced 2025-12-09 16:24:34 +00:00
Update Placeholders
This commit is contained in:
parent
3889b5f91a
commit
d1d83c630a
2 changed files with 10 additions and 4 deletions
|
|
@ -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%;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue