put an icon on the page so preview cards can grab it for #56

This commit is contained in:
Morgan Astra 2017-03-08 22:48:40 -08:00
parent b16cf5d7c9
commit 368c73b55e
3 changed files with 9 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -19,6 +19,7 @@
[pronouns.config :refer [*pronouns-table*]] [pronouns.config :refer [*pronouns-table*]]
[pronouns.util :as u] [pronouns.util :as u]
[hiccup.core :refer :all] [hiccup.core :refer :all]
[hiccup.element :as e]
[hiccup.util :refer [escape-html]])) [hiccup.util :refer [escape-html]]))
(defn prose-comma-list (defn prose-comma-list
@ -70,7 +71,7 @@
(defn header-block [header] (defn header-block [header]
[:div {:class "section title"} [:div {:class "section title"}
(href "/" [:h1 header])]) (href "/" [:h1 (e/image "/purple-flag64.png" "flag logo") header])])
(defn examples-block (defn examples-block
[subject object possessive-determiner possessive-pronoun reflexive] [subject object possessive-determiner possessive-pronoun reflexive]

View File

@ -18,11 +18,14 @@
(:require [compojure.core :refer [defroutes GET PUT POST DELETE ANY]] (:require [compojure.core :refer [defroutes GET PUT POST DELETE ANY]]
[compojure.handler :refer [site]] [compojure.handler :refer [site]]
[compojure.route :as route] [compojure.route :as route]
[clojure.java.io :as io]
[clojure.string :as s] [clojure.string :as s]
[clojure.java.io :as io]
[ring.middleware.logger :as logger] [ring.middleware.logger :as logger]
[ring.middleware.stacktrace :as trace] [ring.middleware.stacktrace :as trace]
[ring.middleware.params :as params] [ring.middleware.params :as params]
[ring.middleware.resource :refer [wrap-resource]]
[ring.middleware.content-type :refer [wrap-content-type]]
[ring.middleware.not-modified :refer [wrap-not-modified]]
[ring.adapter.jetty :as jetty] [ring.adapter.jetty :as jetty]
[environ.core :refer [env]] [environ.core :refer [env]]
[pronouns.util :as u] [pronouns.util :as u]
@ -58,6 +61,9 @@
(def app (def app
(-> app-routes (-> app-routes
(wrap-resource "images")
wrap-content-type
wrap-not-modified
logger/wrap-with-logger logger/wrap-with-logger
wrap-error-page wrap-error-page
trace/wrap-stacktrace trace/wrap-stacktrace