|
15 | 15 | {:code "(-> page/about :description :data)" |
16 | 16 | :data "Clojure Finland is a community that promotes the use of |
17 | 17 | Clojure in Finland. We organise meetups in Helsinki and |
18 | | - Tampere.<br /><br />If you are new to Clojure, check the |
| 18 | + Tampere.<br /><br />If you are new to Clojure, check the |
19 | 19 | <a href=\"https://clojure.org/guides/getting_started\">guides at |
20 | 20 | Clojure.org</a> and don’t hesitate to ask questions in e.g. #beginners |
21 | 21 | or #clojure-finland channels in |
22 | | - <a href=\"http://clojurians.net/\">Clojurians Slack</a> or |
| 22 | + <a href=\"http://clojurians.net/\">Clojurians Slack</a> or |
23 | 23 | #clojure channel in <a href=\"https://koodiklinikka.fi\">Koodiklinikka Slack</a>!"}}) |
24 | 24 |
|
25 | 25 | (def companies |
|
44 | 44 | {:name "Netum" :web "https://www.netum.fi"} |
45 | 45 | {:name "Nitor" :web "https://www.nitor.com"} |
46 | 46 | {:name "Reaktor" :web "https://www.reaktor.com"} |
| 47 | + {:name "Remod" :web "https://remod.fi/"} |
47 | 48 | {:name "Sharetribe" :web "https://www.sharetribe.com/"} |
48 | 49 | {:name "Solita" :web "https://www.solita.fi"} |
49 | 50 | {:name "Siili Solutions" :web "https://www.siili.com"} |
|
102 | 103 | {:email "<a href='mailto:clojurehelsinki@gmail.com'>clojurehelsinki@gmail.com</a>" |
103 | 104 | :github "https://github.com/ClojureFinland" |
104 | 105 | :slack [{:url "https://koodiklinikka.fi/" |
105 | | - :channel "#clojure" |
106 | | - :language "Finnish"} |
| 106 | + :channel "#clojure" |
| 107 | + :language "Finnish"} |
107 | 108 | {:url "https://join.slack.com/t/clojurians/shared_invite/zt-lsr4rn2f-jealnYXLHVZ61V2vdi15QQ" |
108 | 109 | :channel "#clojure-finland" |
109 | 110 | :language "English"}] |
|
134 | 135 | (defn map-output [m] |
135 | 136 | (let [n-items (count m)] |
136 | 137 | (map-indexed |
137 | | - (fn [i [k v]] |
138 | | - [:tr |
139 | | - (into [:td {:aria-hidden "true"}] (if (= 0 i) "{" " ")) |
140 | | - [:th {:scope "row"} (keyword-output k)] |
141 | | - [:td (let [column (cond |
142 | | - (map? v) (table-output v) |
143 | | - (coll? v) (table-output v) |
144 | | - (link? v) (link v) |
145 | | - :else (text-output v))] |
146 | | - (cond-> column |
147 | | - (= i (dec n-items)) (into [[:span {:aria-hidden "true"} "}"]])))]]) |
148 | | - m))) |
| 138 | + (fn [i [k v]] |
| 139 | + [:tr |
| 140 | + (into [:td {:aria-hidden "true"}] (if (= 0 i) "{" " ")) |
| 141 | + [:th {:scope "row"} (keyword-output k)] |
| 142 | + [:td (let [column (cond |
| 143 | + (map? v) (table-output v) |
| 144 | + (coll? v) (table-output v) |
| 145 | + (link? v) (link v) |
| 146 | + :else (text-output v))] |
| 147 | + (cond-> column |
| 148 | + (= i (dec n-items)) (into [[:span {:aria-hidden "true"} "}"]])))]]) |
| 149 | + m))) |
149 | 150 |
|
150 | 151 | (defn table-output |
151 | 152 | [data] |
|
0 commit comments