diff --git a/resources/views/discover/home.blade.php b/resources/views/discover/home.blade.php index 089aa76b..ea8433a3 100644 --- a/resources/views/discover/home.blade.php +++ b/resources/views/discover/home.blade.php @@ -9,6 +9,7 @@ @endsection @push('scripts') + diff --git a/resources/views/discover/personal.blade.php b/resources/views/discover/personal.blade.php new file mode 100644 index 00000000..cbda555b --- /dev/null +++ b/resources/views/discover/personal.blade.php @@ -0,0 +1,76 @@ +@extends('layouts.app') + +@section('content') +
+
+
+
+

My Discover

+

Discover posts based on hashtags you've used before

+
+
+
+
+ +
+
+

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

+

+ {{$posts->post_count}} posts +

+
+
+ +
+
+ {{$posts->links()}} +
+
+ +@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/discover/tags/category.blade.php b/resources/views/discover/tags/category.blade.php new file mode 100644 index 00000000..d918f53a --- /dev/null +++ b/resources/views/discover/tags/category.blade.php @@ -0,0 +1,104 @@ +@extends('layouts.app') + +@section('content') + +
+
+
+
+
+ +
+
+
+
+
+ {{$tag->name}} +
+
+
+
+
+
+ +
+
+

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

+

+ {{$tag->posts_count}} posts +

+
+
+ +
+
+ {{$posts->links()}} +
+
+ +@endsection + +@push('meta') + + +@endpush + +@push('scripts') + +@endpush