Youth events need a name and date of birth for every attendee, and a parent/guardian's details for under-18s. Parents get an email and WhatsApp link to a consent page that records the signed name, time, IP, device and exact consent text; medical and emergency details are stored encrypted. Tickets are issued but check-in is blocked until consent is given (supervisor override audited). A daily job sends reminders and purges medical details after the retention period. Adds a supervisor consent tracker, consent status and medical list reports, and clears consent data when an account is anonymised. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
61 lines
3.1 KiB
TypeScript
61 lines
3.1 KiB
TypeScript
import React from "react";
|
|
import { Ticket, Tag, Share2, QrCode, Calendar, Users } from "lucide-react";
|
|
import { GuideItem } from "@/components/shared/GuideItem";
|
|
import type { HelpContent } from "./types";
|
|
|
|
/** Help content for a single public event page (/events/[id]). */
|
|
export const eventDetailHelpContent: HelpContent = {
|
|
title: "Event details help",
|
|
subtitle: "Understanding pricing, availability, and how to register.",
|
|
quickLinks: [
|
|
{ label: "Browse all events", href: "/events", icon: Calendar },
|
|
],
|
|
tabs: [
|
|
{
|
|
key: "tickets",
|
|
label: "Tickets & pricing",
|
|
icon: Tag,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>The tickets panel lists every option available for this event, with live availability.</p>
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Tag} title="Early-bird pricing" tone="amber">
|
|
If a discounted price is shown with the original struck through, an early-bird window is active — the price rises automatically once it ends. Got a discount code? Enter it on the registration page under "Have a code?" (you need to be logged in).
|
|
</GuideItem>
|
|
<GuideItem icon={Ticket} title="Availability badges" tone="brand">
|
|
"N remaining" appears once stock runs low, and "Sold out" once an option is fully booked.
|
|
</GuideItem>
|
|
<GuideItem icon={Users} title="Registering for other people?" tone="violet">
|
|
Some events let you name each person you're booking for. Each named person gets their own ticket and their own attendee form, and you can choose to have every ticket sent to you or each person their own. On youth events, you'll give each person's date of birth; for anyone under 18, their parent or guardian is asked to give consent by email and WhatsApp before they can be checked in.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
key: "registering",
|
|
label: "Registering",
|
|
icon: Ticket,
|
|
content: (
|
|
<div className="space-y-4">
|
|
<p>The Register button reflects the event's current state:</p>
|
|
<ul className="list-disc pl-5 space-y-1 text-sm text-gray-600">
|
|
<li><strong>Opens <date></strong> — registration hasn't started yet.</li>
|
|
<li><strong>Registration closed</strong> — the deadline or event has passed.</li>
|
|
<li><strong>Sold Out</strong> — every ticket option is fully booked.</li>
|
|
<li><strong>Register</strong> — you're good to go.</li>
|
|
</ul>
|
|
<div className="space-y-4">
|
|
<GuideItem icon={Share2} title="Share & Save QR" tone="green">
|
|
Use Share to send the event link, or Save QR to download a scannable code for the page — handy for posters or flyers.
|
|
</GuideItem>
|
|
<GuideItem icon={QrCode} title="Downloads" tone="violet">
|
|
If the organiser has attached files (like a program or map), they appear in the Downloads section below the description.
|
|
</GuideItem>
|
|
</div>
|
|
</div>
|
|
),
|
|
},
|
|
],
|
|
};
|