start adding svg icons

This commit is contained in:
Constantin Plaiasu 2024-08-31 03:28:35 +03:00
parent 0be9f590ca
commit 4328444626
27 changed files with 132 additions and 358 deletions

View file

@ -237,22 +237,22 @@ public static function getShareLinks(string $url, string $title, string $descrip
[ [
'name' => 'Facebook', 'name' => 'Facebook',
'url' => sprintf('https://www.facebook.com/sharer/sharer.php?u=%s', urlencode($url)), 'url' => sprintf('https://www.facebook.com/sharer/sharer.php?u=%s', urlencode($url)),
'icon' => 'la-facebook-f' 'icon' => 'facebook'
], ],
[ [
'name' => 'Linkedin', 'name' => 'Linkedin',
'url' => sprintf('http://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s&summary=%s', urlencode($url), urlencode($title), urlencode($description)), 'url' => sprintf('http://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s&summary=%s', urlencode($url), urlencode($title), urlencode($description)),
'icon' => 'la-linkedin-in' 'icon' => 'linkedin'
], ],
[ [
'name' => 'Twitter', 'name' => 'Twitter',
'url' => sprintf('https://twitter.com/intent/tweet?text=%s', urlencode($title .'%0a'. $url)), 'url' => sprintf('https://twitter.com/intent/tweet?text=%s', urlencode($title .'%0a'. $url)),
'icon' => 'la-twitter' 'icon' => 'twitter'
], ],
[ [
'name' => 'Pinterest', 'name' => 'Pinterest',
'url' => sprintf('https://pinterest.com/pin/create/button/?url=%s&description=%s&media=%s',urlencode($url), urlencode($title), urlencode($image)), 'url' => sprintf('https://pinterest.com/pin/create/button/?url=%s&description=%s&media=%s',urlencode($url), urlencode($title), urlencode($image)),
'icon' => 'la-pinterest' 'icon' => 'pinterest'
], ],
]; ];
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
/*! /*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/.fa,.fas,.far{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fa-book-open:before{content:""}.fa-box-open:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-database:before{content:""}.fa-door-open:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-expand:before{content:""}.fa-expand-alt:before{content:""}.fa-expand-arrows-alt:before{content:""}.fa-eye:before{content:""}.fa-folder-open:before{content:""}.fa-frown-open:before{content:""}.fa-lock-open:before{content:""}.fa-opencart:before{content:""}.fa-openid:before{content:""}.fa-paper-plane:before{content:""}.fa-play:before{content:""}.fa-play-circle:before{content:""}.fa-playstation:before{content:""}.fa-search:before{content:""}.fa-search-dollar:before{content:""}.fa-search-location:before{content:""}.fa-search-minus:before{content:""}.fa-search-plus:before{content:""}.fa-searchengin:before{content:""}.fa-shower:before{content:""}.fa-star:before{content:""}.fa-teeth-open:before{content:""}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.svg#fontawesome) format("svg")}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:"Font Awesome 5 Free";font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900} */.fa,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fa-book-open:before{content:""}.fa-box-open:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-database:before{content:""}.fa-door-open:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-expand:before{content:""}.fa-expand-alt:before{content:""}.fa-expand-arrows-alt:before{content:""}.fa-folder-open:before{content:""}.fa-frown-open:before{content:""}.fa-lock-open:before{content:""}.fa-opencart:before{content:""}.fa-openid:before{content:""}.fa-paper-plane:before{content:""}.fa-play:before{content:""}.fa-play-circle:before{content:""}.fa-playstation:before{content:""}.fa-search:before{content:""}.fa-search-dollar:before{content:""}.fa-search-location:before{content:""}.fa-search-minus:before{content:""}.fa-search-plus:before{content:""}.fa-searchengin:before{content:""}.fa-shower:before{content:""}.fa-teeth-open:before{content:""}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.svg#fontawesome) format("svg")}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-regular-400.svg#fontawesome) format("svg")}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDI1apSCOBt_aeQQ7ftydoa8SsLLq7s.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDI1apSCOBt_aeQQ7ftydoa8UcLLq7s.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDI1apSCOBt_aeQQ7ftydoa8UMLLq7s.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDI1apSCOBt_aeQQ7ftydoa8XsLL.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDIqapSCOBt_aeQQ7ftydoa0reHegJo0yyg.woff2) format("woff2");unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDIqapSCOBt_aeQQ7ftydoa0reHem5o0yyg.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDIqapSCOBt_aeQQ7ftydoa0reHempo0yyg.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bai Jamjuree;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/baijamjuree/v11/LDIqapSCOBt_aeQQ7ftydoa0reHelJo0.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4mxK.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

View file

@ -36,7 +36,7 @@
"isEntry": true "isEntry": true
}, },
"resources/scss/app.scss": { "resources/scss/app.scss": {
"file": "assets/app-C97fhcAN.css", "file": "assets/app-C_0m-xEp.css",
"src": "resources/scss/app.scss", "src": "resources/scss/app.scss",
"isEntry": true "isEntry": true
}, },
@ -46,7 +46,7 @@
"isEntry": true "isEntry": true
}, },
"resources/scss/google-fonts.scss": { "resources/scss/google-fonts.scss": {
"file": "assets/google-fonts-BEIwaWJ4.css", "file": "assets/google-fonts-Dfi1uzIr.css",
"src": "resources/scss/google-fonts.scss", "src": "resources/scss/google-fonts.scss",
"isEntry": true "isEntry": true
}, },

View file

@ -95,13 +95,13 @@ a:hover {
.table { .table {
border: 1px solid $primary; border: 1px solid $primary;
} }
.page-breadcrumb li:first-child::before { // .page-breadcrumb li:first-child::before {
content: "\f015"; // content: "\f015";
font-family: "Font Awesome 5 Free"; // font-family: "Font Awesome 5 Free";
font-weight: 900; // font-weight: 900;
color: $primary; // color: $primary;
margin-right: 6px; // margin-right: 6px;
} // }
.cmn-btn:hover { .cmn-btn:hover {
background-color: darken($primary, 10%); background-color: darken($primary, 10%);
} }

View file

@ -1041,13 +1041,13 @@ blockquote p {
margin: 0 5px; margin: 0 5px;
} }
.page-breadcrumb li:first-child::before { // .page-breadcrumb li:first-child::before {
content: "\f015"; // content: "\f015";
font-family: "Font Awesome 5 Free"; // font-family: "Font Awesome 5 Free";
font-weight: 900; // font-weight: 900;
color: #ee005f; // color: #ee005f;
margin-right: 6px; // margin-right: 6px;
} // }
.page-breadcrumb li:last-child::after { .page-breadcrumb li:last-child::after {
display: none; display: none;

View file

@ -169,5 +169,5 @@
src: url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2'); src: url(https://fonts.gstatic.com/s/roboto/v32/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} }
@import 'fa.scss'; // @import 'fa.scss';
@import 'la.scss'; // @import 'la.scss';

View file

@ -1,21 +0,0 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title inertia>{{ config('app.name', 'Laravel') }}</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
<!-- Scripts -->
@routes
@vite(['resources/js/app.js', "resources/js/Pages/{$page['component']}.vue"])
@inertiaHead
</head>
<body class="font-sans antialiased">
@inertia
</body>
</html>

View file

@ -1,109 +0,0 @@
@if ($paginator->hasPages())
<nav class="d-flex justify-items-center justify-content-between">
<div class="d-flex justify-content-evenly flex-fill d-sm-none">
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled" aria-disabled="true">
<span class="page-link">@lang('pagination.previous')</span>
</li>
@else
<li class="page-item">
<a class="page-link" href="{{ route($route['name'], array_merge($route['params'],['page' => $paginator->currentPage() - 1])) }}" rel="prev">@lang('pagination.previous')</a>
</li>
@endif
{{-- Pagination Elements --}}
@foreach ($elements as $element)
{{-- "Three Dots" Separator --}}
{{-- @if (is_string($element))
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
@endif --}}
{{-- Array Of Links --}}
@if (is_array($element))
@foreach ($element as $page => $url)
@if($paginator->currentPage() < $page +3 && $paginator->currentPage() > $page -3)
@if ($page == $paginator->currentPage())
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ route($route['name'], array_merge($route['params'],['page' => $page])) }}">{{ $page }}</a></li>
@endif
@endif
@endforeach
@endif
@endforeach
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item">
<a class="page-link" href="{{ route($route['name'], array_merge($route['params'], ['page' => $paginator->currentPage() + 1])) }}" rel="next">@lang('pagination.next')</a>
</li>
@else
<li class="page-item disabled" aria-disabled="true">
<span class="page-link">@lang('pagination.next')</span>
</li>
@endif
</ul>
</div>
<div class="d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-center">
{{-- <div>
<p class="small text-muted">
{!! __('Showing') !!}
<span class="fw-semibold">{{ $paginator->firstItem() }}</span>
{!! __('to') !!}
<span class="fw-semibold">{{ $paginator->lastItem() }}</span>
{!! __('of') !!}
<span class="fw-semibold">{{ $paginator->total() }}</span>
{!! __('results') !!}
</p>
</div> --}}
<div>
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
<span class="page-link" aria-hidden="true">&lsaquo;</span>
</li>
@else
<li class="page-item">
<a class="page-link" href="{{ route($route['name'], array_merge($route['params'],['page' => $paginator->currentPage() - 1])) }}" rel="prev" aria-label="@lang('pagination.previous')">&lsaquo;</a>
</li>
@endif
{{-- Pagination Elements --}}
@foreach ($elements as $element)
{{-- "Three Dots" Separator --}}
@if (is_string($element))
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
@endif
{{-- Array Of Links --}}
@if (is_array($element))
@foreach ($element as $page => $url)
@if ($page == $paginator->currentPage())
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ route($route['name'], array_merge($route['params'],['page' => $page])) }}">{{ $page }}</a></li>
@endif
@endforeach
@endif
@endforeach
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item">
<a class="page-link" href="{{ route($route['name'], array_merge($route['params'], ['page' => $paginator->currentPage() + 1])) }}" rel="next" aria-label="@lang('pagination.next')">&rsaquo;</a>
</li>
@else
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
<span class="page-link" aria-hidden="true">&rsaquo;</span>
</li>
@endif
</ul>
</div>
</div>
</nav>
@endif

View file

@ -1,2 +0,0 @@
<video class="w-full aspect-video lazyload" controls crossorigin playsinline data-poster="{{ detect_device()->isMobile() ? img_url('w780', $backdrop_player, true, 780, 439 ) : img_url('w1280', $backdrop_player, true, 1280, 720 ) }}" id="player" data-plyr-config='{"title":"{{$title}}","duration":"{{$runtime*60 + rand(1,58)}}","poster_path":"{{$poster_path??''}}"}'>
</video>

View file

@ -1,24 +0,0 @@
<div class="col">
<div class="card h-100 border-0 shadow">
<a href="{{ route('show', ['id' => $item['id'], 'slug' => $item['slug']]) }}" title="{{ $item['title'] }}" class="rounded poster">
<img alt="{{ $item['title'] }}" width="200" height="300" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMzAgMzQ1Ij48cGF0aCBmaWxsPSIjMzczNDM1IiBkPSJNMCAwaDIzMHYzNDVIMFYwWiIvPjwvc3ZnPg==" class="card-img-top img-fluid lazy" data-src="{{$item['image'] }}">
<div class="card-body item-title text-center p-1">
<h3 class="card-title text-truncate fs-6 m-0 py-1">{{ $item['title'] }}</h3>
</div>
</a>
</div>
</div>
{{-- <article class="card group">
<a class="card-image" href="{{ route('show', ['id' => $item['id'], 'slug' => $item['slug']]) }}" title="{{ $item['title'] }}">
<img alt="{{ $item['title'] }}" width="230" height="345" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMzAgMzQ1Ij48cGF0aCBmaWxsPSIjMzczNDM1IiBkPSJNMCAwaDIzMHYzNDVIMFYwWiIvPjwvc3ZnPg==" class="lazy" data-src="{{$item['image'] }}">
<span class="card-overlay"></span>
<span class="card-play">
<svg xmlns="http://www.w3.org/2000/svg" class="h-24 w-24"><use href="#play"></use></svg>
</span>
</a>
<div class="card-title">
<a href="{{ route('show', ['id' => $item['id'], 'slug' => $item['slug']]) }}"><span >{{ $item['title'] }}</span></a>
</div>
</article> --}}

View file

@ -1,28 +0,0 @@
<div class="container mt-3">
{{-- <span class="slider-title">{{ $title }}</span> --}}
<div class="swiper slider-content">
<div class="swiper-wrapper">
@foreach ($items as $item)
<div class="swiper-slide swiper-lazy lazy" data-bg="{{ $item['image'] }}">
<a href="{{ route('movie', ['id' => $item['id'], 'slug' => $item['slug']]) }}" title="{{ $item['title'] }}" class="card group">
<div class="card-title">
<span>{{ $item['title'] }}</span>
</div>
<span class="card-play group-hover:scale-110 group-hover:opacity-100 ">
{{-- <svg xmlns="http://www.w3.org/2000/svg" class="h-16 w-16" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> --}}
<svg class="h-16 w-16">
<use href="#play"></use>
</svg>
</span>
</a>
</div>
@endforeach
</div>
<div class="slider-nav next">
<div class="swiper-button-next"></div>
</div>
<div class="slider-nav prev">
<div class="swiper-button-prev"></div>
</div>
</div>
</div>

View file

@ -1,8 +0,0 @@
<svg xmlns="http://wwww.w3.org/2000/svg" style="display: none">
<symbol id="play" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</symbol>
<symbol id="arrow-right" fill="none" viewBox="0 0 16 16" stroke="currentColor">
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
</symbol>
</svg>

Before

Width:  |  Height:  |  Size: 723 B

View file

@ -5,6 +5,10 @@
<title>search</title> <title>search</title>
<path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/> <path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/>
</symbol> </symbol>
<symbol id="si-home" viewBox="0 0 512 512">
<title>home</title>
<path d="M280.4 148.3L96 300.1V464a16 16 0 0 0 16 16l112.1-.3a16 16 0 0 0 15.9-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.6a16 16 0 0 0 16 16.1L464 480a16 16 0 0 0 16-16V300L295.7 148.3a12.2 12.2 0 0 0 -15.3 0zM571.6 251.5L488 182.6V44.1a12 12 0 0 0 -12-12h-56a12 12 0 0 0 -12 12v72.6L318.5 43a48 48 0 0 0 -61 0L4.3 251.5a12 12 0 0 0 -1.6 16.9l25.5 31A12 12 0 0 0 45.2 301l235.2-193.7a12.2 12.2 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0 -1.7-16.9z"/>
</symbol>
<symbol id="si-play" viewBox="0 0 512 512"> <symbol id="si-play" viewBox="0 0 512 512">
<title>play</title> <title>play</title>
<path d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"/> <path d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"/>
@ -28,9 +32,24 @@
<title>star</title> <title>star</title>
<path d="M 16 2.125 L 15.09375 4.1875 L 11.84375 11.46875 L 3.90625 12.3125 L 1.65625 12.5625 L 3.34375 14.0625 L 9.25 19.40625 L 7.59375 27.21875 L 7.125 29.40625 L 9.09375 28.28125 L 16 24.28125 L 22.90625 28.28125 L 24.875 29.40625 L 24.40625 27.21875 L 22.75 19.40625 L 28.65625 14.0625 L 30.34375 12.5625 L 28.09375 12.3125 L 20.15625 11.46875 L 16.90625 4.1875 Z M 16 7.03125 L 18.5625 12.8125 L 18.8125 13.34375 L 19.375 13.40625 L 25.65625 14.0625 L 20.96875 18.28125 L 20.53125 18.6875 L 20.65625 19.25 L 21.96875 25.40625 L 16.5 22.28125 L 16 21.96875 L 15.5 22.28125 L 10.03125 25.40625 L 11.34375 19.25 L 11.46875 18.6875 L 11.03125 18.28125 L 6.34375 14.0625 L 12.625 13.40625 L 13.1875 13.34375 L 13.4375 12.8125 Z"/> <path d="M 16 2.125 L 15.09375 4.1875 L 11.84375 11.46875 L 3.90625 12.3125 L 1.65625 12.5625 L 3.34375 14.0625 L 9.25 19.40625 L 7.59375 27.21875 L 7.125 29.40625 L 9.09375 28.28125 L 16 24.28125 L 22.90625 28.28125 L 24.875 29.40625 L 24.40625 27.21875 L 22.75 19.40625 L 28.65625 14.0625 L 30.34375 12.5625 L 28.09375 12.3125 L 20.15625 11.46875 L 16.90625 4.1875 Z M 16 7.03125 L 18.5625 12.8125 L 18.8125 13.34375 L 19.375 13.40625 L 25.65625 14.0625 L 20.96875 18.28125 L 20.53125 18.6875 L 20.65625 19.25 L 21.96875 25.40625 L 16.5 22.28125 L 16 21.96875 L 15.5 22.28125 L 10.03125 25.40625 L 11.34375 19.25 L 11.46875 18.6875 L 11.03125 18.28125 L 6.34375 14.0625 L 12.625 13.40625 L 13.1875 13.34375 L 13.4375 12.8125 Z"/>
</symbol> </symbol>
<symbol id="si-star-fill" viewBox="0 0 512 512">
<path d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"/>
</symbol>
<symbol id="si-plus-circle" viewBox="0 0 32 32"> <symbol id="si-plus-circle" viewBox="0 0 32 32">
<path d="M 16 3 C 8.832031 3 3 8.832031 3 16 C 3 23.167969 8.832031 29 16 29 C 23.167969 29 29 23.167969 29 16 C 29 8.832031 23.167969 3 16 3 Z M 16 5 C 22.085938 5 27 9.914063 27 16 C 27 22.085938 22.085938 27 16 27 C 9.914063 27 5 22.085938 5 16 C 5 9.914063 9.914063 5 16 5 Z M 15 10 L 15 15 L 10 15 L 10 17 L 15 17 L 15 22 L 17 22 L 17 17 L 22 17 L 22 15 L 17 15 L 17 10 Z"/> <path d="M 16 3 C 8.832031 3 3 8.832031 3 16 C 3 23.167969 8.832031 29 16 29 C 23.167969 29 29 23.167969 29 16 C 29 8.832031 23.167969 3 16 3 Z M 16 5 C 22.085938 5 27 9.914063 27 16 C 27 22.085938 22.085938 27 16 27 C 9.914063 27 5 22.085938 5 16 C 5 9.914063 9.914063 5 16 5 Z M 15 10 L 15 15 L 10 15 L 10 17 L 15 17 L 15 22 L 17 22 L 17 17 L 22 17 L 22 15 L 17 15 L 17 10 Z"/>
</symbol> </symbol>
<symbol id="si-facebook" viewBox="0 0 32 32">
<path d="M 19.253906 2 C 15.311906 2 13 4.0821719 13 8.8261719 L 13 13 L 8 13 L 8 18 L 13 18 L 13 30 L 18 30 L 18 18 L 22 18 L 23 13 L 18 13 L 18 9.671875 C 18 7.884875 18.582766 7 20.259766 7 L 23 7 L 23 2.2050781 C 22.526 2.1410781 21.144906 2 19.253906 2 z"/>
</symbol>
<symbol id="si-linkedin" viewBox="0 0 32 32">
<path d="M 8.6425781 4 C 7.1835781 4 6 5.181625 6 6.640625 C 6 8.099625 7.182625 9.3085938 8.640625 9.3085938 C 10.098625 9.3085938 11.283203 8.099625 11.283203 6.640625 C 11.283203 5.182625 10.101578 4 8.6425781 4 z M 21.535156 11 C 19.316156 11 18.0465 12.160453 17.4375 13.314453 L 17.373047 13.314453 L 17.373047 11.310547 L 13 11.310547 L 13 26 L 17.556641 26 L 17.556641 18.728516 C 17.556641 16.812516 17.701266 14.960938 20.072266 14.960938 C 22.409266 14.960937 22.443359 17.145609 22.443359 18.849609 L 22.443359 26 L 26.994141 26 L 27 26 L 27 17.931641 C 27 13.983641 26.151156 11 21.535156 11 z M 6.3632812 11.310547 L 6.3632812 26 L 10.923828 26 L 10.923828 11.310547 L 6.3632812 11.310547 z"/>
</symbol>
<symbol id="si-twitter" viewBox="0 0 32 32">
<path d="M 28 8.558594 C 27.117188 8.949219 26.167969 9.214844 25.171875 9.332031 C 26.1875 8.722656 26.96875 7.757813 27.335938 6.609375 C 26.386719 7.171875 25.332031 7.582031 24.210938 7.804688 C 23.3125 6.847656 22.03125 6.246094 20.617188 6.246094 C 17.898438 6.246094 15.691406 8.453125 15.691406 11.171875 C 15.691406 11.558594 15.734375 11.933594 15.820313 12.292969 C 11.726563 12.089844 8.097656 10.128906 5.671875 7.148438 C 5.246094 7.875 5.003906 8.722656 5.003906 9.625 C 5.003906 11.332031 5.871094 12.839844 7.195313 13.722656 C 6.386719 13.695313 5.628906 13.476563 4.964844 13.105469 C 4.964844 13.128906 4.964844 13.148438 4.964844 13.167969 C 4.964844 15.554688 6.660156 17.546875 8.914063 17.996094 C 8.5 18.109375 8.066406 18.171875 7.617188 18.171875 C 7.300781 18.171875 6.988281 18.140625 6.691406 18.082031 C 7.316406 20.039063 9.136719 21.460938 11.289063 21.503906 C 9.605469 22.824219 7.480469 23.609375 5.175781 23.609375 C 4.777344 23.609375 4.386719 23.585938 4 23.539063 C 6.179688 24.9375 8.765625 25.753906 11.546875 25.753906 C 20.605469 25.753906 25.558594 18.25 25.558594 11.742188 C 25.558594 11.53125 25.550781 11.316406 25.542969 11.105469 C 26.503906 10.410156 27.339844 9.542969 28 8.558594 Z"/>
</symbol>
<symbol id="si-pinterest" viewBox="0 0 32 32">
<path d="M 16 4 C 9.371094 4 4 9.371094 4 16 C 4 21.085938 7.164063 25.425781 11.628906 27.175781 C 11.523438 26.226563 11.425781 24.769531 11.667969 23.730469 C 11.886719 22.796875 13.074219 17.765625 13.074219 17.765625 C 13.074219 17.765625 12.71875 17.046875 12.71875 15.984375 C 12.71875 14.316406 13.683594 13.070313 14.886719 13.070313 C 15.910156 13.070313 16.40625 13.839844 16.40625 14.761719 C 16.40625 15.792969 15.75 17.332031 15.410156 18.757813 C 15.128906 19.953125 16.011719 20.925781 17.1875 20.925781 C 19.320313 20.925781 20.960938 18.675781 20.960938 15.429688 C 20.960938 12.558594 18.898438 10.550781 15.949219 10.550781 C 12.535156 10.550781 10.53125 13.109375 10.53125 15.757813 C 10.53125 16.789063 10.929688 17.894531 11.425781 18.496094 C 11.523438 18.613281 11.535156 18.71875 11.507813 18.839844 C 11.414063 19.21875 11.214844 20.035156 11.175781 20.199219 C 11.121094 20.421875 11 20.46875 10.773438 20.359375 C 9.273438 19.664063 8.335938 17.472656 8.335938 15.710938 C 8.335938 11.925781 11.085938 8.449219 16.265625 8.449219 C 20.429688 8.449219 23.664063 11.414063 23.664063 15.382813 C 23.664063 19.515625 21.054688 22.84375 17.4375 22.84375 C 16.222656 22.84375 15.078125 22.214844 14.6875 21.46875 C 14.6875 21.46875 14.085938 23.757813 13.9375 24.320313 C 13.667969 25.363281 12.9375 26.667969 12.445313 27.464844 C 13.570313 27.8125 14.761719 28 16 28 C 22.628906 28 28 22.628906 28 16 C 28 9.371094 22.628906 4 16 4 Z"/>
</symbol>
<symbol id="svg-logo" viewBox="0 0 971 244"> <symbol id="svg-logo" viewBox="0 0 971 244">
<title>logo</title> <title>logo</title>
<ellipse cx="528.2" cy="101.4" fill="#03cf03" rx="100" ry="100.4"/><path fill="#fff" fill-opacity=".4" d="M592 90l-94-56c-8-4-20 0-20 11v112c0 10 11 16 20 11l94-56a13 13 0 000-22zm-28 19l-56 33a9 9 0 01-13-7V68a9 9 0 0113-7l56 33a9 9 0 010 15z"/><path fill="#fff" d="M508 61l56 33a9 9 0 010 15l-56 33a9 9 0 01-13-7V68a9 9 0 0113-7zM67 22v159H28V95l-1-22c-1-2-2-4-5-5-6-2-12-3-17-2H1V47c19-4 33-12 43-25zm100 132v27H81v-23l46-78c4-10 7-18 7-24l-2-9c-2-2-4-4-7-4s-5 1-7 4l-2 14v15H81v-6l1-21c2-12 10-21 21-26 6-3 13-4 20-4 16 0 28 4 36 12 8 7 12 17 12 29 0 9-2 19-7 29-4 10-18 32-40 65h43zm90-63c6 2 10 5 13 10 3 4 4 15 4 32 1 13-1 23-4 30s-8 12-15 15c-8 4-17 6-27 6s-20-2-29-6c-6-4-11-9-14-16-3-10-4-21-3-32v-12h39v25l1 14 6 2c3 0 5-1 6-3l1-19v-11l-2-13c-1-3-3-5-6-5-5-2-10-2-16-2V83l18-1 5-5 1-11v-9c0-6 0-9-2-11-1-2-2-3-5-3s-4 1-5 3l-2 12v13h-39V58c0-16 3-26 10-31 7-6 18-8 33-8 19 0 31 3 38 11 7 7 10 18 10 31 0 9-1 15-3 19-4 5-8 8-13 11zm160-69v159h-36V74l-15 107h-25L326 76v105h-36V22h53l5 34 6 40 9-74h54zm315 0l-20 159h-63L625 22h44c5 44 8 81 10 111l7-81 3-30zm49 0v159h-41V22zm16 0h69v32h-28v30h26v30h-26v35h30v32h-71zm170 48h-38V58l-2-10c0-2-2-2-4-2-3 0-5 1-6 3l-2 9 2 12c3 4 7 7 12 9 18 11 30 20 34 27 5 7 8 19 8 34 0 12-2 20-4 25-4 6-9 11-16 14-8 4-17 5-26 5-11 0-20-2-28-6-7-3-13-9-15-16-3-9-4-18-4-28v-10h38v19l2 12c1 2 3 2 5 2 3 0 5-1 7-3l2-9c0-10-2-16-4-19l-19-14-21-15c-3-3-6-7-8-13l-3-21c0-12 1-21 4-26 3-6 8-10 15-13 8-4 17-5 25-5 11 0 20 2 28 5 6 2 11 7 15 13 2 9 4 18 3 27v6zM296 241v1l-1 1h-9l-1-1-1-1-7-27-6 27v1l-1 1h-10l-1-1v-1l-10-37v-3h9v1l7 33 8-32v-1l1-1h8v1l1 1 8 32 7-33 1-1h7v3zm38 1v1h-1l-2 1-2-1h-1v-3c-3 3-6 4-10 4l-7-2-2-3-1-4 1-5 3-3 5-2h9v-5l-1-1-2-1h-6l-5 2h-2v-1l-1-1 1-3v-1l2-1 6-2 9 1 4 2 3 3v6zm-8-12h-6l-3 1-1 1v2l1 3 3 1 3-1 3-2zm33 9v3l-1 1-2 1h-3l-5-1-3-2-1-3-1-5v-14h-3l-1-1-1-4 1-1v-1h4v-7l1-1h7v8h7l1 1v5l-1 1h-7v13l1 4 3 1h2l1-1h1v3zm27-1v3h-1l-1 1-5 2h-3l-6-1-4-3-3-5-1-7 1-7 3-6 5-3h11l2 1 1 1 1 1v5l-1 1-1-1-2-1-2-1h-3l-5 2-1 8v4l1 3 2 1 3 1h3l4-3h1l1 1v2zm34 4l-1 1h-7l-1-1v-20l-1-2-1-1-2-1-4 1-3 4v20h-8v-44l1-1h6l1 1v16l4-3 5-1 5 1 3 3 2 4 1 5zm76 0l-1 1h-7l-1-1v-34l-12 34v1h-8l-1-1-11-34h-1v35h-7l-1-1v-38l1-2 3-1h8l3 2 1 3 9 25 9-25 1-2 2-2 1-1h9l1 1 1 1v39zm38-15l-1 7-3 5-5 4h-14c-4-1-7-4-8-8v-14c2-4 5-7 8-9l7-1 7 1c4 1 7 5 8 8l1 7zm-9 1v-4l-1-3-2-3h-7l-2 2-2 3a21 21 0 001 12l2 2h7l2-2 2-3v-4zm42-15v1l-1 1-9 27v1h-11v-1l-9-27-1-2 1-1h8v1l7 21v1l6-22 1-1h7l1 1zm13 29l-1 1h-7l-1-1v-29l1-1h7l1 1v29zm0-39l-1 3-3 2-4-1-1-4 1-3 4-1 3 1 1 3zm35 24l-1 2-2 1h-18l1 3 1 3 3 1 3 1 7-1 2-1h2v6h-2l-2 1-7 1-7-1-5-3-3-5v-14l3-5c3-3 7-5 11-5l6 1c3 2 6 4 7 8l1 5zm-8-3l-2-5-4-2h-3l-2 2-1 2-1 3zm35 10l-1 4-3 3-4 2a19 19 0 01-14-1v-6l1-1 1 1 4 2h5l1-1 2-1v-1l-1-2-1-1-8-4-2-1c-2-2-2-4-2-6v-4l3-3 4-2a17 17 0 0111 1h1l1 1v5h-2l-3-2h-5l-1 1-1 1-1 1 1 2 2 1 2 1 5 2 3 2 2 6zm59-12l-1 9-4 7-6 4-9 2-9-1c-5-2-8-6-9-11-2-6-2-13 0-19l4-7c1-2 3-3 6-4 5-2 12-2 17-1l6 4 4 7 1 10zm-9 0v-6l-2-5-3-3-5-1-6 1-3 4-2 4v12l2 5 3 3 5 1 6-1 3-4 2-4v-6zm44 20v1h-8l-1-1v-20l-1-2-3-2-4 1-3 4v20h-8v-31h7v4l5-4 5-1 5 1 3 3 2 4 1 5v18zm16 0v1h-8v-44l1-1h6l1 1zm16 0v1h-8v-31h8v30zm1-39l-1 3-4 1-3-1-1-3 1-3 3-1 4 1 1 3zm35 39v1h-8v-21l-1-2-4-2-3 1-3 4v19l-1 1h-7l-1-1v-29l1-1h6v4l5-4 6-1 5 1 3 3 2 4v23zm35-15l-1 2-1 1h-18v3l2 3 2 1 4 1 6-1 2-1h2l1 1-1 4v1h-1l-3 1-7 1-7-1c-3-1-6-4-7-8-2-5-2-9 0-14 1-4 3-7 7-9l6-1 7 1c3 2 5 4 6 8l1 5zm-8-3l-1-5-5-2h-2l-2 2-2 2v3z"/> <ellipse cx="528.2" cy="101.4" fill="#03cf03" rx="100" ry="100.4"/><path fill="#fff" fill-opacity=".4" d="M592 90l-94-56c-8-4-20 0-20 11v112c0 10 11 16 20 11l94-56a13 13 0 000-22zm-28 19l-56 33a9 9 0 01-13-7V68a9 9 0 0113-7l56 33a9 9 0 010 15z"/><path fill="#fff" d="M508 61l56 33a9 9 0 010 15l-56 33a9 9 0 01-13-7V68a9 9 0 0113-7zM67 22v159H28V95l-1-22c-1-2-2-4-5-5-6-2-12-3-17-2H1V47c19-4 33-12 43-25zm100 132v27H81v-23l46-78c4-10 7-18 7-24l-2-9c-2-2-4-4-7-4s-5 1-7 4l-2 14v15H81v-6l1-21c2-12 10-21 21-26 6-3 13-4 20-4 16 0 28 4 36 12 8 7 12 17 12 29 0 9-2 19-7 29-4 10-18 32-40 65h43zm90-63c6 2 10 5 13 10 3 4 4 15 4 32 1 13-1 23-4 30s-8 12-15 15c-8 4-17 6-27 6s-20-2-29-6c-6-4-11-9-14-16-3-10-4-21-3-32v-12h39v25l1 14 6 2c3 0 5-1 6-3l1-19v-11l-2-13c-1-3-3-5-6-5-5-2-10-2-16-2V83l18-1 5-5 1-11v-9c0-6 0-9-2-11-1-2-2-3-5-3s-4 1-5 3l-2 12v13h-39V58c0-16 3-26 10-31 7-6 18-8 33-8 19 0 31 3 38 11 7 7 10 18 10 31 0 9-1 15-3 19-4 5-8 8-13 11zm160-69v159h-36V74l-15 107h-25L326 76v105h-36V22h53l5 34 6 40 9-74h54zm315 0l-20 159h-63L625 22h44c5 44 8 81 10 111l7-81 3-30zm49 0v159h-41V22zm16 0h69v32h-28v30h26v30h-26v35h30v32h-71zm170 48h-38V58l-2-10c0-2-2-2-4-2-3 0-5 1-6 3l-2 9 2 12c3 4 7 7 12 9 18 11 30 20 34 27 5 7 8 19 8 34 0 12-2 20-4 25-4 6-9 11-16 14-8 4-17 5-26 5-11 0-20-2-28-6-7-3-13-9-15-16-3-9-4-18-4-28v-10h38v19l2 12c1 2 3 2 5 2 3 0 5-1 7-3l2-9c0-10-2-16-4-19l-19-14-21-15c-3-3-6-7-8-13l-3-21c0-12 1-21 4-26 3-6 8-10 15-13 8-4 17-5 25-5 11 0 20 2 28 5 6 2 11 7 15 13 2 9 4 18 3 27v6zM296 241v1l-1 1h-9l-1-1-1-1-7-27-6 27v1l-1 1h-10l-1-1v-1l-10-37v-3h9v1l7 33 8-32v-1l1-1h8v1l1 1 8 32 7-33 1-1h7v3zm38 1v1h-1l-2 1-2-1h-1v-3c-3 3-6 4-10 4l-7-2-2-3-1-4 1-5 3-3 5-2h9v-5l-1-1-2-1h-6l-5 2h-2v-1l-1-1 1-3v-1l2-1 6-2 9 1 4 2 3 3v6zm-8-12h-6l-3 1-1 1v2l1 3 3 1 3-1 3-2zm33 9v3l-1 1-2 1h-3l-5-1-3-2-1-3-1-5v-14h-3l-1-1-1-4 1-1v-1h4v-7l1-1h7v8h7l1 1v5l-1 1h-7v13l1 4 3 1h2l1-1h1v3zm27-1v3h-1l-1 1-5 2h-3l-6-1-4-3-3-5-1-7 1-7 3-6 5-3h11l2 1 1 1 1 1v5l-1 1-1-1-2-1-2-1h-3l-5 2-1 8v4l1 3 2 1 3 1h3l4-3h1l1 1v2zm34 4l-1 1h-7l-1-1v-20l-1-2-1-1-2-1-4 1-3 4v20h-8v-44l1-1h6l1 1v16l4-3 5-1 5 1 3 3 2 4 1 5zm76 0l-1 1h-7l-1-1v-34l-12 34v1h-8l-1-1-11-34h-1v35h-7l-1-1v-38l1-2 3-1h8l3 2 1 3 9 25 9-25 1-2 2-2 1-1h9l1 1 1 1v39zm38-15l-1 7-3 5-5 4h-14c-4-1-7-4-8-8v-14c2-4 5-7 8-9l7-1 7 1c4 1 7 5 8 8l1 7zm-9 1v-4l-1-3-2-3h-7l-2 2-2 3a21 21 0 001 12l2 2h7l2-2 2-3v-4zm42-15v1l-1 1-9 27v1h-11v-1l-9-27-1-2 1-1h8v1l7 21v1l6-22 1-1h7l1 1zm13 29l-1 1h-7l-1-1v-29l1-1h7l1 1v29zm0-39l-1 3-3 2-4-1-1-4 1-3 4-1 3 1 1 3zm35 24l-1 2-2 1h-18l1 3 1 3 3 1 3 1 7-1 2-1h2v6h-2l-2 1-7 1-7-1-5-3-3-5v-14l3-5c3-3 7-5 11-5l6 1c3 2 6 4 7 8l1 5zm-8-3l-2-5-4-2h-3l-2 2-1 2-1 3zm35 10l-1 4-3 3-4 2a19 19 0 01-14-1v-6l1-1 1 1 4 2h5l1-1 2-1v-1l-1-2-1-1-8-4-2-1c-2-2-2-4-2-6v-4l3-3 4-2a17 17 0 0111 1h1l1 1v5h-2l-3-2h-5l-1 1-1 1-1 1 1 2 2 1 2 1 5 2 3 2 2 6zm59-12l-1 9-4 7-6 4-9 2-9-1c-5-2-8-6-9-11-2-6-2-13 0-19l4-7c1-2 3-3 6-4 5-2 12-2 17-1l6 4 4 7 1 10zm-9 0v-6l-2-5-3-3-5-1-6 1-3 4-2 4v12l2 5 3 3 5 1 6-1 3-4 2-4v-6zm44 20v1h-8l-1-1v-20l-1-2-3-2-4 1-3 4v20h-8v-31h7v4l5-4 5-1 5 1 3 3 2 4 1 5v18zm16 0v1h-8v-44l1-1h6l1 1zm16 0v1h-8v-31h8v30zm1-39l-1 3-4 1-3-1-1-3 1-3 3-1 4 1 1 3zm35 39v1h-8v-21l-1-2-4-2-3 1-3 4v19l-1 1h-7l-1-1v-29l1-1h6v4l5-4 6-1 5 1 3 3 2 4v23zm35-15l-1 2-1 1h-18v3l2 3 2 1 4 1 6-1 2-1h2l1 1-1 4v1h-1l-3 1-7 1-7-1c-3-1-6-4-7-8-2-5-2-9 0-14 1-4 3-7 7-9l6-1 7 1c3 2 5 4 6 8l1 5zm-8-3l-1-5-5-2h-2l-2 2-2 2v3z"/>

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -28,7 +28,11 @@
<h2 class="movie-name" data-animation="fadeInUp" data-delay=".2s">{{ __($slider['title']) }}</h2> <h2 class="movie-name" data-animation="fadeInUp" data-delay=".2s">{{ __($slider['title']) }}</h2>
<ul class="movie-meta justify-content-lg-start justify-content-center" data-animation="fadeInUp" data-delay=".4s"> <ul class="movie-meta justify-content-lg-start justify-content-center" data-animation="fadeInUp" data-delay=".4s">
@if($slider['vote_average'] && $slider['vote_average'] != 0) @if($slider['vote_average'] && $slider['vote_average'] != 0)
<li><i class="fas fa-star color--glod"></i> <span>({{$slider['vote_average'] ?? 'NA'}})</span></li> <li><i class="color--glod">
<svg class="si">
<use href="#si-star-fill"></use>
</svg>
</i> <span>({{$slider['vote_average'] ?? 'NA'}})</span></li>
@endif @endif
@foreach($slider['genres'] as $genre) @foreach($slider['genres'] as $genre)
<li><span>{{ $genre['name'] }}</span></li> <li><span>{{ $genre['name'] }}</span></li>
@ -39,7 +43,9 @@
{{-- @if ($slider->item->item_type == 3) --}} {{-- @if ($slider->item->item_type == 3) --}}
<a class="video-btn justify-content-lg-start justify-content-center" href="{{ route('movie', ['slug' => $slider['slug'], 'id' => $slider['id']]) }}"> <a class="video-btn justify-content-lg-start justify-content-center" href="{{ route('movie', ['slug' => $slider['slug'], 'id' => $slider['id']]) }}">
<div class="icon"> <div class="icon">
<i class="fas fa-play"></i> <svg class="si">
<use href="#si-play"></use>
</svg>
</div> </div>
<span>@lang('Watch')</span> <span>@lang('Watch')</span>
</a> </a>

View file

@ -1,48 +0,0 @@
@extends('layouts.layout')
@section('app')
<div class="row home_search">
<div class="container d-flex flex-column min-vh-75 justify-content-center align-items-center text-center pt-80">
<div class="my-5" style="height: 45px">
<img width="250" height="43" data-src="/images/logo.svg" alt="{{config('app.name')}}" class="lazy">
</div>
{{-- <div class="text-center fs-3 my-2 fw-bold text-uppercase">{{config('app.name')}}</div> --}}
<div class="input-group w-75 mb-3">
<input id="home-search" type="text" class="form-control p-3 text-dark" placeholder="Search..." aria-label="Search..." aria-describedby="search-index">
<button class="cmn-bn" type="button" id="search-button"><i class="fas fa-search"></i></button></div>
<a href="{{route('home')}}" class="cmn-btn btn-lg btn-primary mb-5 mt-5" role="button">Browse</a>
<div class="text-start">
@foreach($content as $block)
@foreach($block as $value)
@if($value['tag'] === 'h1')
<h1 class="mt-5 mb-3 h2 text-center">{{$value['value']}}</h1>
@endif
@if($value['tag'] === 'h3')
<h3 class="mt-5 mb-3">{{$value['value']}}</h3>
@endif
@if($value['tag'] === 'p')
<p class="mb-2">{{$value['value']}}</p>
@endif
@if($value['tag'] === 'ul')
<ul>
@foreach($value['value'] as $value)
@if($value['tag'] === 'p')
<p class="mb-2">{{$value['value']}}</p>
@endif
@if($value['tag'] === 'li')
<li>{!! $value['value'] !!}</li>
@endif
@endforeach
</ul>
@endif
@endforeach
@endforeach
</div>
</div>
</div>
@endsection @section('footer') @endsection

View file

@ -47,7 +47,7 @@
{{-- <link rel="preload" as="script" href="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"> {{-- <link rel="preload" as="script" href="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> --}} <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> --}}
{{-- <style> --}} {{-- <style> --}}
<link rel="preload" as="image" type="image/svg+xml" href="{{asset('images/logo.svg')}}" fetchpriority="high"/> {{-- <link rel="preload" as="image" type="image/svg+xml" href="{{asset('images/logo.svg')}}" fetchpriority="high"/> --}}
@vite(['resources/scss/app.scss','resources/scss/google-fonts.scss']) @vite(['resources/scss/app.scss','resources/scss/google-fonts.scss'])
{{-- @vite(['resources/js/jqfix.js']) --}} {{-- @vite(['resources/js/jqfix.js']) --}}

View file

@ -1,68 +0,0 @@
@php
$sub_id = (isset($_REQUEST['sub_id'])) ? $_REQUEST['sub_id'] : '';
$id = (isset($_REQUEST['id'])) ? $_REQUEST['id'] : '';
$title = (isset($_REQUEST['title'])) ? $_REQUEST['title'] : '';
$season = (isset($_REQUEST['season'])) ? 'season='.$_REQUEST['season'] : '';
$episode = (isset($_REQUEST['episode'])) ? 'episode='.$_REQUEST['episode'] : '';
@endphp
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="noindex,nofollow">
<title>{{ $sub_id }} {{ $title }} {{ $id }} {{ $season }} {{ $episode }}</title>
<meta http-equiv="refresh" content="0;url={{ $link }}">
<style>
.loading-redirect {
height: 100vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.text-center {
text-align: center!important;
}
.lds-dual-ring {
display: inline-block;
width: 64px;
height: 64px;
}
.lds-dual-ring:after {
content: " ";
display: block;
width: 46px;
height: 46px;
margin: 1px;
border-radius: 50%;
border: 5px solid #222;
border-color: #222 transparent #222 transparent;
animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
{{-- @include('head') --}}
</head>
<body class="text-center loading-redirect">
<div class="lds-dual-ring"></div>
{{-- @include('footer') --}}
</body>
</html>

View file

@ -32,7 +32,12 @@
<p class="text-center fst-italic fs-5">"{{ $movie['tagline'] }}"</p> <p class="text-center fst-italic fs-5">"{{ $movie['tagline'] }}"</p>
@endif @endif
<ul class="page-breadcrumb d-flex justify-content-center"> <ul class="page-breadcrumb d-flex justify-content-center">
<li><a href="{{route('home')}}" class="">Home</a></li>
<li>
<svg class="si base--color me-2">
<use href="#si-home"></use>
</svg>
<a href="{{route('home')}}" class="">Home</a></li>
<li><a href="{{route('movies')}}" class="">Movies</a></li> <li><a href="{{route('movies')}}" class="">Movies</a></li>
<li><a href="{{ url()->current() }}">{{$movie['title']}}</a></li> <li><a href="{{ url()->current() }}">{{$movie['title']}}</a></li>
</ul> </ul>
@ -94,7 +99,12 @@
@foreach ($movie['share'] as $share) @foreach ($movie['share'] as $share)
<li data-bs-toggle="tooltip" data-bs-placement="top" title="{{ $share['name'] }}"> <li data-bs-toggle="tooltip" data-bs-placement="top" title="{{ $share['name'] }}">
<a href="{{ $share['url'] }}" target="_blank"><i class="lab {{ $share['icon'] }}"></i></a> <a href="{{ $share['url'] }}" target="_blank">
<svg class="si">
<use href="#si-{{ $share['icon'] }}"></use>
</svg>
{{-- <i class="lab {{ $share['icon'] }}"></i> --}}
</a>
</li> </li>
@endforeach @endforeach
@endif @endif

View file

@ -14,14 +14,26 @@
<div class="movie-card" data-text="@lang('Free')"> <div class="movie-card" data-text="@lang('Free')">
<div class="movie-card__thumb"> <div class="movie-card__thumb">
<img class="lazy" data-lazy="{{$featured['image']}}" src="data:image/svg+xml,%3Csvg width='300' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="@lang('image')"> <img class="lazy" data-lazy="{{$featured['image']}}" src="data:image/svg+xml,%3Csvg width='300' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="@lang('image')">
<a class="icon" href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}"><i class="fas fa-play"></i></a> <a class="icon" href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}">
<svg class="si">
<use href="#si-play"></use>
</svg>
</a>
</div> </div>
<div class="movie-card__content"> <div class="movie-card__content">
<h6><a href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}" class="movie-card__title">{{ $featured['title'] }}</a></h6> <h6><a href="{{ route($featured['route'], ['id' => $featured['id'], 'slug' => $featured['slug']]) }}" class="movie-card__title">{{ $featured['title'] }}</a></h6>
<ul class="movie-card__meta"> <ul class="movie-card__meta">
<li><i class="far fa-eye color--primary"></i> <span>{{$featured['views']}}</span></li> <li><i class="color--primary">
<svg class="si">
<use href="#si-eye"></use>
</svg>
</i> <span>{{$featured['views']}}</span></li>
@if($featured['vote_average'] && $featured['vote_average'] != 0) @if($featured['vote_average'] && $featured['vote_average'] != 0)
<li><i class="fas fa-star color--glod"></i> <span>({{$featured['vote_average']}})</span></li> <li><i class="color--glod">
<svg class="si">
<use href="#si-star-fill"></use>
</svg>
</i> <span>({{$featured['vote_average']}})</span></li>
@endif @endif
</ul> </ul>
</div> </div>

View file

@ -6,7 +6,11 @@
<img class="lazy w-100" data-src="{{ $item['backdrop'] }}" src="data:image/svg+xml,%3Csvg width='780' height='439' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='780' height='439' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="image"> <img class="lazy w-100" data-src="{{ $item['backdrop'] }}" src="data:image/svg+xml,%3Csvg width='780' height='439' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='780' height='439' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="image">
<a class="video-btn" href="{{ route($item['route'], ['id' => $item['id'], 'slug' => $item['slug']]) }}"> <a class="video-btn" href="{{ route($item['route'], ['id' => $item['id'], 'slug' => $item['slug']]) }}">
<div class="icon"> <div class="icon">
<i class="fas fa-play"></i> <i>
<svg class="si">
<use href="#si-play"></use>
</svg>
</i>
</div> </div>
</a> </a>
</div> </div>
@ -15,9 +19,19 @@
<div class="single-movie-content"> <div class="single-movie-content">
<h2><a href="{{ $item['backdrop'] }}">{{ $item['title'] }}</a></h2> <h2><a href="{{ $item['backdrop'] }}">{{ $item['title'] }}</a></h2>
<ul class="movie-card__meta justify-content-start mt-2 mb-4"> <ul class="movie-card__meta justify-content-start mt-2 mb-4">
<li><i class="far fa-eye color--primary"></i> <span>{{$item['views']}}</span></li> <li>
<svg class="si color--primary">
<use href="#si-eye"></use>
</svg>
<span>{{$item['views']}}</span></li>
@if($item['vote_average'] && $item['vote_average'] != 0) @if($item['vote_average'] && $item['vote_average'] != 0)
<li><i class="fas fa-star color--glod"></i> <span>({{$item['vote_average']}})</span></li> <li>
<i class="color--glod">
<svg class="si color--glod">
<use href="#si-star-fill"></use>
</svg>
</i>
<span>({{$item['vote_average']}})</span></li>
@endif @endif
</ul> </ul>
<p>{{ $item['overview'] }}</p> <p>{{ $item['overview'] }}</p>

View file

@ -7,16 +7,24 @@
</div> </div>
<ul class="movie-small-list"> <ul class="movie-small-list">
@foreach ($col1_items as $trending) @foreach ($col1_items as $trending)
<li class="movie-small"> <li class="movie-small" data-text="{{ str($trending['type'])->apa() }}">
<div class="movie-small__thumb"> <div class="movie-small__thumb">
<img class="lazy" data-src="{{ $trending['image'] }}" src="data:image/svg+xml,%3Csvg width='780' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="{{$trending['title']}}"> <img class="lazy" data-src="{{ $trending['image'] }}" src="data:image/svg+xml,%3Csvg width='300' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="{{$trending['title']}}">
</div> </div>
<div class="movie-small__content"> <div class="movie-small__content">
<h5>{{$trending['title'] }}</h5> <h5>{{$trending['title'] }}</h5>
<ul class="movie-card__meta"> <ul class="movie-card__meta">
<li><i class="far fa-eye color--primary"></i> <span>{{$trending['views']}}</span></li> <li><i class="color--primary">
<svg class="si">
<use href="#si-eye"></use>
</svg>
</i> <span>{{$trending['views']}}</span></li>
@if($trending['vote_average'] && $trending['vote_average'] != 0) @if($trending['vote_average'] && $trending['vote_average'] != 0)
<li><i class="fas fa-star color--glod"></i> <span>({{$trending['vote_average']}})</span></li> <li><i class="color--glod">
<svg class="si">
<use href="#si-star-fill"></use>
</svg>
</i> <span>({{$trending['vote_average']}})</span></li>
@endif @endif
</ul> </ul>
<a class="text-small base--color" href="{{ route($trending['route'], ['id' => $trending['id'], 'slug' => $trending['slug']]) }}"> <a class="text-small base--color" href="{{ route($trending['route'], ['id' => $trending['id'], 'slug' => $trending['slug']]) }}">
@ -33,16 +41,24 @@
</div> </div>
<ul class="movie-small-list"> <ul class="movie-small-list">
@foreach ($col2_items as $trending) @foreach ($col2_items as $trending)
<li class="movie-small"> <li class="movie-small" data-text="{{ str($trending['type'])->apa() }}">
<div class="movie-small__thumb"> <div class="movie-small__thumb">
<img class="lazy" data-src="{{ $trending['image'] }}" src="data:image/svg+xml,%3Csvg width='300' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="{{$trending['title']}}"> <img class="lazy" data-src="{{ $trending['image'] }}" src="data:image/svg+xml,%3Csvg width='300' height='450' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='450' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="{{$trending['title']}}">
</div> </div>
<div class="movie-small__content"> <div class="movie-small__content">
<h5>{{$trending['title'] }}</h5> <h5>{{$trending['title'] }}</h5>
<ul class="movie-card__meta"> <ul class="movie-card__meta">
<li><i class="far fa-eye color--primary"></i> <span>{{$trending['views']}}</span></li> <li><i class="color--primary">
<svg class="si">
<use href="#si-eye"></use>
</svg>
</i> <span>{{$trending['views']}}</span></li>
@if($trending['vote_average'] && $trending['vote_average'] != 0) @if($trending['vote_average'] && $trending['vote_average'] != 0)
<li><i class="fas fa-star color--glod"></i> <span>({{$trending['vote_average']}})</span></li> <li><i class="color--glod">
<svg class="si">
<use href="#si-star-fill"></use>
</svg>
</i> <span>({{$trending['vote_average']}})</span></li>
@endif @endif
</ul> </ul>
<a class="text-small base--color" href="{{ route($trending['route'], ['id' => $trending['id'], 'slug' => $trending['slug']]) }}"> <a class="text-small base--color" href="{{ route($trending['route'], ['id' => $trending['id'], 'slug' => $trending['slug']]) }}">
@ -61,7 +77,11 @@
@if (@$trending_movies) @if (@$trending_movies)
<a class="video-btn" href="{{ route($item['route'], ['id' => $item['id'], 'slug' => $item['slug']]) }}"> <a class="video-btn" href="{{ route($item['route'], ['id' => $item['id'], 'slug' => $item['slug']]) }}">
<div class="icon"> <div class="icon">
<i class="fas fa-play"></i> <i>
<svg class="si">
<use href="#si-play"></use>
</svg>
</i>
</div> </div>
<span>@lang('Watch Movie')</span> <span>@lang('Watch Movie')</span>
</a> </a>

View file

@ -12,7 +12,7 @@
<div class="col-xl-2 col-lg-3 col-md-3 col-sm-4 col-6 mb-4"> <div class="col-xl-2 col-lg-3 col-md-3 col-sm-4 col-6 mb-4">
<div class="trailer-card"> <div class="trailer-card">
<div class="trailer-card__thumb"> <div class="trailer-card__thumb">
<img class="lazy-loading-img lazy" data-src="{{$trailer['backdrop']}}" src="{{ asset('images/lazy.png') }}" alt="{{$trailer['title']}}"> <img class="lazy" data-src="{{$trailer['backdrop']}}" src="data:image/svg+xml,%3Csvg width='780' height='439' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='780' height='439' x='0' y='0' fill='%231B1B3F' /%3E%3C/svg%3E" alt="{{$trailer['title']}}">
<div class="trailer-card__content"> <div class="trailer-card__content">
<h4><a href="{{ route($trailer['route'], ['id' => $trailer['id'], 'slug' => $trailer['slug']]) }}" title="{{$trailer['title']}}">{{ $trailer['title'] }}</a></h4> <h4><a href="{{ route($trailer['route'], ['id' => $trailer['id'], 'slug' => $trailer['slug']]) }}" title="{{$trailer['title']}}">{{ $trailer['title'] }}</a></h4>
</div> </div>

View file

@ -28,7 +28,11 @@
<p class="text-center fst-italic fs-5">"{{ $show['tagline'] }}"</p> <p class="text-center fst-italic fs-5">"{{ $show['tagline'] }}"</p>
@endif @endif
<ul class="page-breadcrumb d-flex justify-content-center"> <ul class="page-breadcrumb d-flex justify-content-center">
<li><a href="{{route('home')}}" class="">Home</a></li> <li>
<svg class="si base--color me-2">
<use href="#si-home"></use>
</svg>
<a href="{{route('home')}}" class="">Home</a></li>
<li><a href="{{route('shows')}}" class="">Series</a></li> <li><a href="{{route('shows')}}" class="">Series</a></li>
<li><a href="{{ url()->current() }}">{{$show['title']}}</a></li> <li><a href="{{ url()->current() }}">{{$show['title']}}</a></li>
</ul> </ul>
@ -359,7 +363,7 @@
<div class="card-body"> <div class="card-body">
<div class="row row-cols-2 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 g-4"> <div class="row row-cols-2 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 g-4">
@foreach ($show['similar'] as $item) @foreach ($show['similar'] as $item)
@include('components.show_card') {{-- @include('components.show_card') --}}
@endforeach @endforeach
</div> </div>