complete story 10.2
This commit is contained in:
@@ -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>
|
||||
← {{ __('posts.back_to_posts') }}
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user