Minor fixes
This commit is contained in:
24
src/cljs/auto_ap/views/pages/error.cljs
Normal file
24
src/cljs/auto_ap/views/pages/error.cljs
Normal file
@@ -0,0 +1,24 @@
|
||||
(ns auto-ap.views.pages.error
|
||||
(:require [re-frame.core :as re-frame]
|
||||
[auto-ap.views.components.layouts :refer [side-bar-layout]]))
|
||||
|
||||
(re-frame/reg-sub
|
||||
::error
|
||||
(fn [db]
|
||||
(:initial-error db)))
|
||||
|
||||
(defn error-page []
|
||||
[:div.container
|
||||
[:section.is-fullheight.hero
|
||||
[:div.hero-body
|
||||
[:div.container
|
||||
[:div.column.is-8.is-offset-2.has-text-centered
|
||||
|
||||
[:div.box.slideInFromBelow
|
||||
[:img {:src "http://www.integreatconsult.com/wp-content/uploads/2016/11/logo.png"}]
|
||||
[:div.notification.is-danger.is-light "An unexpected error has occured. "
|
||||
[:a {:on-click #(.reload (.-location js/document )) } "Click here"]
|
||||
" to try again."]]
|
||||
[:p.has-text-gray
|
||||
"Copyright Integreat 2020"]]]]]]
|
||||
)
|
||||
Reference in New Issue
Block a user