Skip to content

Commit

Permalink
Vendor in css.gg icons
Browse files Browse the repository at this point in the history
They no longer have an API we can use.
  • Loading branch information
jeaye committed Aug 31, 2024
1 parent 998f4a9 commit ccaaa94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions resources/public/css/icon.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/org/jank_lang/page/view.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns org.jank_lang.page.view
(:require [clojure.string]
[clojure.java.io :as io]
[hiccup.page :as page]
[stringer.core :refer [strcat]]
[taoensso.timbre :as timbre]))
Expand Down Expand Up @@ -66,7 +67,7 @@
[:i {:class "gg-twitter"}]]
"Twitter"]]]]]]))

(def css-icons (slurp "https://css.gg/css?=home|sync|bulb|list|link|git-fork|info|slack|math-minus|check-o|heart|twitter|comment"))
(def css-icons (slurp (io/resource "public/css/icon.css")))

(defn page-root [props & body]
(page/html5 {}
Expand Down

0 comments on commit ccaaa94

Please sign in to comment.