Functional mobile invoice experience
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
:aws-access-key-id "AKIAINHACMVQJ6NYD26A"
|
||||
:aws-secret-access-key "FwdL4TbIC/5H/4mwhQy4iSI/eSewyPgfS1EEt6tL"
|
||||
:aws-region "us-east-1"
|
||||
:datomic-url "datomic:dev://localhost:4334/prod-migration2"
|
||||
:datomic-url "datomic:dev://localhost:4334/dev2"
|
||||
:invoice-import-queue-url "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-mail-staging"
|
||||
:background-task-definition "integreat_background-worker_prod"
|
||||
:requests-queue-url "https://sqs.us-east-1.amazonaws.com/679918342773/integreat-background-request-prod"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -52,26 +52,32 @@
|
||||
|
||||
(defn left-aside- [{:keys [nav page-specific]} & children]
|
||||
[:aside {:id "left-nav",
|
||||
:class "fixed top-0 left-0 pt-16 z-20 w-64 h-screen transition-transform -translate-x-full lg:translate-x-0",
|
||||
:class "fixed top-0 left-0 pt-16 z-20 w-64 h-screen transition-transform",
|
||||
"x-transition:enter" "transition duration-500"
|
||||
"x-transition:enter-start" "lg:-translate-x-full"
|
||||
"x-transition:enter-end" " lg:translate-x-0"
|
||||
"x-transition:enter-start" "-translate-x-full"
|
||||
"x-transition:enter-end" " translate-x-0"
|
||||
"x-transition:leave" "transition duration-500"
|
||||
"x-transition:leave-start" "lg:translate-x-0"
|
||||
"x-transition:leave-end" " lg:-translate-x-full"
|
||||
"x-transition:leave-start" "translate-x-0"
|
||||
"x-transition:leave-end" " -translate-x-full"
|
||||
|
||||
:aria-labelledby "left-nav"
|
||||
:x-show "leftNavShow"
|
||||
":aria-hidden" "leftNavShow ? 'false' : 'true'"}
|
||||
|
||||
[:template {:x-teleport "body"}
|
||||
|
||||
[:div.fixed.inset-0.lg:hidden {:x-show "leftNavShow" :x-transition:enter "transition duration-500" :x-transition:enter-start "opacity-0" :x-transition:enter-end "opacity-100"
|
||||
:x-transition:leave "transition duration-500" :x-transition:leave-start "opacity-100" :x-transition:leave-end "opacity-0"
|
||||
"@click.capture.prevent" "leftNavShow=false"}
|
||||
[:div.fixed.inset-0.bg-gray-800.z-10.opacity-70 ]]]
|
||||
|
||||
[:div {:class "overflow-y-auto py-5 px-3 h-full bg-gray-50 border-r border-gray-200 dark:bg-gray-800 dark:border-gray-700"}
|
||||
nav
|
||||
|
||||
|
||||
(when page-specific
|
||||
[:div {:class " pt-5 mt-5 space-y-2 border-t border-gray-200 dark:border-gray-700"}
|
||||
page-specific]
|
||||
)]])
|
||||
page-specific])]])
|
||||
|
||||
(defn main-aside-nav- [request]
|
||||
[:ul {:class "space-y-1"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
[:span {:class "sr-only"} "Open sidebar"]
|
||||
[:svg {:class "w-6 h-6", :aria-hidden "true", :fill "currentColor", :viewbox "0 0 20 20", :xmlns "http://www.w3.org/2000/svg"}
|
||||
[:path {:clip-rule "evenodd", :fill-rule "evenodd", :d "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z"}]]]
|
||||
[:a {:href "/" :class "flex ml-2 md:mr-24"}
|
||||
[:a {:href "/" :class "flex ml-2 hidden md:mr-24 sm:inline"}
|
||||
[:img {:src "/img/logo-big2.png", :class "h-10 mr-16", :alt "Integreat logo"}]]]
|
||||
|
||||
[:div {:class "flex items-center gap-4"}
|
||||
|
||||
Reference in New Issue
Block a user