about.clj 1 KB
Newer Older
Eduardo Diaz's avatar
Eduardo Diaz committed
1
2
3
4
5
6
7
8
9
10
(ns iamedu-web.ui.pages.about
  (:require [iamedu-web.config :as config]
            [iamedu-web.ui.markdown :as md])
  (:use hiccup.element
        hiccup.page
        iamedu-web.ui.components))

(defn about-page []
  (html5 [:html
          (html-head config/title-prefix "About Me"
Eduardo Diaz's avatar
Add CDN    
Eduardo Diaz committed
11
                     :css-sheets (config/css-sheets)
Eduardo Diaz's avatar
Eduardo Diaz committed
12
                     :raw-resources config/raw-resources)
Eduardo Diaz's avatar
Eduardo Diaz committed
13
14
15
16
17
          [:body
           (top-bar :about-me config/sections)
           (body-container
             (center-content
               [:h2.title.is-2 "About me"]
Eduardo Diaz's avatar
Add CDN    
Eduardo Diaz committed
18
19
               (pic-circle
                 (config/cdn-resource "img/iamedu.jpg")))
Eduardo Diaz's avatar
Eduardo Diaz committed
20
21
22
23
             [:div.section
              [:div.columns
               [:div.column.is-half.is-offset-one-quarter
                [:div.content
Eduardo Diaz's avatar
Eduardo Diaz committed
24
25
26
27
                 (md/resource-to-hiccup "content/about.md")]]]])
           (footer "about.clj"
                   :gitlab-prefix config/gitlab-prefix
                   :current-year (config/current-year))]]))