mirror of
https://github.com/penpot/penpot.git
synced 2026-05-28 03:13:40 +00:00
25 lines
785 B
Clojure
25 lines
785 B
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
;;
|
|
;; This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
;; defined by the Mozilla Public License, v. 2.0.
|
|
;;
|
|
;; Copyright (c) 2020 UXBOX Labs SL
|
|
|
|
(ns uxbox.main.ui.not-found
|
|
(:require
|
|
[cljs.spec.alpha :as s]
|
|
[rumext.alpha :as mf]
|
|
[uxbox.builtins.icons :as i]))
|
|
|
|
(mf/defc not-found-page
|
|
[{:keys [error] :as props}]
|
|
(js/console.log "not-found" error)
|
|
[:section.not-found-layout
|
|
[:div.not-found-header i/logo]
|
|
[:div.not-found-content
|
|
[:div.message-container
|
|
[:div.main-message "404"]
|
|
[:div.desc-message "Oops! Page not found"]]]])
|