complete story 10.2

This commit is contained in:
Naser Mansour
2026-01-03 03:29:51 +02:00
parent e758458df1
commit 44f291fbc3
19 changed files with 157 additions and 100 deletions
@@ -20,7 +20,7 @@ new #[Layout('components.layouts.public')] class extends Component
<article class="max-w-3xl mx-auto">
<header class="mb-8">
<flux:heading size="xl" class="text-navy">{{ $post->getTitle() }}</flux:heading>
<flux:heading size="xl" class="text-charcoal">{{ $post->getTitle() }}</flux:heading>
<time class="text-charcoal/70 mt-2 block">
{{ $post->published_at?->translatedFormat('l, d F Y') ?? $post->created_at->translatedFormat('l, d F Y') }}
@@ -32,7 +32,7 @@ new #[Layout('components.layouts.public')] class extends Component
</div>
<footer class="mt-12 pt-6 border-t border-charcoal/20">
<a href="{{ route('posts.index') }}" class="text-gold hover:underline" wire:navigate>
<a href="{{ route('posts.index') }}" class="text-warm-gray hover:underline" wire:navigate>
&larr; {{ __('posts.back_to_posts') }}
</a>
</footer>