24-8: articles and legal pages — implemented, QA Review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
<x-layouts.public>
|
||||
<div class="wrap py-8">
|
||||
<h1 class="mb-6 text-3xl font-bold text-text">{{ $page->getTitle() }}</h1>
|
||||
<div class="prose prose-brand max-w-none rounded-lg bg-card p-8 shadow-card" dir="{{ app()->getLocale() === 'ar' ? 'rtl' : 'ltr' }}">
|
||||
@if ($page->getContent())
|
||||
{!! clean($page->getContent()) !!}
|
||||
@else
|
||||
<p class="text-body">{{ __('pages.content_coming_soon') }}</p>
|
||||
@endif
|
||||
<section class="sec" style="padding-top:56px">
|
||||
<div class="wrap" style="max-width:768px">
|
||||
<h1 style="font-size:clamp(2rem,3.4vw,3rem);margin:0 0 28px">{{ $page->getTitle() }}</h1>
|
||||
<div class="prose prose-brand max-w-none site-prose legal-card" dir="{{ app()->getLocale() === 'ar' ? 'rtl' : 'ltr' }}">
|
||||
@if ($page->getContent())
|
||||
{!! clean($page->getContent()) !!}
|
||||
@else
|
||||
<p>{{ __('pages.content_coming_soon') }}</p>
|
||||
@endif
|
||||
</div>
|
||||
<p class="legal-updated">
|
||||
{{ __('pages.last_updated') }}: {{ $page->updated_at->format('M d, Y') }}
|
||||
</p>
|
||||
</div>
|
||||
<p class="mt-4 text-sm text-body/70">
|
||||
{{ __('pages.last_updated') }}: {{ $page->updated_at->format('M d, Y') }}
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</x-layouts.public>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
<x-layouts.public>
|
||||
<div class="wrap py-8">
|
||||
<h1 class="text-3xl font-bold text-text mb-6">{{ __('footer.privacy') }}</h1>
|
||||
<div class="bg-card p-8 rounded-lg shadow-card prose prose-brand max-w-none">
|
||||
<p class="text-body">{{ __('Privacy policy content will be added here.') }}</p>
|
||||
<section class="sec" style="padding-top:56px">
|
||||
<div class="wrap" style="max-width:768px">
|
||||
<h1 style="font-size:clamp(2rem,3.4vw,3rem);margin:0 0 28px">{{ __('footer.privacy') }}</h1>
|
||||
<div class="prose prose-brand max-w-none site-prose legal-card">
|
||||
<p>{{ __('Privacy policy content will be added here.') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</x-layouts.public>
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
<x-layouts.public>
|
||||
<div class="wrap py-8">
|
||||
<h1 class="text-3xl font-bold text-text mb-6">{{ __('footer.terms') }}</h1>
|
||||
<div class="bg-card p-8 rounded-lg shadow-card prose prose-brand max-w-none">
|
||||
<p class="text-body">{{ __('Terms of service content will be added here.') }}</p>
|
||||
<section class="sec" style="padding-top:56px">
|
||||
<div class="wrap" style="max-width:768px">
|
||||
<h1 style="font-size:clamp(2rem,3.4vw,3rem);margin:0 0 28px">{{ __('footer.terms') }}</h1>
|
||||
<div class="prose prose-brand max-w-none site-prose legal-card">
|
||||
<p>{{ __('Terms of service content will be added here.') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</x-layouts.public>
|
||||
|
||||
Reference in New Issue
Block a user