Commit 1ce970dc authored by Grant's avatar Grant
Browse files

add calendar (.ics) invite

parent cf792d92
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192zM224 248c13.3 0 24 10.7 24 24v56h56c13.3 0 24 10.7 24 24s-10.7 24-24 24H248v56c0 13.3-10.7 24-24 24s-24-10.7-24-24V376H144c-13.3 0-24-10.7-24-24s10.7-24 24-24h56V272c0-13.3 10.7-24 24-24z"/></svg>
 No newline at end of file

event.ics

0 → 100644
+10 −0
Original line number Diff line number Diff line
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
DTSTART:20240712T040000Z
DTEND:20240715T040000Z
SUMMARY:Canvas 2024
DESCRIPTION:It's Canvas 2024\n\nhttps://toast.ooo/c/canvas\nhttps://social.fediverse.events/@canvas
LOCATION:https://canvas.fediverse.events
END:VEVENT
END:VCALENDAR
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@
          <img src="assets/lemmy.svg" />
          <span>!canvas@toast.ooo</span>
        </a>
        <a href="event.ics" class="btn btn-calendar" target="_blank">
          <img src="assets/fa-calendar-plus-solid.svg" />
          <span>Add to calendar (.ics)</span>
        </a>
      </div>
    </main>

+8 −0
Original line number Diff line number Diff line
@@ -77,6 +77,14 @@ main {
  --background-color: #aaa;
}

.btn-calendar {
  --background-color: #fff;
}

.btn-calendar {
  border: 1px solid #ddd;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;