Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

@@ -0,0 +1,33 @@
<div class="leading-loose">
<div class="post" id="post-id-{{ $post->id ?? 'no-id' }}">
<h3 class="text-lg font-medium text-theme-primary">
{{ $post->translations[0]->title ?? '' }}
</h3>
</div>
@if ($post)
<div class="{{ $alwaysShowFull ? '' : 'hidden md:block' }} my-2 text-sm font-bold text-theme-secondary">
{{ $post->translations[0]->excerpt ?? '' }}
</div>
<div class="{{ $alwaysShowFull ? '' : 'hidden md:block' }} images my-3">
@if($image)
<img src="{{ $image }}" alt="{{ $post->getFirstMedia('*')->getCustomProperty('caption') }}" class="w-screen h-auto mb-4">
@endif
</div>
<div class="{{ $alwaysShowFull ? '' : 'hidden md:block' }}">
<div class="text-sm text-theme-secondary">
{!! \App\Helpers\StringHelper::sanitizeHtml($post->translations[0]->content ?? '') !!}
</div>
</div>
<div class="hidden md:block">
<livewire:posts.manage-actions :post="$post" />
</div>
@else
{{-- If no post is found, use the fallbackTitle and fallbackDescription from the parent component. --}}
<h3 class="text-lg font-medium text-theme-primary">
{{ $fallbackTitle ?? '' }}
</h3>
<div class="hidden md:block text-sm text-theme-secondary">
{{ $fallbackDescription ?? '' }}
</div>
@endif
</div>