complete story 12.3
This commit is contained in:
@@ -20,19 +20,19 @@ 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-charcoal">{{ $post->getTitle() }}</flux:heading>
|
||||
<flux:heading size="xl" class="text-text">{{ $post->getTitle() }}</flux:heading>
|
||||
|
||||
<time class="text-charcoal/70 mt-2 block">
|
||||
<time class="text-text/70 mt-2 block">
|
||||
{{ $post->published_at?->translatedFormat('l, d F Y') ?? $post->created_at->translatedFormat('l, d F Y') }}
|
||||
</time>
|
||||
</header>
|
||||
|
||||
<div class="prose prose-lg prose-navy max-w-none">
|
||||
<div class="prose prose-lg prose-brand max-w-none">
|
||||
{!! $post->getBody() !!}
|
||||
</div>
|
||||
|
||||
<footer class="mt-12 pt-6 border-t border-charcoal/20">
|
||||
<a href="{{ route('posts.index') }}" class="text-warm-gray hover:underline" wire:navigate>
|
||||
<footer class="mt-12 pt-6 border-t border-accent/20">
|
||||
<a href="{{ route('posts.index') }}" class="text-primary hover:underline" wire:navigate>
|
||||
← {{ __('posts.back_to_posts') }}
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user