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
+10
View File
@@ -46,6 +46,16 @@
<main>
{{ $slot }}
</main>
<footer class="border-t border-gray-100 dark:border-gray-800 mt-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 flex flex-col sm:flex-row items-center justify-between gap-3 text-sm text-gray-500 dark:text-gray-400">
<div>&copy; {{ date('Y') }} {{ config('app.name') }}. {{ __('app.footer.rights') }}</div>
<div class="flex items-center gap-4">
<a href="{{ route('legal.privacy') }}" class="hover:text-gray-800 dark:hover:text-gray-200">{{ __('app.footer.privacy') }}</a>
<a href="{{ route('legal.terms') }}" class="hover:text-gray-800 dark:hover:text-gray-200">{{ __('app.footer.terms') }}</a>
</div>
</div>
</footer>
</div>
@stack('scripts')
</body>