- A section's photo (hero, welcome, invitation, image-text) shows in the
shape of its frame for the current template and layout, with a Move and
zoom dialog: drag or arrow keys to choose what stays in view, zoom to
300%. Saved with the section as data.framing ({ x, y, zoom } by media
id), a draft until published. The site draws it with object-position
and scale() around that point; Bold split/collage frames now clip, and
a zoomed photo stays inside Heritage's mat. Framing for photos a section
no longer shows is dropped on save.
- Media library: each photo says where it's used; one used nowhere can be
deleted with its files (DELETE /admin/media/:id, 409 IN_USE otherwise,
audited as media_deleted).
Checked: Website backend tests (135) and typecheck, frontend typecheck,
lint and production build, and an e2e test of both flows in Chromium.
Lighthouse not run.
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.7.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"
|
|
}
|
|
}
|