Website 1.2.0: starter pages on a new install, and a site icon
A new install had no pages, so the home page and its live preview showed only the header and footer (found on cross-demo2). The backend now adds the fixed pages with starter text at startup. Settings -> Site icon sets the favicon, with a default from the church's colour and initial. The Latest message's Card layout has its name; the media picker's placeholder has enough contrast. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,7 +59,7 @@ export function ImagePicker({ value, onChange, label }: { value: string | null;
|
||||
<span className="block text-sm font-medium text-gray-800">{label}</span>
|
||||
<div className="mt-1 flex items-center gap-3">
|
||||
<div className="h-16 w-24 shrink-0 overflow-hidden rounded border border-gray-200 bg-gray-50">
|
||||
{chosen ? <img src={chosen.url} alt={chosen.alt} className="h-full w-full object-cover" /> : <span className="flex h-full items-center justify-center text-xs text-gray-400">No image</span>}
|
||||
{chosen ? <img src={chosen.url} alt={chosen.alt} className="h-full w-full object-cover" /> : <span className="flex h-full items-center justify-center text-xs text-gray-600">No image</span>}
|
||||
</div>
|
||||
<Btn onClick={() => setOpen(true)}>{value ? "Change" : "Choose"}</Btn>
|
||||
{value && <Btn kind="link" onClick={() => onChange(null)}>Remove</Btn>}
|
||||
|
||||
Reference in New Issue
Block a user