docs: client-approved public-site redesign — PRD 1.4, UX spec v2.0, architecture §6.2, tasks 24-x Ready for Dev
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -116,7 +116,7 @@ php artisan make:model ModelName -mf
|
||||
- `app/Enums/` - UserType, UserStatus, ConsultationType, ConsultationStatus, PaymentStatus, TimelineStatus, PostStatus
|
||||
- `docs/prd.md` - Full product requirements document
|
||||
- `docs/architecture.md` - Complete architecture document
|
||||
- `docs/ux-design.md` - Design system reference (colors, typography, layout, components — retrospective, written 2026-09-27)
|
||||
- `docs/ux-design.md` - Design spec. **Part A** = the public-site redesign (approved by the client 2026-10-31, mockup `docs/ux-mockup.html`); **Part B** = the pre-redesign system, which still governs the dashboards, emails and the Nablus form
|
||||
- `docs/tasks/` - **Current task/status tracker** (`statuses.md` is the status source of truth). One row per epic (parent) and per story (subtask), e.g. `3.md` / `3-4.md`.
|
||||
- `docs/stories/`, `docs/epics/`, `docs/qa/gates/` - **Legacy.** Original BMAD-agent build records (98→102 stories across 16 epics). Kept for implementation history and traceability, no longer the status source — `docs/tasks/statuses.md` superseded them 2026-09-27. `.bmad-core/` and `.claude/commands/BMad/` are the retired BMAD toolchain, also kept but unused.
|
||||
|
||||
@@ -246,7 +246,25 @@ Located in `app/Notifications/`:
|
||||
- **Cascade deletes:** User deletion cascades to consultations, timelines, notifications
|
||||
- **Bilingual required:** All user-facing text needs Arabic and English
|
||||
|
||||
## Public-site redesign (PRD 1.4, tasks 24-x)
|
||||
|
||||
The public pages (home, about, posts, booking, legal) and the auth pages' type/controls follow
|
||||
`docs/ux-design.md` Part A; the map is `docs/architecture.md` §6.2. Boundaries that keep the
|
||||
dashboards safe:
|
||||
- Redesign styles live in `resources/css/public.css`, every selector under `body.site` (auth:
|
||||
`body.site-auth`); its script is `resources/js/public.js` + `resources/js/site/*`, initialised on
|
||||
`livewire:navigated`. Both load only from the public (and, CSS only, auth) layouts.
|
||||
- Never edit `resources/css/app.css` `@theme`/`.btn-*`, `components/language-toggle.blade.php`,
|
||||
or `lang/*/navigation.php` for the redesign — the dashboards share them. New public copy goes in
|
||||
`lang/{ar,en}/site.php`.
|
||||
- `availability-calendar` defaults to `variant="month"` (the client dashboard uses it); the home
|
||||
page uses `variant="strip"`. `pages.booking` takes `compact` for the home card; booking rules are
|
||||
shared and unchanged.
|
||||
|
||||
## Design Requirements (from PRD)
|
||||
|
||||
Below: the dashboards' palette and rules. Public pages: Part A of `docs/ux-design.md`.
|
||||
|
||||
- **Color scheme:**
|
||||
- Dark Forest Green (#2D3624) - Header/Footer backgrounds
|
||||
- Warm Gold (#A68966) - CTA buttons, links, accents
|
||||
|
||||
Reference in New Issue
Block a user