• Claude's avatar
    feat(website): add page + block tree builder (v3) · 39f468a9
    Claude authored
    The v2 builder could not express more than one page: website_sections had a
    unique(academy_id, section_key) constraint, there was no pages table, and
    SectionManager exposed only toggle + reorder. A client with a seven-page site
    had no way to represent page two.
    
    Adds an additive page/block model alongside v2:
    
    - website_pages + website_blocks (nested tree, JSONB data/style)
    - BlockRegistry of BlockType classes: 31 types, 133 layout variants, 237
      fields, 442 validation rules derived from the field schema
    - Page/Block/Menu/Blueprint services, BlockRenderer, BlockDataResolver
    - Builder UI: page manager, block tree editor, schema-driven field forms,
      repeaters, content/design/motion panels, image upload
    - Authored navigation (website_menus) with dropdowns, replacing nav links
      that were previously derived from enabled sections
    - Blueprint import/export via `php artisan website:blueprint`
    - Extended motion library: entrance effects, delay, stagger, parallax
    
    A new block type now costs one PHP class — no migration, no enum case, no
    CHECK constraint.
    
    Nothing here is destructive. website_sections is untouched and "/" falls back
    to the legacy renderer when no builder homepage exists, so already-deployed
    tenants are unaffected until they opt in.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    39f468a9
Name
Last commit
Last update
.claude Loading commit data...
Screenshots Loading commit data...
app Loading commit data...
bootstrap Loading commit data...
config Loading commit data...
database Loading commit data...
docker Loading commit data...
docs Loading commit data...
docs-site Loading commit data...
gap-filling-plans Loading commit data...
marketing-site Loading commit data...
plans Loading commit data...
public Loading commit data...
resources Loading commit data...
routes Loading commit data...
scripts Loading commit data...
storage Loading commit data...
tests Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.env.example Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.npmrc Loading commit data...
Beanding Guide.txt Loading commit data...
CLAUDE.md Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
artisan Loading commit data...
captain-definition Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
deploy.sh Loading commit data...
elcaptain-sportsonly-db.md Loading commit data...
one-click-app.yml Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
phpunit.xml Loading commit data...
system info.txt Loading commit data...
vite.config.js Loading commit data...
نادى الشيخ زايد كشف بيانات اللاعبين (2).html Loading commit data...