From 02898ce679f2f8da83e4513b6ace98e50c19d348 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 21 Sep 2018 23:46:45 -0600 Subject: [PATCH] Update Discover feature --- resources/views/discover/home.blade.php | 74 ++++++++++++++++++------- 1 file changed, 55 insertions(+), 19 deletions(-) diff --git a/resources/views/discover/home.blade.php b/resources/views/discover/home.blade.php index eb1137cf0..ca1e3ddb7 100644 --- a/resources/views/discover/home.blade.php +++ b/resources/views/discover/home.blade.php @@ -36,26 +36,28 @@

Explore

-
- @foreach($posts as $status) -
- -
-
-
-
- - {{$status->likes_count}} - - - {{$status->comments_count}} - -
+
- @endforeach @if($posts->count() == 0)
@@ -63,12 +65,46 @@
@endif +
+
+
+ {{$posts->links()}} +
+
@endsection @push('meta') - + +@endpush + +@push('scripts') + + @endpush