Skip to content

Commit 11d60bb

Browse files
committed
updates to speakers and keynote
1 parent e2fe376 commit 11d60bb

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

resources/public/images/mastodon.ico

14.7 KB
Binary file not shown.
31.4 KB
Loading

src/cljs/inclojure_website/data.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Bangalore-Clojure meetup group."}])
157157
{:name "Abhinav Sarkar"
158158
:talk-title "Functional Programming Patterns"
159159
:github "https://abhinavsarkar.net/"
160-
:twitter "https://fantastic.earth/@abnv"
160+
:masto "https://fantastic.earth/@abnv"
161161
:www "https://abhinavsarkar.net/"
162162
:avatar "images/speakers/abhinav.jpg"
163163
:bio "Abhinav works as a Senior Engineer at Google Abhinav has worked

src/cljs/inclojure_website/page.cljs

+12-8
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
{:href "#"}
272272
[:img.article-image.keynote
273273
{:alt "deobald",
274-
:src "images/speakers/steven.png"}]]
274+
:src "images/speakers/steven.jpg"}]]
275275
[:h4 "The Grift, the Grind, and the " [:span.devanagari "ग्रंथ"]]
276276
[:p.article-subtitle
277277
"By " [:a {:href "https://www.deobald.ca/"} "Steven Deobald"]]
@@ -282,8 +282,8 @@
282282
walkable cities."]
283283
[:div.article-fine-print.no-mobile
284284
[:a
285-
{:href "https://twitter.com/deobald"}
286-
[:img {:alt "Twitter", :src "images/twitter.png"}]]
285+
{:href "https://fantastic.earth/@deobald"}
286+
[:img {:alt "Twitter", :src "images/mastodon.ico"}]]
287287
[:a
288288
{:href "https://github.com/deobald"}
289289
[:img {:alt "Github", :src "images/github.png"}]]]]]])
@@ -486,21 +486,25 @@
486486
[:section {:id "speaker-list"}
487487
[:h2 "Talks"]
488488
[:ol.article-list
489-
(for [{:keys [name talk-title github twitter www avatar bio talk-summary]} data/speakers]
489+
(for [{:keys [name talk-title github masto twitter www avatar bio talk-summary]} data/speakers]
490490
^{:key (str (random-uuid))}
491491
[:li {:id (-> name (string/split " ") first str string/lower-case)}
492492
[:a
493493
{:href "#"}
494494
[:img.speakers.article-image.location
495495
{:src avatar}]]
496496
[:h4 talk-title]
497-
[:p.article-subtitle "By " [:a {:href (or www twitter github)} name]]
497+
[:p.article-subtitle "By " [:a {:href (or www twitter masto github)} name]]
498498
[:p.article-subtitle [:strong "About the talk"] ": " talk-summary]
499499
(when (not-empty bio) [:p.article-subtitle [:strong "About the speaker"] ": " bio])
500500
[:div.article-fine-print.no-mobile
501-
[:a
502-
{:href twitter}
503-
[:img {:alt "Twitter", :src "images/twitter.png"}]]
501+
(cond
502+
(not-empty twitter) [:a
503+
{:href twitter}
504+
[:img {:alt "Twitter", :src "images/twitter.png"}]]
505+
(not-empty masto) [:a
506+
{:href masto}
507+
[:img {:alt "Mastodon", :src "images/mastodon.ico"}]])
504508
[:a
505509
{:href github}
506510
[:img {:alt "Github", :src "images/github.png"}]]]])]])

0 commit comments

Comments
 (0)