feat(footer): legal notices, personal data, disclaimer, contact#11
Closed
abk1969 wants to merge 1 commit into
Closed
feat(footer): legal notices, personal data, disclaimer, contact#11abk1969 wants to merge 1 commit into
abk1969 wants to merge 1 commit into
Conversation
Extends the existing minimal footer (top notice + skill anchor) with 4
collapsible legal sections required for any public-facing compliance tool:
1. Legal notices — publisher, hosting, licence pointer to the repo
2. Personal data — explicit statement that the SPA runs entirely client-side
with NO collection, transmission, cookies, trackers, or analytics. Makes
the GDPR posture unambiguous (no processing under art. 4(2) since nothing
leaves the browser).
3. Disclaimer — decision-support only, not legal advice, references the
Regulation (EU) 2024/1689 source.
4. Contact — GitHub issues + repo owner profile.
Rendered as native <details> elements (no JS state, no modal infra) in a
2-column grid below the existing top notice. Bilingual EN/FR via the UI
strings object. Hidden from print mode (PDF export already carries the
verdict-page disclaimer).
A copyright/byline line caps the footer.
Smoke test added: querySelectorAll('footer details summary') must return 4
elements containing the expected section headers + the skill-anchor link.
Total: 114 tests passing (113 + 1 footer smoke), build green at 284 kB
(+5 kB for the new strings and component markup).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
Author
|
Merged into main via rebase fast-forward (commits applied via stack rebase, see main's history). Branch deleted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the existing minimal footer (top notice + skill anchor) with the 4 collapsible legal sections required for a public-facing compliance tool. Stacks on PR #10.
Sections added
All bilingual EN/FR via the existing `UI` strings object. Plus a copyright/byline line at the bottom.
Implementation
` — no JS state, no modal infrastructure, accessible by default. Each section is collapsed initially; clicking the summary expands its body.
Editable content
The legal section bodies use deliberate language like "see the repository owner" and "varies per deployment" — the repo doesn't ship a named legal entity or fixed hosting. If you want stricter language (e.g., specific French `Loi pour la Confiance dans l'Économie Numérique` art. 6 III-1 disclosures), edit the UI strings (`footerLegalBody`, `footerContactBody`) and re-PR — no logic changes needed.
Tests
Test plan
Details
` summary expands on click and collapses on second click🤖 Generated with Claude Code