Files
libra/resources/views/components/site/post-card.blade.php
T
Naser Mansour 10a4e1f4c0 24-4: home page sections — implemented, QA Review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 18:46:09 +02:00

11 lines
426 B
PHP

@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>