Initial commit
This commit is contained in:
30
resources/views/static/privacy.blade.php
Normal file
30
resources/views/static/privacy.blade.php
Normal file
@@ -0,0 +1,30 @@
|
||||
@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>
|
||||
Reference in New Issue
Block a user