31 lines
1.2 KiB
PHP
31 lines
1.2 KiB
PHP
@php
|
|
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
|
|
@endphp
|
|
|
|
<x-dynamic-component :component="$layout">
|
|
<x-slot name="header">
|
|
{{ __('Privacy policy') }}
|
|
</x-slot>
|
|
|
|
<div class="py-6">
|
|
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
|
|
@livewire('static-post', ['type' => 'SiteContents\PrivacyPolicy' ?? null, 'limit' => 1])
|
|
|
|
<div class="overflow-hidden bg-theme-background shadow-xl sm:rounded-lg mb-3">
|
|
<div class="px-3 sm:px-0">
|
|
<div class="max-w-4xl mx-auto my-12 p-4">
|
|
<p class="text-theme-primary dark:text-theme-muted">
|
|
{{ __('This is a condensed version of the') }}
|
|
<a href="{{ route('static-privacy-download') }}"
|
|
class="font-medium text-theme-primary hover:text-theme-primary-hover underline dark:text-white"
|
|
download>
|
|
{{ __('full privacy policy') }}
|
|
</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-dynamic-component>
|