<commit_before>(ns starcity.views.landing
  (:require [hiccup.core :refer [html]]
            [hiccup.page :refer [html5 include-css include-js]]))

;; =============================================================================
;; Constants

;; (def ^{:private true} HEAD-JS
;;   [])

(def ^{:private true} HEAD-CSS
  ["assets/css/bootstrap.css"
   "assets/css/material-design-iconic-font.min.css"
   "assets/css/re-com.css"])

(def ^{:private true} HEAD-FONTS
  ["http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"
   "http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300"])

(def ^{:private true} BODY-JS
  ["/js/main.js"])

;; =============================================================================
;; Components

(defn- head [title]
  [:head
   [:meta {:charset "utf-8"}]
   [:meta {:http-equiv "X-UA-Compatible" :content "IE=edge"}]
   [:meta {:name "viewport" :content "width=device-width, initial-scale=1"}]
   (apply include-css (concat HEAD-CSS HEAD-FONTS))
   [:title title]])

;; =============================================================================
;; API

(defn landing-page [req]
  (html5
   {:lang "en"}
   (head "Starcity")
   [:body
    [:div#app
     [:h1 "Hello, Jocelyn!"]]
    ;; TODO: advanced cljs
    ;; (apply include-js BODY-JS)
    ]))<commit_msg>test complete<commit_after>(ns starcity.views.landing
  (:require [hiccup.core :refer [html]]
            [hiccup.page :refer [html5 include-css include-js]]))

;; =============================================================================
;; Constants

;; (def ^{:private true} HEAD-JS
;;   [])

(def ^{:private true} HEAD-CSS
  ["assets/css/bootstrap.css"
   "assets/css/material-design-iconic-font.min.css"
   "assets/css/re-com.css"])

(def ^{:private true} HEAD-FONTS
  ["http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic"
   "http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300"])

(def ^{:private true} BODY-JS
  ["/js/main.js"])

;; =============================================================================
;; Components

(defn- head [title]
  [:head
   [:meta {:charset "utf-8"}]
   [:meta {:http-equiv "X-UA-Compatible" :content "IE=edge"}]
   [:meta {:name "viewport" :content "width=device-width, initial-scale=1"}]
   (apply include-css (concat HEAD-CSS HEAD-FONTS))
   [:title title]])

;; =============================================================================
;; API

(defn landing-page [req]
  (html5
   {:lang "en"}
   (head "Starcity")
   [:body
    [:div#app
     [:h1 "Hello, Starcity!"]]
    ;; TODO: advanced cljs
    ;; (apply include-js BODY-JS)
    ]))
{'fraction_non_alphanumeric': 0.34529656214582544, 'fraction_numerical': 0.019644880997355497, 'mean_word_length': 4.6581196581196584, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4506723', 'n_tokens_mistral': 959, 'n_tokens_neox': 855, 'n_words': 161}