Makes a clean demo of using tailwind for the company 1099 page.
This commit is contained in:
8
src/clj/auto_ap/ssr/components/dialog.clj
Normal file
8
src/clj/auto_ap/ssr/components/dialog.clj
Normal file
@@ -0,0 +1,8 @@
|
||||
(ns auto-ap.ssr.components.dialog)
|
||||
|
||||
(defn dialog- [header content footer]
|
||||
[:div {:class "relative bg-white rounded-lg shadow dark:bg-gray-700 dark:text-white fade-in slide-up duration-300 transition-all modal-content"}
|
||||
[:div {:class "flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600"} header]
|
||||
[:div {:class "p-6 space-y-6"}
|
||||
content]
|
||||
[:div footer]])
|
||||
Reference in New Issue
Block a user