Skip to content

Commit

Permalink
feat: replace button with LinkButton for calendar integration and add…
Browse files Browse the repository at this point in the history
… ticket_dates.ics file
  • Loading branch information
dada878 committed Jan 14, 2025
1 parent 981389f commit e0fd48d
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/(website)/(pages)/tickets/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,15 @@ export default function Page() {
2025/02/09 20:00~2025/02/22 23:59
</li>
</ul>
<button className="mt-8 rounded-full bg-[#9c9c9c] p-3 text-normal font-semibold text-[#ffffff] md:bg-[#ffffff] md:text-background-light">
將 SITCON 2025 重要日程加入行事曆
</button>
<LinkButton
link={"/website/ticket_dates.ics"}
target="_blank"
text="加入行事曆"
className="mt-8 bg-[#9c9c9c] text-[#ffffff] hover:brightness-90 md:w-full md:bg-[#ffffff] md:text-background-light"
/>
{/* <button className="mt-8 w-full rounded-full bg-[#9c9c9c] p-3 text-normal font-semibold text-[#ffffff] md:bg-[#ffffff] md:text-background-light"> */}
{/* 加入行事曆 */}
{/* </button> */}
</div>
<div className="flex h-full justify-center md:w-1/12">
<div className="dashLine" />
Expand Down
55 changes: 55 additions & 0 deletions public/website/ticket_dates.ics
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//ical.marudot.com//iCal Event Maker
X-WR-CALNAME:Asia/Taipei
NAME:Asia/Taipei
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Asia/Taipei
LAST-MODIFIED:20240422T053450Z
TZURL:https://www.tzurl.org/zoneinfo-outlook/Asia/Taipei
X-LIC-LOCATION:Asia/Taipei
BEGIN:STANDARD
TZNAME:CST
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
DTSTART:19700101T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20250114T162435Z
UID:[email protected]
DTSTART;TZID=Asia/Taipei:20250112T200000
DTEND;TZID=Asia/Taipei:20250125T235500
SUMMARY:🎟️ SITCON 2025 第一波搶票
URL:https://sitcon.kktix.cc/events/sitcon2025
DESCRIPTION:https://sitcon.kktix.cc/events/sitcon2025\n第一波搶票
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20250114T162435Z
UID:[email protected]
DTSTART;VALUE=DATE:20250121
DTEND;VALUE=DATE:20250122
SUMMARY:✈️ SITCON 2025 遠道而來票申請截止
URL:https://hackmd.io/@SITCON/H18WacxQ1x
DESCRIPTION:https://hackmd.io/@SITCON/H18WacxQ1x\n遠道而來票申請截止
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20250114T162435Z
UID:[email protected]
DTSTART;VALUE=DATE:20250121
DTEND;VALUE=DATE:20250122
SUMMARY:💻 SITCON 2025 開源貢獻票申請截止
URL:https://ocf.tw/p/oscvpass/
DESCRIPTION:https://ocf.tw/p/oscvpass/\n開源貢獻票申請截止
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20250114T162435Z
UID:[email protected]
DTSTART;TZID=Asia/Taipei:20250209T200000
DTEND;TZID=Asia/Taipei:20250222T235500
SUMMARY:🎟️ SITCON 2025 第二波搶票
URL:https://sitcon.kktix.cc/events/sitcon2025
DESCRIPTION:https://sitcon.kktix.cc/events/sitcon2025\n第一波搶票
END:VEVENT
END:VCALENDAR

0 comments on commit e0fd48d

Please sign in to comment.