/**
* @crosscode/ui — the branded shell, cards, buttons, fields and notices shared by Accounts, the
* Church Website and the Church App. Colours come from `--brand` (see README).
*/
import React from "react";
const cx = (...c: (string | false | null | undefined)[]) => c.filter(Boolean).join(" ");
export type Branding = { name: string; shortName?: string | null; logoUrl?: string | null };
/** The page frame: the church's logo and name, then the content in a centred column. */
export function Shell({ branding, children, wide = false, aside }: { branding: Branding; children: React.ReactNode; wide?: boolean; aside?: React.ReactNode }) {
return (