The 24-hour clock on the Prayer tab (midnight at the top, the night half darker, open slots dashed, your own in gold, a hand at now), live over the stream with polling as the fallback; tap an hour for Cover it / Join, the open hours as buttons; signed out, back from Accounts with that slot's sheet open. The booking sheet (once, every week, every day; length, end, reminder and channel, a note), Me → My prayer (skip, add back, reminder, end date, stop, renew, "I prayed"), the renew and "I prayed" link pages, sharing a testimony, Home's small clock with the next gap and your next slot, the campaign card. The admin's House of Prayer: the week, who prays when (names, access-logged), booking for a member, the rules, campaigns, testimonies. Checked in a browser on a throwaway PostgreSQL: one member books through the sheet and a visitor's clock updates live; no page errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 lines
277 B
TypeScript
3 lines
277 B
TypeScript
/** Where "Sign in" goes: Accounts, and back to that exact page (ROADMAP-v3 §3). `mfa` for the admin. Safe in client components. */
|
|
export const signInHref = (returnTo: string, mfa = false) => `/api/auth/signin?returnTo=${encodeURIComponent(returnTo)}${mfa ? "&mfa=1" : ""}`;
|