{{-- Insights/Blog Section --}}
{{ __('Expert Financial Perspectives') }}

{{ __('Our Insights') }}

{{ __('Browse By Category') }}

@php $blogIndexUrl = Route::has('frontend.blog.index') ? route('frontend.blog.index') : '#'; @endphp {{ __('View All') }}
@if(is_module_active('blog') && isset($latestPosts) && $latestPosts->count() > 0) @foreach($latestPosts->take(3) as $post) @php $postUrl = '#'; if (Route::has('frontend.blog.post')) { $postUrl = route('frontend.blog.post', $post->slug); } elseif (Route::has('blog.post')) { $postUrl = route('blog.post', $post->slug); } @endphp
{{ $post->comments_count ?? 0 }}
{{ $post->title }}
{{ $post->category->name ?? 'business' }}

{{ $post->title }}

{{ Str::limit($post->excerpt ?? $post->content, 100) }}

{{ __('Read More') }}
by {{ $post->author->name ?? 'Admin' }}
@endforeach @else {{-- Fallback: Mostrar posts de ejemplo --}} @php $blogPosts = [ ['title' => 'Common Tax Mistakes', 'image' => 'blog-post-1.jpg', 'date' => '15', 'month' => 'Jan'], ['title' => 'Cash and Accrual Accounting', 'image' => 'blog-post-2.jpg', 'date' => '15', 'month' => 'Jan'], ['title' => 'Prepare for a Financial Audit', 'image' => 'blog-post-3.jpg', 'date' => '15', 'month' => 'Jan'] ]; @endphp @foreach($blogPosts as $post)
5
Card Image
business

{{ $post['title'] }}

{{ config('site.welcome.blog_excerpt', 'Tax season can be a stressful time for small business owners, especially when navigating the complex web of tax...') }}

{{ __('Read More') }}
by John Doe
@endforeach @endif