fixes problems in the ui.
This commit is contained in:
22
src/clj/auto_ap/ssr/not_found.clj
Normal file
22
src/clj/auto_ap/ssr/not_found.clj
Normal 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"))
|
||||
Reference in New Issue
Block a user