Events 2.4.1: the default logo is the Cross Code logo, not Hope Family Church's
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
@@ -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 = () => {
|
||||
<img src={logoSrc} alt="Logo" className="h-10 w-auto object-contain rounded-sm" />
|
||||
) : (
|
||||
<Image
|
||||
src={churchLogo}
|
||||
alt="Church logo"
|
||||
src={defaultLogo}
|
||||
alt="Logo"
|
||||
width={50}
|
||||
height={50}
|
||||
className="rounded-sm object-contain"
|
||||
|
||||
Reference in New Issue
Block a user