-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cljs
28 lines (27 loc) · 947 Bytes
/
main.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(ns mockingbird.examples.main
(:require
[helix.core :refer [$]]
[helix.dom :as d]
[mockingbird.components.message :refer [message]]
[mockingbird.examples.hero :refer [hero]]
[mockingbird.layout.aside :refer [aside]]
[mockingbird.layout.footer :refer [footer]]
[mockingbird.layout.header :refer [header]]
[mockingbird.layout.main :refer [main]]
[mockingbird.layout.navbar :refer [nav-bar]]
[mockingbird.lib :refer-macros [defnc]]))
(defnc app []
(d/div {:class "w-screen h-screen"}
($ header
($ nav-bar {:logo "/images/logo.png"})
($ hero))
(comment ($ aside))
($ main
($ message
{:title "Welcome to mockingbird"
:email "[email protected]"
:author "moclojer team"
:image "/images/logo.png"
:image-style "rounded"
:message [""]}))
($ footer)))