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/layouts/app.blade.php | 178 ++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 resources/views/layouts/app.blade.php (limited to 'resources/views/layouts/app.blade.php') diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php new file mode 100644 index 0000000..35c57b4 --- /dev/null +++ b/resources/views/layouts/app.blade.php @@ -0,0 +1,178 @@ + + + + + + + + + + + + + {{ config('app.name', 'Laravel') }} + @if( str_starts_with(Request::route()->getName(), 'cinema') ) + - Movies + @elseif( ("index" != Request::route()->getName()) && ("show" != Request::route()->getName()) ) + - {{ ucwords(Request::route()->getName()) }} Articles + @elseif ( "show" == Request::route()->getName() ) + - {{ ucwords( $page_title) }} + @endif + + + + + + + + + + + + + @if ( "new" == Request::route()->getName() || "popular" == Request::route()->getName() ) + {!! Rumenx\Feed\Feed::link( url('feed/' . Request::route()->getName()), 'atom', 'RSS-Feed for ' . Request::route()->getName() . ' Articles'); !!} + @endif + +@if ( "" != env( "MATOMO_ID" ) ) + + +@endif + + + +
+ + +
+ @yield('content') +
+ @yield('footer') +
+ + -- cgit v1.2.3