Skip to content

Commit f172bc5

Browse files
committed
add townscript integration, make dates prominent
1 parent 06d1746 commit f172bc5

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

resources/public/css/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,7 @@ table {
823823
}
824824
}
825825

826-
#boxoffice-widget {
827-
padding-top: 0px !important;
826+
#ticket-widget {
827+
border: 1px dotted black;
828+
margin-bottom: 1.5em;
828829
}

src/cljs/inclojure_website/page.cljs

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
;; ----------
4343
;;
4444

45-
(def nav-links {"Venue" "venue"
45+
(def nav-links {"Tickets" "tickets"
46+
"Venue" "venue"
4647
"Sponsors" "sponsorship"
47-
"Workshop" "workshops"
48-
"Call For Proposals" "cfp"}
48+
"Workshop" "workshops"}
4949
#_{"Tickets" "tickets"
5050
"Talks" "talks"
5151
"Workshops" "workshops"
@@ -126,7 +126,8 @@
126126
[:p.intro data/conf " is India's annual Clojure conference."]
127127
[:p "Our focus: the free exchange of ideas between new and
128128
experienced Clojure programmers alike. We are volunteer-run, and
129-
not-for-profit."]])
129+
not-for-profit."]
130+
[:p "When: 22nd and 23rd March."]])
130131

131132
(defn venue []
132133
[:section {:id "venue"}
@@ -287,8 +288,12 @@
287288
[:img {:alt "Github", :src "images/github.png"}]]]]]])
288289

289290
(defn tickets []
290-
#_[:section {:id "tickets"}
291-
[:h2 "Tickets"]])
291+
[:section {:id "tickets"}
292+
[:h2 "Tickets"]
293+
[:div#ticket-widget
294+
[:iframe {:id "ts-iframe", :src "https://www.townscript.com/v2/widget/inclojure-2024/booking", :frameborder "0", :height "600", :width "100%"}]
295+
[:link {:rel "stylesheet", :href "https://www.townscript.com/static/Bookingflow/css/ts-iframe.style.css"}]]
296+
[:p "Issues with booking? Try " [:a {:href "https://www.townscript.com/v2/e/inclojure-2024/booking"} "this page"] "."]])
292297

293298
(defn action-shots []
294299
[:section {:id "action-shots"}
@@ -491,12 +496,12 @@
491496
[keynote]
492497
#_[talks]
493498
[venue]
494-
[cfp]
495-
[schedule]
499+
#_[schedule]
500+
[tickets]
501+
#_[cfp]
496502
[talk-selectors]
497503
[sponsorship]
498504
[workshops-section]
499-
[tickets]
500505
[action-shots]
501506
[coc]
502507
[team]])

0 commit comments

Comments
 (0)