[front/ux] update home page
This commit is contained in:
parent
44ea7aaca9
commit
249234dee0
1 changed files with 12 additions and 6 deletions
|
@ -4,21 +4,27 @@
|
|||
|
||||
|
||||
(defn button
|
||||
[id]
|
||||
[id type text]
|
||||
[:div
|
||||
[:button
|
||||
{:type "button"
|
||||
:on-click #(rfe/push-state :item {:id id})
|
||||
:on-click #(rfe/push-state type {:id id})
|
||||
:class "btn btn-blue"}
|
||||
"Post " id]
|
||||
text " " id]
|
||||
[:br]])
|
||||
|
||||
(defn home-page []
|
||||
[:div
|
||||
[:h2 "Try this!"]
|
||||
(button 385214753)
|
||||
(button 96817849)
|
||||
(button 24425284)])
|
||||
[:p "Post"]
|
||||
(button 385214753 :item "Post")
|
||||
(button 96817849 :item "Post")
|
||||
(button 24425284 :item "Post")
|
||||
[:p "questions"]
|
||||
(button 432539930 :question "question")
|
||||
(button 437735833 :question "question")
|
||||
(button 535225379 :question "question")
|
||||
])
|
||||
|
||||
(defn about-page []
|
||||
[:div
|
||||
|
|
Loading…
Reference in a new issue