diff --git a/resources/sass/app.scss b/resources/sass/app.scss index e617799..bf622c9 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -18,7 +18,7 @@ main { } body.post-archive { - .container { + .posts { display: flex; flex-wrap: wrap; } @@ -30,6 +30,10 @@ body.post-archive { flex: 1; flex-basis: calc(33.33% - 10px); } + .pagination { + display: flex; + justify-content: center; + } } body.single-post { diff --git a/resources/views/post/index.blade.php b/resources/views/post/index.blade.php index 1a41eea..fb17b1d 100644 --- a/resources/views/post/index.blade.php +++ b/resources/views/post/index.blade.php @@ -4,22 +4,24 @@
- @foreach($posts as $post) -
-
-
- featureImage): ?> -
- {{ $post->featureImage->description }} +
+ @foreach($posts as $post) +
-
- @endforeach + + @endforeach +