Implement proof of concept push notifications

This commit is contained in:
Hornwitser 2025-02-28 15:32:03 +01:00
parent e3210afe3a
commit 6007f4caeb
13 changed files with 407 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import { ScheduleProvider } from "./context"
import { Events } from "@/ui/events";
import { Locations } from "@/ui/locations";
import { EventsEdit } from "@/ui/events-edit";
import { PushNotification } from "@/ui/push-notification";
export const dynamic = "force-dynamic";
@ -17,6 +18,10 @@ export default async function page() {
<p>
Study carefully, we only hold these events once a year.
</p>
<p>
Get notified about updates
</p>
<PushNotification vapidPublicKey={process.env.VAPID_PUBLIC_KEY!} />
<h2>Schedule</h2>
<Timetable />
<EventsEdit />