docs: archive recreate-public-frontend and sync Heritage Editorial specs

Merge delta requirements into main OpenSpec capabilities and move the completed change into the dated archive.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-01 23:38:14 -03:00
parent 9c43ad1d65
commit 2a5c55d90f
19 changed files with 161 additions and 20 deletions

View File

@@ -0,0 +1,31 @@
## ADDED Requirements
### Requirement: Brand logo assets are available to the public layout
The system SHALL provide optimized Amare brand logo assets derived from the official faceted-heart lockup for use in the public header, footer and institutional pages. Assets MUST preserve the original geometry, include an accessible text alternative, and provide variants suitable for light and dark tonal fields. When `site_settings.logo_path` is present, the uploaded logo MUST be used; otherwise the versioned static brand asset MUST be used.
#### Scenario: Header renders brand mark with alt text
- **WHEN** any public page is rendered
- **THEN** the brand mark image or equivalent MUST expose accessible alternative text identifying Amare Assessoria
#### Scenario: Dark portfolio field uses a legible logo variant
- **WHEN** the brand mark is rendered on an olive-deep or otherwise dark public surface
- **THEN** the chosen logo variant MUST remain legible against that background
#### Scenario: Uploaded logo overrides static fallback
- **GIVEN** an admin has saved `logo_path` and `logo_alt` in site settings
- **WHEN** the public layout renders the brand mark
- **THEN** the uploaded logo MUST be used instead of the static fallback
### Requirement: Editorial image treatment remains self-hosted and deterministic
Public photography SHALL continue to use validated self-hosted uploads and responsive variants. Decorative saturation/contrast treatment for editorial mood MUST be applied via CSS on self-hosted images and MUST NOT introduce external image CDN dependencies that break deterministic visual tests.
#### Scenario: Public pages do not depend on external stock hosts
- **WHEN** the visual or browser suite loads covered public routes
- **THEN** content images MUST resolve from the application media disk or static fixtures
- **AND** MUST NOT require network access to third-party stock hosts