Skip to content

Commit f5350ae

Browse files
committed
Add ticket section
1 parent 1ec9c45 commit f5350ae

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Website/Sources/Components/TicketsComponent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct TicketsComponent: HTML {
66
var body: some HTML {
77
Section {
88
Text(markdown: String(
9-
"You can get ticket from <a href=\"https://lu.ma/z6j3c1bd\" target=\"_blank\">Luma</a> or get from below.<br>Before getting ticket please read [FAQ](/faq_en).",
9+
"You can get ticket from <a href=\"https://lu.ma/qydkgwtf\" target=\"_blank\">Luma</a> or get from below.<br>Before getting ticket please read [FAQ](/faq_en).",
1010
language: language
1111
))
1212
.font(.lead)

Website/Sources/Pages/HomeSections.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ enum HomeSectionType: String, CaseIterable {
77
case about = "About"
88
case outline = "Outline"
99
case speaker = "Speaker"
10+
case tickets = "Tickets"
1011
case meetTheHosts = "Meet the Hosts"
1112
case timetable = "Timetable"
1213
case sponsor = "Sponsor"
@@ -65,6 +66,9 @@ extension HomeSectionType {
6566
SectionHeader(type: self, language: language)
6667
OutlineComponent(year: year, language: language)
6768
.padding(.bottom, .px(32))
69+
case .tickets:
70+
SectionHeader(type: self, language: language)
71+
TicketsComponent(language: language)
6872
case .speaker:
6973
SectionHeader(type: self, language: language)
7074

0 commit comments

Comments
 (0)