OK, at this stage it's just an empty LuminusWeb project...
This commit is contained in:
commit
e455387f96
19 changed files with 547 additions and 0 deletions
15
src/mw_ui/routes/home.clj
Normal file
15
src/mw_ui/routes/home.clj
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
(ns mw-ui.routes.home
|
||||
(:use compojure.core)
|
||||
(:require [mw-ui.layout :as layout]
|
||||
[mw-ui.util :as util]))
|
||||
|
||||
(defn home-page []
|
||||
(layout/render
|
||||
"home.html" {:content (util/md->html "/md/docs.md")}))
|
||||
|
||||
(defn about-page []
|
||||
(layout/render "about.html"))
|
||||
|
||||
(defroutes home-routes
|
||||
(GET "/" [] (home-page))
|
||||
(GET "/about" [] (about-page)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue