feat: Update blog and about us templates with dynamic routing and remove unnecessary date display

This commit is contained in:
2025-08-17 15:29:23 +05:45
parent 75ebf99990
commit f49960d222
3 changed files with 4 additions and 6 deletions

View File

@@ -263,7 +263,7 @@
<div class="row pb-20">
@foreach ($blogs as $blog)
<div class="col col-sm-6 col-xxl-4">
<a href="blog-detail.php" class="flex flex-col gap-20 p-5 blog-post">
<a href="{{ route('blog.single', $blog->slug) }}" class="flex flex-col gap-20 p-5 blog-post">
<div class="w-100percent h-210 overflow-hidden rounded-16 relative">
<img class="w-full h-full object-cover rounded-16" src="{{ asset($blog->image) }}"
alt="">
@@ -274,7 +274,6 @@
</div>
<div class="flex flex-col gap-20">
<p class="text-16 text-black">{{ $blog->short_description }}</p>
<p class="text-14">{{ $blog->created_at }}</p>
</div>
</a>
</div>