Files
integreat/src/cljs/auto_ap/views/pages/error.cljs
Bryce Covert 12f9982cd7 Minor fixes
2020-09-17 22:28:53 -07:00

25 lines
765 B
Clojure

(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"]]]]]]
)