diff --git a/resources/views/admin/layouts/app.blade.php b/resources/views/admin/layouts/app.blade.php index 7b3838cb..ead1ecc6 100644 --- a/resources/views/admin/layouts/app.blade.php +++ b/resources/views/admin/layouts/app.blade.php @@ -18,19 +18,17 @@ -
- @include('admin/shared/navbar') + @include('admin/shared/navbar') -
-
-
-
- @include('shared/alerts') +
+
+
+
+ @include('shared/alerts') -
-
- @yield('content') -
+
+
+ @yield('content')
diff --git a/resources/views/posts/_show.blade.php b/resources/views/posts/_show.blade.php index 3df77358..4fdda7f2 100644 --- a/resources/views/posts/_show.blade.php +++ b/resources/views/posts/_show.blade.php @@ -6,10 +6,11 @@ @endif
-

{{ link_to_route('posts.show', $post->title, $post) }}

+

{{ link_to_route('posts.show', $post->title, $post) }}

+ +

{{ link_to_route('users.show', $post->author->fullname, $post->author) }}

+
{!! $post->content !!}
-

{{ link_to_route('users.show', $post->author->fullname, $post->author) }}

-
{!! $post->content !!}

{{ humanize_date($post->posted_at) }}
diff --git a/resources/views/posts/show.blade.php b/resources/views/posts/show.blade.php index fca39b2d..f40f6f82 100644 --- a/resources/views/posts/show.blade.php +++ b/resources/views/posts/show.blade.php @@ -6,14 +6,14 @@ {{ Html::image($post->thumbnail()->url, $post->thumbnail()->original_filename, ['class' => 'img-fluid rounded']) }} @endif -

{{ $post->title }}

+

{{ $post->title }}

- {{ link_to_route('users.show', $post->author->fullname, $post->author) }}, + {{ link_to_route('users.show', $post->author->fullname, $post->author) }}, {{ humanize_date($post->posted_at) }}
-
+
{!! $post->content !!}
diff --git a/resources/views/shared/navbar.blade.php b/resources/views/shared/navbar.blade.php index 7b3328d6..a801ba9c 100644 --- a/resources/views/shared/navbar.blade.php +++ b/resources/views/shared/navbar.blade.php @@ -23,7 +23,7 @@ @else