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,34 @@
<div>
@if($posts->isNotEmpty())
@foreach($posts as $post)
@php
// Find the translation for the current locale.
$translation = $post->translations->firstWhere('locale', $locale);
// If no translation is found for the current locale, use the fallback.
if (!$translation) {
$translation = $post->translations->firstWhere('locale', 'like', $fallbackLocale);
}
@endphp
@if ($translation)
<div class="bg-theme-background">
<div class="max-w-full sm:mx-auto mr-16 ml-2 bg-theme-background text-2xs sm:text-sm text-center text-red-700 py-2">
<!-- <div class="max-w-7xl mx-auto bg-white text-2xs sm:text-sm text-center text-red-700 py-2 sm:px-6 lg:px-8"> -->
<span class="font-semibold pr-2">
<!-- Title Static Post-->
@if (isset($translation->title))
{{ $translation->title }}
@endif
</span>
<!-- Excerpt Static Post-->
@if (isset($translation->excerpt) && strlen(trim(strip_tags($translation->excerpt))) > 0)
{{ $translation->excerpt }}
@endif
</div>
</div>
@endif
@endforeach
@endif
</div>