Minor fixes

This commit is contained in:
Bryce Covert
2020-09-17 22:28:53 -07:00
parent 2e18e2da26
commit 12f9982cd7
5 changed files with 66 additions and 5 deletions

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