From 34ee983becfa088d0c39c4f0d9b35f038b351a78 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 27 Jun 2026 02:47:40 +0200 Subject: feat: add cinema module for browsing movies from hncrawler DB - Add 'cinema' database connection (hncrawler DB) to config/database.php - Create CinemaController with cinema(), show(), search() methods - Add /cinema, /cinema/movie/{imdb_id}, /cinema/search routes - Create cinema.blade.php (grid listing with posters, ratings, pagination) - Create cinema-show.blade.php (detail page with cast, genres, synopsis) - Add Cinema link to navbar - Update page title logic for cinema routes --- resources/views/topicindex.blade.php | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 resources/views/topicindex.blade.php (limited to 'resources/views/topicindex.blade.php') diff --git a/resources/views/topicindex.blade.php b/resources/views/topicindex.blade.php new file mode 100644 index 0000000..67b0de4 --- /dev/null +++ b/resources/views/topicindex.blade.php @@ -0,0 +1,50 @@ +@extends('layouts.app') + +@section('styles') +@include ('layouts.footer-style') +html { + height: inherit; +} +@endsection + +@section ('content') + +
+ +
+ +
+ +@php ($curLetter = "") +@foreach ($topics->get() as $topic) + @if ( "" != $topic->name ) + @php ( $firstLetter = strtoupper(substr($topic->name, 0, 1)) ) + @if ( $curLetter != $firstLetter ) +
+

+ + {{ $firstLetter }} + +

+
+
+ + @php ($curLetter = $firstLetter) + + @endif + {{ ucwords($topic->name) }} + @endif +@endforeach + +
+@endsection + +@section ('footer') + @include ('layouts.footer') +@endsection -- cgit v1.2.3