From 7d30a292274143a194f75723a388e4c3f62a3025 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 2 Mar 2019 00:19:50 -0700 Subject: [PATCH] Update discover pages --- resources/views/discover/personal.blade.php | 25 +++---------------- .../views/discover/tags/category.blade.php | 25 +++---------------- resources/views/discover/tags/show.blade.php | 24 ------------------ 3 files changed, 6 insertions(+), 68 deletions(-) diff --git a/resources/views/discover/personal.blade.php b/resources/views/discover/personal.blade.php index cbda555b9..2e8a63a18 100644 --- a/resources/views/discover/personal.blade.php +++ b/resources/views/discover/personal.blade.php @@ -18,10 +18,12 @@ background: linear-gradient(to right, #FFC371, #FF5F6D); /* W3C, IE 10+/ Edge, F

+ @if($tags->count() > 0) Related hashtags: @foreach($tags as $hashtag) #{{$hashtag->name}} @endforeach + @endif

{{$posts->post_count}} posts @@ -50,27 +52,6 @@ background: linear-gradient(to right, #FFC371, #FF5F6D); /* W3C, IE 10+/ Edge, F @endforeach

-
- {{$posts->links()}} -
-@endsection - -@push('scripts') - -@endpush \ No newline at end of file +@endsection \ No newline at end of file diff --git a/resources/views/discover/tags/category.blade.php b/resources/views/discover/tags/category.blade.php index d918f53a4..ea73b43c7 100644 --- a/resources/views/discover/tags/category.blade.php +++ b/resources/views/discover/tags/category.blade.php @@ -2,7 +2,7 @@ @section('content') -
+
@@ -24,10 +24,12 @@

+ @if($tag->hashtags->count() > 0) Related hashtags: @foreach($tag->hashtags as $hashtag) #{{$hashtag->name}} @endforeach + @endif

{{$tag->posts_count}} posts @@ -56,9 +58,6 @@ @endforeach

-
- {{$posts->links()}} -
@endsection @@ -84,21 +83,3 @@ } @endpush - -@push('scripts') - -@endpush diff --git a/resources/views/discover/tags/show.blade.php b/resources/views/discover/tags/show.blade.php index a710ae365..4ea1fc24b 100644 --- a/resources/views/discover/tags/show.blade.php +++ b/resources/views/discover/tags/show.blade.php @@ -44,31 +44,7 @@ @endforeach
-
- {{$posts->links()}} -
@endsection -@push('meta') - -@endpush - -@push('scripts') - -@endpush