Add (post manage)
Add (post country viewing)
This commit is contained in:
@@ -2,6 +2,43 @@
|
||||
|
||||
@section('content')
|
||||
<div class="container py-3">
|
||||
Post
|
||||
</div>
|
||||
@endsection
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-lg-11 col-xl-9 col-xxl-8">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8 col-lg-8 col-xl-8 text-left">
|
||||
<div class="mb-2">
|
||||
<h1 class="h3 fw-bold mb-1">{{ $post->title }}</h1>
|
||||
|
||||
<div>
|
||||
<span>
|
||||
in
|
||||
@foreach ($post->post_categories as $post_category)
|
||||
<small><a class="text-decoration-none"
|
||||
href="{{ route('home.country.category', ['country' => $post_category->category->country_locale_slug, 'category' => $post_category->category->slug]) }}">{{ $post_category->category->name }}</a>
|
||||
</small>
|
||||
@endforeach
|
||||
</span>
|
||||
<span class="ms-2">
|
||||
<small>
|
||||
|
||||
Written by {{ $post->author->name }}
|
||||
</small>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<h2 class="h5">{{ $post->excerpt }}</h2>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<img src="{{ $post->featured_image }}" alt="" class="img-fluid rounded-3">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
{{ $post->html_body }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user