Skip to content

Commit

Permalink
feat: add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
WarFox committed Jun 5, 2024
1 parent 8f060c2 commit ea9acb1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/cljs_2048/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,25 @@

[:div {:class "flex flex-row justify-center mt-8"}
[grid-panel]
[board-panel]]]))
[board-panel]]

[:footer {:class "m-4"}
[:div {:class "mx-auto p-4 md:py-8"}
[:div {:class "text-sm text-gray-500 sm:text-center dark:text-gray-400"}
"Play using arrow keys on your browser"]
[:div {:class "text-sm text-gray-500 sm:text-center dark:text-gray-400"}
"Implemented using "
[:a {:href "https://day8.github.io/re-frame/re-frame/" :class "hover:underline"} "re-frame"]
", "
[:a {:href "https://clojurescript.org/" :class "hover:underline"} "ClojureScript"]
", "
[:a {:href "https://tailwindcss.com/" :class "hover:underline"} "tailwindcss"]
", and "
[:a {:href "https://react.dev/" :class "hover:underline"} "React"]]
[:div {:class "text-sm text-gray-500 sm:text-center dark:text-gray-400"}
"© 2024 "
[:a {:href "https://deepumohan.com/" :class "hover:underline"} "Deepu Mohan Puthrote"]
". All Rights Reserved."]]]]))

(defn main-panel
[]
Expand Down

0 comments on commit ea9acb1

Please sign in to comment.