@forelse ($posts as $post)
Foto de {{ $post->title }}
@php $postShareUrl = route('post.show', $post->slug); $postShareImage = $post->image ? asset('storage/'.$post->image) : asset('storage/images/posts/no_photo.jpg'); $postWhatsappMessage = urlencode($post->title . "\n" . $postShareUrl . "\nImagen: " . $postShareImage); $postFacebookShareUrl = 'https://www.facebook.com/sharer/sharer.php?u=' . urlencode($postShareUrl); @endphp

{{ $post->title }}

{{ \Carbon\Carbon::parse($post->created_at)->translatedFormat('l, d F Y') }}

{{ \Illuminate\Support\Str::limit(strip_tags($post->content), 140) }}

{{ __("Leer más") }}
@empty

{{ __("No se han añadido publicaciones.") }}

@endforelse @if ($posts->hasPages())
{{ $posts->links('vendor.pagination.sheltek') }}
@endif

ENCUENTRA TU

LUGAR IDEAL

¿Listo para encontrar tu próxima propiedad?

@php $whatsappNumber = preg_replace('/\D+/', '', $setting->contact_phone); $whatsappMessage = urlencode('Hola, quiero recibir asesoría para encontrar una propiedad.'); @endphp
Asesoría inmobiliaria personalizada