import Link from "next/link"; import { auth } from "@/auth/config"; import { hasPermission } from "@/auth/permissions"; import type { SystemRole } from "@/auth/roles"; import { listLessons } from "@/db/training"; import { trainingBodyToHtml } from "@/lib/rich-text"; import { TrainingPanel } from "@/components/app/training-panel"; import { BookOpenCheck, Download, ShieldCheck, UserRound } from "lucide-react"; export const metadata = { title: "Training" }; /** * Training content. Volunteers see published lessons and attachments; admins * can author, publish, upload, and delete. Content is stored in Postgres and * attachments under the uploads volume, so it is editable with no deploy. */ export default async function TrainingPage() { const session = await auth(); const role = (session?.user as { systemRole?: SystemRole } | undefined)?.systemRole; const canEdit = hasPermission(role, "training.author"); const lessons = (await listLessons({ includeUnpublished: canEdit })).map( (lesson) => ({ ...lesson, body: trainingBodyToHtml(lesson.body), }), ); return (

Training

How-tos and checklists for serving on the media team.

Full guides

Complete, illustrated walkthroughs with screenshots. Read them here or download the PDF for printing and offline use.

Platform administration guide

People and access, skill verification, positions, services and publishing, coverage, run sheets, email, notifications, backups, and exports.

Volunteer guide

Signing in, your next serve, the schedule, availability, swaps, run sheets, events and media, training, profile, and reminders.

); }