24-8: articles and legal pages — implemented, QA Review

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Naser Mansour
2026-10-31 18:54:18 +02:00
parent 7879ac7190
commit 2c068277a2
13 changed files with 203 additions and 129 deletions
+14 -12
View File
@@ -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>
+7 -5
View File
@@ -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>
+7 -5
View File
@@ -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>