init blank project

This commit is contained in:
Christian Mueller
2012-05-20 12:50:58 +02:00
commit f994ff4607
7 changed files with 117 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
(ns NoteHub.views.common
(:use [noir.core :only [defpartial]]
[hiccup.page-helpers :only [include-css html5]]))
(defpartial layout [& content]
(html5
[:head
[:title "NoteHub"]
(include-css "/css/reset.css")]
[:body
[:div#wrapper
content]]))
+9
View File
@@ -0,0 +1,9 @@
(ns NoteHub.views.welcome
(:require [NoteHub.views.common :as common]
[noir.content.getting-started])
(:use [noir.core :only [defpage]]
[hiccup.core :only [html]]))
(defpage "/welcome" []
(common/layout
[:p "Welcome to NoteHub"]))