diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bfdc85..14c339a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,8 @@ Demo data from the Hub, for installs marked as demo sites (Hub 2.4.0). Hub checks the agent's version first. - **Events 2.4.1:** `set-demo.js` says to run as the site's user instead of failing with "client password must be a string" and hanging; keeps the site's oldest admin when the default isn't - there. Details in `apps/events/CHANGELOG.md`. + there. The default logo (before a church uploads one) is the Cross Code logo, not Hope Family + Church's. Details in `apps/events/CHANGELOG.md`. ## accounts@1.0.1, contracts@1.6.0, crosscode script - 2026-11-19 diff --git a/apps/events/CHANGELOG.md b/apps/events/CHANGELOG.md index 97a7526..dd5aae2 100644 --- a/apps/events/CHANGELOG.md +++ b/apps/events/CHANGELOG.md @@ -13,6 +13,8 @@ and this project follows [Semantic Versioning](https://semver.org/). (mode 600) couldn't be read, so `DATABASE_URL` was missing and pg failed with "client password must be a string", then hung. It now stops at once and says to run it as the site's user (or `crosscode demo`, which the Hub uses). +- **The default logo** (before a church uploads its own) was still Hope Family Church's artwork; it's + now the Cross Code logo (`frontend/src/app/default_logo.png`). - The admin account kept can be named with `--admin-email=` (or `DEMO_ADMIN_EMAIL`, as before). When none is named and joshua@crosscode.co.za isn't on the site, the oldest admin is kept, so a site installed from the Hub (with the church's own admin) can be seeded. diff --git a/apps/events/SETTINGS.md b/apps/events/SETTINGS.md index a1b33cd..0ffde81 100644 --- a/apps/events/SETTINGS.md +++ b/apps/events/SETTINGS.md @@ -26,7 +26,7 @@ in-process settings cache TTL) without a server restart. | `primary_color` | Legacy `accent_color` value if present, else `#4F46E5` (indigo) on the website / `#1e3a5f` (navy) in emails | See [Two different fallbacks](#two-different-fallbacks-for-primary_color) below — this is the one setting with a genuine inconsistency worth knowing about. Drives buttons, links, nav highlights, and the email header/CTA. The Branding tab warns when it is under 4.5:1 against white (too light for white text and links) and offers a darker shade (1.50.0). | | `secondary_color` | `210 40% 96.1%` background / near-black text (light gray "wash", shadcn's stock theme) | The Branding tab's color picker *pre-fills* `#8B5CF6` as a suggested starting point, but that's only a UI default — if you never hit Save, the actual site uses the light-gray fallback, not violet. | | `accent_color` | `210 40% 96.1%` background / near-black text (same light gray as Secondary) | Same story as Secondary — the picker pre-fills `#EC4899` (pink) as a suggestion only. | -| `logo_url` | Bundled logo (`frontend/src/app/church_logo.jpg`) | Shown in the navbar. This is still the original Hope Family Church artwork checked into the repo — swap the file (or upload a real logo via the Branding tab) before deploying for a different organisation. | +| `logo_url` | Bundled Cross Code logo (`frontend/src/app/default_logo.png`) | Shown in the navbar until the church uploads its own (Site settings → Branding, or `/setup`). | | `favicon_url` | `frontend/public/favicon.ico` (the site's original generic favicon) | Shown in the browser tab. | ### Two different fallbacks for `primary_color` diff --git a/apps/events/WHATS-NEW.md b/apps/events/WHATS-NEW.md index 6b444e9..67b6ba1 100644 --- a/apps/events/WHATS-NEW.md +++ b/apps/events/WHATS-NEW.md @@ -14,7 +14,9 @@ developer log is CHANGELOG.md. A tagged version without a section here shows "No ## 2.4.1 -- Nothing changes for your church: this fixes setting up demonstration sites for Cross Code. +- Until you upload your own logo (Site settings → Branding), the site now shows the Cross Code + logo. +- A fix for setting up demonstration sites. ## 2.4.0 diff --git a/apps/events/frontend/src/app/church_logo.jpg b/apps/events/frontend/src/app/church_logo.jpg deleted file mode 100644 index 5bfb94d..0000000 Binary files a/apps/events/frontend/src/app/church_logo.jpg and /dev/null differ diff --git a/apps/events/frontend/src/app/default_logo.png b/apps/events/frontend/src/app/default_logo.png new file mode 100644 index 0000000..ef4b1da Binary files /dev/null and b/apps/events/frontend/src/app/default_logo.png differ diff --git a/apps/events/frontend/src/components/layout/Navbar.tsx b/apps/events/frontend/src/components/layout/Navbar.tsx index c924a91..d544fee 100644 --- a/apps/events/frontend/src/components/layout/Navbar.tsx +++ b/apps/events/frontend/src/components/layout/Navbar.tsx @@ -6,7 +6,7 @@ import { usePathname } from "next/navigation"; import { useAuth } from "@/hooks/useAuth"; import { useSiteSettings } from "@/contexts/SiteSettingsContext"; import { BottomNav } from "./BottomNav"; -import churchLogo from "@/app/church_logo.jpg"; +import defaultLogo from "@/app/default_logo.png"; import { appName } from "@/lib/siteConfig"; import { resolveToApiOrigin } from "@/lib/api"; import { hardNavigate } from "@/lib/navigation"; @@ -67,8 +67,8 @@ export const Navbar = () => { Logo ) : (