24-4: home page sections — implemented, QA Review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@props(['post'])
|
||||
|
||||
<a class="post" href="{{ route('posts.show', $post) }}" wire:navigate data-reveal>
|
||||
<div class="bd">
|
||||
<span class="meta" dir="auto">{{ $post->published_at?->translatedFormat('j F Y') }}</span>
|
||||
<h3>{{ $post->getTitle() }}</h3>
|
||||
<p>{{ \Illuminate\Support\Str::limit(strip_tags($post->getBody()), 140) }}</p>
|
||||
<span class="more">{{ __('home.read_more') }}</span>
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user