Add (post manage)

This commit is contained in:
2023-07-28 02:34:45 +08:00
parent ded1643e5f
commit cb371fae26

View File

@@ -75,7 +75,7 @@ class="text-decoration-none">{{ $post->title }}</a>
<div class="card" style="height:100%;">
<div class="row g-0">
<div class="col-md-5">
<a href="{{ route('home.country.post', ['country' => $country_locale->country_iso, 'post_slug' => str_random()]) }}"
<a href="{{ route('home.country.post', ['country' => $country_locale->country_iso, 'post_slug' => $post->slug]) }}"
class="text-decoration-none">
<div class="img-fluid rounded-start ratio ratio-16x9">
<img src="{{ $post->featured_image }}"
@@ -87,7 +87,7 @@ class="text-decoration-none">
<div class="card-body d-flex justify-content-between flex-column"
style="height:100%;">
<div>
<a href="{{ route('home.country.post', ['country' => $country_locale->country_iso, 'post_slug' => str_random()]) }}"
<a href="{{ route('home.country.post', ['country' => $country_locale->country_iso, 'post_slug' => $post->slug]) }}"
class="text-decoration-none">
<p class="card-title fw-bold">{{ $post->title }}</p>
</a>