File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11(ns tryclojure.views.home
22 (:require [hiccup.element :refer [javascript-tag link-to unordered-list]]
3- [hiccup.page :refer [include-css include-js html5]]))
3+ [hiccup.page :refer [include-css include-js html5]]
4+ [hiccup.core :refer [html]]))
45
56(defn links-html []
6- (html5
7+ (html
78 (unordered-list
89 [(link-to " http://clojure.org" " The official Clojure website" )
910 (link-to " http://clojure-doc.org/" " Clojure tutorials and documentation" )
1314 (link-to " http://planet.clojure.in" " Planet Clojure" )])))
1415
1516(defn about-html []
16- (html5
17+ (html
1718 [:p.bottom
1819 " Welcome to Try Clojure - a quick tour of Clojure for absolute beginners." ]
1920 [:p.bottom
2930 " The design is by " (link-to " http://apgwoz.com" " Andrew Gwozdziewycz" ) " ." ]))
3031
3132(defn home-html []
32- (html5
33+ (html
3334 [:p.bottom
3435 " Welcome to Clojure! "
3536 " You can see a Clojure interpreter above - we call it a <em>REPL</em>." ]
You can’t perform that action at this time.
0 commit comments