Initial commit
This commit is contained in:
5
resources/views/themeholy/inc/comment.blade.php
Normal file
5
resources/views/themeholy/inc/comment.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="box-comment" id="tabs-facebook" style="background: linear-gradient(to right, #ffff, #ffff);">
|
||||
<div class="fb-comments" data-href="{{ $currentMovie->getUrl() }}" data-width="100%" data-numposts="10"
|
||||
data-order-by="reverse_time" data-colorscheme="light">
|
||||
</div>
|
||||
</div>
|
||||
18
resources/views/themeholy/inc/main_search.blade.php
Normal file
18
resources/views/themeholy/inc/main_search.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<section class="clean-block clean-hero"
|
||||
style="color: rgba(20,20,20,0.85); background: url(/themes/holy/img/MainPoster.webp) center/cover no-repeat; margin-top: -20vh; filter: blur(0px); ">
|
||||
<div class="text" style="margin-top: 20vh;">
|
||||
<h1 style="font-size: calc(1.325rem + 0.9vw);color: rgb(240,190,8);">Thế Giới Phim HD Vietsub</h1>
|
||||
<p style="font-style: italic;font-size: calc(1rem + 0.5vw);">"Từ khóa nào khiến bạn vui?<br>Bộ phim nào cho
|
||||
bạn cảm hứng?"</p>
|
||||
<div style="margin-bottom: 5vh;">
|
||||
<div style="margin-bottom: 5vh;">
|
||||
<form class="me-auto search-form" method="GET" action="/" id="form" target="_self" style="width: 80vw;min-width: 320px;max-width: 600px;">
|
||||
<div class="d-flex align-items-center" style="width: 100%;margin-right: auto;margin-left: auto;">
|
||||
<input class="form-control search-field" type="search" id="search-field-3" name="search"
|
||||
style="width: 100%;min-width: 320px;max-width: 600px;margin-right: auto;margin-left: auto;color: rgb(255,255,255);background: rgba(0,0,0,0.55);border-color: rgb(240,190,8);height: 40px;text-align: center;"
|
||||
placeholder="Tìm Kiếm Phim..." autocomplete="off" value="{{ request('search') }}"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
41
resources/views/themeholy/inc/nav.blade.php
Normal file
41
resources/views/themeholy/inc/nav.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
@php
|
||||
$logo = setting('site_logo', '');
|
||||
$brand = setting('site_brand', '');
|
||||
$title = isset($title) ? $title : setting('site_homepage_title', '');
|
||||
@endphp
|
||||
|
||||
<nav class="navbar navbar-dark navbar-expand-lg fixed-top clean-navbar"
|
||||
style="color: rgba(33,37,41,0.2);background: rgba(0,0,0,0.3);">
|
||||
<div class="container">
|
||||
<a class="navbar-brand logo" href="/" style="color: rgb(240,190,12);font-size: calc(1.325rem + 0.6vw);">
|
||||
@if ($logo)
|
||||
{!! $logo !!}
|
||||
@else
|
||||
{!! $brand !!}
|
||||
@endif
|
||||
</a>
|
||||
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1"><span
|
||||
class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
|
||||
<div class="collapse navbar-collapse" id="navcol-1">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
@foreach ($menu as $item)
|
||||
@if (count($item['children']))
|
||||
<li class="nav-item dropdown flex-nowrap" style="margin-top: 0px;">
|
||||
<a class="dropdown-toggle nav-link" aria-expanded="false" data-bs-toggle="dropdown"
|
||||
href="{{ $item['link'] }}">{{ $item['name'] }}</a>
|
||||
<div class="dropdown-menu dropdown-menu-dark"
|
||||
style="background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,1.0));">
|
||||
@foreach ($item['children'] as $children)
|
||||
<a class="dropdown-item" href="{{ $children['link'] }}">{{ $children['name'] }}</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</li>
|
||||
@else
|
||||
<li class="nav-item item"><a class="nav-link" href="{{ $item['link'] }}">{{ $item['name'] }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
40
resources/views/themeholy/inc/pagination.blade.php
Normal file
40
resources/views/themeholy/inc/pagination.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
@if ($paginator->hasPages())
|
||||
<div class="text-center" style="margin-top: 3vh;">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
@else
|
||||
<a class="btn btn-outline-secondary" type="button"
|
||||
style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);margin-bottom: 1vh;"
|
||||
href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">« Previous</a>
|
||||
@endif
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="disabled" aria-disabled="true"><span class="">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<span aria-current="page"
|
||||
style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);margin-bottom: 1vh;"
|
||||
class="btn btn-outline-warning">{{ $page }}</span>
|
||||
@else
|
||||
<a class="btn btn-outline-secondary" type="button"
|
||||
style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);margin-bottom: 1vh;"
|
||||
href="{{ $url }}">{{ $page }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<a class="btn btn-outline-secondary" type="button"
|
||||
style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);margin-bottom: 1vh;"
|
||||
href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">Next »</a>
|
||||
@else
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
7
resources/views/themeholy/inc/random_film.blade.php
Normal file
7
resources/views/themeholy/inc/random_film.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<section style="margin-top: 8vh;">
|
||||
<div class="text-center" style="margin-top: 3vh;">
|
||||
<a class="btn btn-outline-warning" type="button" href="#" style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);margin-bottom: 1vh;">
|
||||
<b>Công Cụ Tìm Kiếm</b>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
26
resources/views/themeholy/inc/section_movies.blade.php
Normal file
26
resources/views/themeholy/inc/section_movies.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<section style="margin-top: 8vh;">
|
||||
<div class="container" style="margin-bottom: 5vh;">
|
||||
<h2 class="display-6 text-warning" style="font-size: calc(1.325rem + 0.9vw);text-align: center;">
|
||||
{{ $item['label'] }}</h2>
|
||||
<p class="text-center text-light" style="font-size: calc(0.8rem + 0.1vw);">{{ $item['description'] }}</p>
|
||||
<hr
|
||||
style="background: linear-gradient(90deg, var(--bs-cyan), var(--bs-yellow)), rgb(255,193,7);transform: scale(1);width: 100%;height: 2px;filter: saturate(200%);">
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-lg-4 row-cols-xl-5 row-cols-xxl-5">
|
||||
@foreach ($item['data'] as $movie)
|
||||
@include('themes::themeholy.inc.section_movies_item')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if ($item['link'] !== '' && $item['link'] !== '#')
|
||||
<div class="text-center" style="margin-top: 3vh;">
|
||||
<a class="btn btn-outline-warning" type="button" href="{{ $item['link'] }}"
|
||||
style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);margin-bottom: 1vh;">
|
||||
<b>Xem Thêm</b>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
</section>
|
||||
23
resources/views/themeholy/inc/section_movies_item.blade.php
Normal file
23
resources/views/themeholy/inc/section_movies_item.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="col-md-2.5" style="margin-bottom: 1vh;padding-right: 4px;padding-left: 4px;">
|
||||
<div class="card" style="background: rgb(20,20,20);">
|
||||
<a href="{{$movie->getUrl()}}">
|
||||
<img
|
||||
class="lazy card-img-top w-100 d-block"
|
||||
style="height: 145px"
|
||||
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
|
||||
data-src="{{ $movie->getPosterUrl() }}" alt="{{$movie->name}} - {{$movie->origin_name}} ({{$movie->publish_year}})">
|
||||
</a>
|
||||
<div class="card-body" style="padding: 10px;padding-right: 1px;padding-left: 1px;">
|
||||
<h4 class="text-truncate card-title" style="text-align: center;color: rgb(255,193,10);font-size: calc(0.8rem + 0.4vw);width: 100%;">
|
||||
{{$movie->name}}
|
||||
</h4>
|
||||
<p class="text-truncate card-text"
|
||||
style="text-align: center;color: rgb(255,255,255);width: 100%;font-size: calc(0.8rem + 0.1vw);">
|
||||
({{$movie->publish_year}})</p>
|
||||
</div>
|
||||
<div class="mx-auto">
|
||||
<a class="btn btn-outline-warning btn-sm" type="button"
|
||||
href="{{$movie->getUrl()}}">Xem Phim</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
22
resources/views/themeholy/inc/section_related.blade.php
Normal file
22
resources/views/themeholy/inc/section_related.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<section style="margin-top: 8vh;">
|
||||
<div class="container" style="margin-bottom: 5vh;">
|
||||
<h2 class="display-6 text-warning" style="font-size: calc(1.325rem + 0.9vw);text-align: center;">Phim cùng thể loại</h2>
|
||||
<p class="text-center text-light" style="font-size: calc(0.8rem + 0.1vw);">Biết đâu bạn thích?</p>
|
||||
<hr style="background: linear-gradient(90deg, var(--bs-cyan), var(--bs-yellow)), rgb(255,193,7);transform: scale(1);width: 100%;height: 2px;filter: saturate(200%);">
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row row-cols-2 row-cols-sm-3 row-cols-md-4 row-cols-lg-4 row-cols-xl-5 row-cols-xxl-5">
|
||||
|
||||
@foreach ($movie_related as $movie)
|
||||
@include('themes::themeholy.inc.section_movies_item')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center" style="margin-top: 3vh;">
|
||||
<button class="btn btn-outline-warning" type="button" onclick="location.href='/';" style="margin-right: 1vw;padding-right: 15px;padding-left: 15px;padding-top: 5px;padding-bottom: 5px;font-size: calc(0.6rem + 0.4vw);font-weight: bold;margin-bottom: 1vh;">
|
||||
Công Cụ Tìm Kiếm
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user