Add Privacy Policy and Terms of Service pages

Registration collects health-adjacent data (age, weight, height, health
notes, goals) with no privacy policy or ToS anywhere in the app. Adds
both as real pages at /privacy and /terms, a site-wide footer linking to
them (the app had no footer at all outside the homepage), and a consent
line on the registration form. Both pages are marked as a starting draft
with bracketed placeholders for operator/jurisdiction details rather
than inventing legal claims the app can't back up.

Also removed the homepage's own footer, which duplicated the new global
one and whose Privacy/Terms/About/Contact links were all dead `#`
placeholders, and fixed APP_NAME (was "Laravel", site is branded
FitAtlas everywhere else including the browser tab title).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-10 11:55:11 +03:00
co-authored by Claude Sonnet 5
parent 0a36afbfdc
commit 0c6a297198
11 changed files with 292 additions and 39 deletions
+8 -1
View File
@@ -153,7 +153,14 @@
</div>
</div>
<div class="flex items-center justify-between mt-6">
<p class="mt-6 text-xs text-gray-500 dark:text-gray-400">
{{ __('app.auth.register.consent_prefix') }}
<a href="{{ route('legal.terms') }}" target="_blank" class="underline hover:text-gray-700 dark:hover:text-gray-200">{{ __('app.footer.terms') }}</a>
{{ __('app.auth.register.consent_and') }}
<a href="{{ route('legal.privacy') }}" target="_blank" class="underline hover:text-gray-700 dark:hover:text-gray-200">{{ __('app.footer.privacy') }}</a>.
</p>
<div class="flex items-center justify-between mt-4">
<button type="button" @click="goBack()" class="inline-flex items-center rounded-md border border-gray-300 dark:border-gray-700 px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-200 hover:bg-gray-50 dark:hover:bg-gray-800">{{ __('app.auth.register.steps.back') }}</button>
<x-primary-button class="ms-4">
{{ __('app.auth.register.steps.register') }}