The demo church (and the eight demo profiles) used one generated "hills and sun" SVG for every picture. Now 104 Unsplash stock photos (models; free under the Unsplash License, credited in backend/demo-photos/CREDITS.md): a set per profile, a portrait for every leader (before: only the pastor), a picture for each event, and a photo for each message instead of the stand-in video's thumbnail. Demo photos go through processImage like an upload, made once per machine and copied; without demo-photos/ the illustration still stands in. A message's thumbnailUrl that is one of the site's own uploads now comes before the YouTube thumbnail; admins and the YouTube feed store YouTube's address there, so a church's own messages are unchanged. Faster on phones: the Community collage hero, the collage row, the team's portraits and the ministry cards give the browser their real width (sizes), so a phone no longer fetches the full-width photo for a small frame. Checked: backend tests (131), Website e2e (130, baselines retaken; Lighthouse mobile 90-98 performance, 100 accessibility and SEO), typecheck, lint and both builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
876 B
JSON
35 lines
876 B
JSON
{
|
|
"name": "@crosscode/website-frontend",
|
|
"version": "1.6.0",
|
|
"private": true,
|
|
"description": "Church Website: the church's public site in its template, and the admin",
|
|
"scripts": {
|
|
"dev": "next dev -p 3300",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@crosscode/contracts": "*",
|
|
"@crosscode/seo": "*",
|
|
"@crosscode/ui": "*",
|
|
"lucide-react": "^0.536.0",
|
|
"next": "^16.4.6",
|
|
"react": "^19.3.1",
|
|
"react-dom": "^19.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^10.13.0",
|
|
"eslint-config-next": "^16.4.6",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "3.4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|