fixes problems in the ui.

This commit is contained in:
2024-08-09 22:21:29 -07:00
parent 1bb8387051
commit ddf358379a
5 changed files with 48 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
(ns auto-ap.ssr.not-found
(:require [auto-ap.ssr.components :as com]
[auto-ap.ssr.ui :refer [base-page]]))
(defn page [{:keys [identity matched-route] :as request}]
(base-page
request
(com/page { :request request
:client (:client request)
:clients (:clients request)
:identity (:identity request)
:app-params {}}
#_(com/breadcrumbs {}
[:a {:href (bidi/path-for ssr-routes/only-routes
:company)}
"My Company"])
[:div.flex.items-center.justify-center.flex-col
[:div.text-2xl.font-bold.text-gray-600 "Page not found"]
[:p.text-gray-500 "Sorry, we can't find the page you're looking for. Try going " (com/link {:href "/"} "home") " and try again."]])
"Not found"))