- PAGE_VARIANTS: ministriesPage alternating/cards/list, leadershipPage grid/featured/list, eventsPage list/cards/months, messagesPage grid/featured/list, contactPage columns/map/cards. Kept in the design's variants beside the homepage sections', so each template recommends some and starts a new site on the first (its suggestion), PUT /design checks them, and a template switch moves an untouched one. - A design saved before has none: cleanDesign gives it LEGACY_PAGE_LAYOUTS (the look until now), and the site draws a snapshot without them the same way, so nothing changes until a church picks one. Contact's map layout without a place on the map draws as two columns. Ministries and messages keep their #slug anchors in every layout. - Admin: the layout at the top of a listing page in Pages, the suggestion marked; Template and style gets an Other pages tab with all five. - Tests: backend (156, five new); e2e page-layouts.spec.ts (every layout in every template, axe at phone and desktop; 60 passed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
877 B
JSON
35 lines
877 B
JSON
{
|
|
"name": "@crosscode/website-frontend",
|
|
"version": "1.12.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"
|
|
}
|
|
}
|