|
271 | 271 | {:href "#"} |
272 | 272 | [:img.article-image.keynote |
273 | 273 | {:alt "deobald", |
274 | | - :src "images/speakers/steven.png"}]] |
| 274 | + :src "images/speakers/steven.jpg"}]] |
275 | 275 | [:h4 "The Grift, the Grind, and the " [:span.devanagari "ग्रंथ"]] |
276 | 276 | [:p.article-subtitle |
277 | 277 | "By " [:a {:href "https://www.deobald.ca/"} "Steven Deobald"]] |
|
282 | 282 | walkable cities."] |
283 | 283 | [:div.article-fine-print.no-mobile |
284 | 284 | [: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"}]] |
287 | 287 | [:a |
288 | 288 | {:href "https://github.com/deobald"} |
289 | 289 | [:img {:alt "Github", :src "images/github.png"}]]]]]]) |
|
486 | 486 | [:section {:id "speaker-list"} |
487 | 487 | [:h2 "Talks"] |
488 | 488 | [: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] |
490 | 490 | ^{:key (str (random-uuid))} |
491 | 491 | [:li {:id (-> name (string/split " ") first str string/lower-case)} |
492 | 492 | [:a |
493 | 493 | {:href "#"} |
494 | 494 | [:img.speakers.article-image.location |
495 | 495 | {:src avatar}]] |
496 | 496 | [: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]] |
498 | 498 | [:p.article-subtitle [:strong "About the talk"] ": " talk-summary] |
499 | 499 | (when (not-empty bio) [:p.article-subtitle [:strong "About the speaker"] ": " bio]) |
500 | 500 | [: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"}]]) |
504 | 508 | [:a |
505 | 509 | {:href github} |
506 | 510 | [:img {:alt "Github", :src "images/github.png"}]]]])]]) |
|
0 commit comments