- @crosscode/ui: Shell with the church's colour wash, logo (or its initial) and name, footer; Card edged in the church's colour; Heading with an icon tile. Icons on every sign-in step. - contracts 1.9.0: churchLookSchema (logo, accent colour) in import.begin; church.branding request. Accounts fills (move) or replaces (button) the church profile's name, logo and colours. - Events 3.1.0: src/accounts/look.ts (logo as a full address), sent with a move; Settings -> Sign-in "Use this site's logo and colours". Tests: Accounts 55, contracts 218, Events 774, test:accounts 16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
623 B
TypeScript
19 lines
623 B
TypeScript
"use client";
|
|
|
|
import { LogOut } from "lucide-react";
|
|
import { Card, Heading, Shell } from "@crosscode/ui";
|
|
import { useBranding } from "@/components/BrandingProvider";
|
|
import { selfSignIn } from "@/lib/api";
|
|
|
|
export default function SignedOutPage() {
|
|
const branding = useBranding();
|
|
return (
|
|
<Shell branding={branding}>
|
|
<Card>
|
|
<Heading icon={<LogOut className="h-5 w-5" />} sub={`You've been signed out of all of ${branding.name}'s sites.`}>You're signed out</Heading>
|
|
<a href={selfSignIn("/account")} className="text-brand underline">Sign in again</a>
|
|
</Card>
|
|
</Shell>
|
|
);
|
|
}
|