diff options
| author | Developer | 2026-06-27 03:27:06 +0200 |
|---|---|---|
| committer | Developer | 2026-06-27 03:27:06 +0200 |
| commit | 8f43d48714a7346d0730145a8ab209c0ff8bc8fe (patch) | |
| tree | ab5fcf5598e88a4ef7883dc09e11fb1def6fc9e1 /resources/views/cinema_show.blade.php | |
| parent | df321aa19b9734981b81847389176021a14f44d4 (diff) | |
| download | curious-8f43d48714a7346d0730145a8ab209c0ff8bc8fe.tar.gz | |
feat: add /genres page listing all genres with movie counts
- Add CinemaController::genres() and ::genre($name) methods
- /genres shows all genres with movie counts (like /popular/topics)
- /genres/{genre} shows movies filtered by that genre with pagination
- Genre badges on cinema_show page now link to /genres/{genre}
- Add Genres link to navbar next to Cinema
Diffstat (limited to 'resources/views/cinema_show.blade.php')
| -rw-r--r-- | resources/views/cinema_show.blade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php index 5f849e3..8379a59 100644 --- a/resources/views/cinema_show.blade.php +++ b/resources/views/cinema_show.blade.php @@ -95,7 +95,7 @@ @if ( ! empty($genres) ) <div class="mt-2"> @foreach( $genres as $genre ) - <span class="badge badge-pill badge-primary">{{ $genre }}</span> + <a href="{{ route('cinema.genre', $genre) }}" class="badge badge-pill badge-primary" style="color: #fff;">{{ $genre }}</a> @endforeach </div> @endif |
