feat: Update blog and about us templates with dynamic routing and remove unnecessary date display
This commit is contained in:
@@ -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>
|
||||
|
@@ -189,8 +189,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>
|
||||
|
Reference in New Issue
Block a user