mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
Add French legal notice and complete privacy disclosures (#134)
- Add /mentions-legales (LCEN art. 6-III): publisher, SIRET, VAT status, publication director, and host details - Name the data controller in the privacy policy and the terms - Disclose Hetzner/Cloudflare hosting, third-country transfers, the CDN security cookie, and backup/suppression-list retention - Remove the children section; the age floor now lives in the terms - State that request logs are kept by the providers, not by us - Mirror all changes in the pre-launch static site The publisher address is a placeholder pending a domiciliation address.
This commit is contained in:
@@ -57,6 +57,19 @@ defmodule ChesstrainerWeb.PageController do
|
||||
|> render(:terms_conditions)
|
||||
end
|
||||
|
||||
def mentions_legales(conn, _params) do
|
||||
conn
|
||||
|> assign(:js_entry, ~p"/assets/js/marketing.js")
|
||||
|> assign(:page_title, Branding.title("Mentions légales"))
|
||||
|> assign(:title_suffix, "")
|
||||
|> assign(
|
||||
:meta_description,
|
||||
"Éditeur, hébergeur et informations légales de #{Branding.name()}."
|
||||
)
|
||||
|> assign(:canonical_url, current_url(conn))
|
||||
|> render(:mentions_legales)
|
||||
end
|
||||
|
||||
def not_found(conn, _params) do
|
||||
conn
|
||||
|> put_status(:not_found)
|
||||
|
||||
Reference in New Issue
Block a user