From bfcf6968826a521b6c14f699475e36c728a519f1 Mon Sep 17 00:00:00 2001 From: Clarence Chan Date: Tue, 24 Jun 2025 19:08:31 -0400 Subject: [PATCH] Add option for PPV events only --- .github/workflows/main.yml | 4 +-- index.html | 59 +++++++++++++++++++++++++++++++++++++- src/index.ts | 20 +++++++++++-- 3 files changed, 77 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 727c439c..99dec0c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,6 @@ jobs: run: | git config --global user.name "Clarence Chan" git config --global user.email "clarencechaan@icloud.com" - git add UFC.ics - git commit -m "Update UFC.ics" + git add UFC.ics UFC-PPV.ics + git commit -m "Update UFC.ics and UFC-PPV.ics" git push -u origin ics diff --git a/index.html b/index.html index 05b634d2..0b5c998d 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,27 @@ background-color: rgb(243, 243, 243); font-family: "Inter", sans-serif; } + .calendar-type-selector { + margin: 20px 0; + display: flex; + gap: 20px; + flex-wrap: wrap; + justify-content: center; + } + .calendar-type-selector label { + display: flex; + align-items: center; + gap: 8px; + cursor: pointer; + font-size: 16px; + line-height: 1; + } + .calendar-type-selector input[type="radio"] { + cursor: pointer; + width: 18px; + height: 18px; + margin: 0; + } .links { margin: 40px 20px; display: flex; @@ -65,15 +86,38 @@

Subscribe to this calendar to keep track of UFC events

+
+ + +