Accounts 1.7.0 + @crosscode/ui 0.2.0: brand style, the church's fonts and footer, church.update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 17:02:16 +02:00
co-authored by Claude Opus 5.5
parent 0e3534f29f
commit 45a2edd4cc
65 changed files with 963 additions and 55 deletions
@@ -0,0 +1,16 @@
"use client";
import React from "react";
import { ChurchFooter, Shell } from "@crosscode/ui";
import { useBranding } from "@/components/BrandingProvider";
/**
* The frame of the public pages (sign in, forgot, reset, signed out, confirm email) with the
* church's shared footer (1.7.0, WEBSITE-1.0-PLAN §9): its service times, contact and links to its
* other sites, as on the Website and Cross Events.
*/
export function PublicShell({ children }: { children: React.ReactNode }) {
const branding = useBranding();
const footer = branding.church ? <ChurchFooter church={branding.church} current="accounts" privacyUrl="/privacy" /> : undefined;
return <Shell branding={branding} footer={footer}>{children}</Shell>;
}