summaryrefslogtreecommitdiff
path: root/resources/views/index.blade.php
diff options
context:
space:
mode:
authorDeveloper2026-06-27 02:47:40 +0200
committerDeveloper2026-06-27 02:47:40 +0200
commit34ee983becfa088d0c39c4f0d9b35f038b351a78 (patch)
tree25737516a97c596b8b88d2da8dfb0ded5a76a1b6 /resources/views/index.blade.php
downloadcurious-34ee983becfa088d0c39c4f0d9b35f038b351a78.tar.gz
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
Diffstat (limited to 'resources/views/index.blade.php')
-rw-r--r--resources/views/index.blade.php49
1 files changed, 49 insertions, 0 deletions
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
new file mode 100644
index 0000000..712cc36
--- /dev/null
+++ b/resources/views/index.blade.php
@@ -0,0 +1,49 @@
+@extends('layouts.app')
+
+@section('styles')
+@media ( max-width: 397px ) {
+ .btn-mobile-second {
+ margin-top: 1rem;
+ }
+ .btn-lg {
+ width: 100%;
+ }
+}
+html {
+ height: 100%;
+}
+.cover-heading {
+ margin-top: 4rem;
+}
+
+@endsection
+
+@section('content')
+
+@if ( "index" == Request::route()->getName() )
+<div class="text-center">
+ <div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
+
+ <div role="main" class="inner cover">
+ <h1 class="cover-heading">The Most Interesting Articles On Wikipedia</h1>
+<br>
+ <p class="lead">
+ Best of Wikipedia, filtered, tagged and discussed. <br>For the curious reader.
+ </p>
+<br>
+ <p class="lead">
+ <a href="{{ route('popular') }}" class="btn btn-lg btn-outline-primary">Most Popular</a>
+ <a href="{{ route('popular_topics') }}" class="btn btn-lg btn-outline-primary btn-mobile-second">Popular Topics</a>
+ </p>
+ <p class="lead mt-50">
+ <a href="{{ route('about') }}">What, why and how❔</a>
+ <br>
+ <br>
+ Follow on <a title="Follow on Mastodon {{ env('MASTODON_HANDLE') }}" href="{{ env('MASTODON_URL') }}" target="_blank">{!! file_get_contents(public_path() . "/img/mastodon.svg") !!} Mastodon</a>
+ </p>
+ </div>
+
+</div>
+</div>
+ @endif
+@endsection