Makes tailwind version of history page

This commit is contained in:
Bryce
2023-06-01 09:26:52 -07:00
parent fad492e26d
commit 3540346fc8
14 changed files with 253 additions and 246 deletions

View File

@@ -26,6 +26,7 @@
(def left-aside aside/left-aside-)
(def company-aside-nav aside/company-aside-nav-)
(def main-aside-nav aside/main-aside-nav-)
(def content-card card/content-card-)
(def card card/card-)
@@ -42,9 +43,8 @@
(def data-grid-cell data-grid/cell-)
(def data-grid-right-stack-cell data-grid/right-stack-cell-)
(defn link [{:keys [class href]} & children]
(into [:a {:href href
:class (str "font-medium text-blue-600 dark:text-blue-500 hover:underline " class)}]
(defn link [params & children]
(into [:a (update params :class str " font-medium text-blue-600 dark:text-blue-500 hover:underline ")]
children))