add page_title to configs
This commit is contained in:
parent
3ab35563be
commit
4736616ec1
9 changed files with 48 additions and 17 deletions
|
@ -87,10 +87,10 @@ public function search(SearchRequest $request, TmdbClient $tmdb)
|
||||||
|
|
||||||
$meta = [];
|
$meta = [];
|
||||||
$meta['title'] = str(config('site.search.title'))->replace(['{QUERY}'], $query)->replace(['{PAGE}'], $page_text)->apa();
|
$meta['title'] = str(config('site.search.title'))->replace(['{QUERY}'], $query)->replace(['{PAGE}'], $page_text)->apa();
|
||||||
|
$meta['page_title'] = str(config('site.search.page_title'))->replace(['{QUERY}'], $query)->replace(['{PAGE}'], $page_text)->apa();
|
||||||
$meta['description'] = str(config('site.search.description'))->replace(['{QUERY}'], $query)->replace(['{PAGE}'], $page_text);
|
$meta['description'] = str(config('site.search.description'))->replace(['{QUERY}'], $query)->replace(['{PAGE}'], $page_text);
|
||||||
$meta['keywords'] = config('site.search.keywords', false);
|
$meta['keywords'] = config('site.search.keywords', false);
|
||||||
$meta['image'] = asset('images/cover.jpg');
|
$meta['image'] = asset('images/cover.jpg');
|
||||||
$meta['page_title'] = 'Search Results for: '. $query;
|
|
||||||
$meta['route'] = Route::current();
|
$meta['route'] = Route::current();
|
||||||
// dd($meta['route']);
|
// dd($meta['route']);
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
],
|
],
|
||||||
'search' => [
|
'search' => [
|
||||||
'title' => config('app.name') . ' | Search {QUERY}',
|
'title' => config('app.name') . ' | Search {QUERY}',
|
||||||
|
'page_title' => '{QUERY}',
|
||||||
'description' => 'Search Results for {QUERY} Full Movie And TV Show - ' . config('app.name'),
|
'description' => 'Search Results for {QUERY} Full Movie And TV Show - ' . config('app.name'),
|
||||||
'keywords' => 'free tv series,free movies online,tv online,tv links,tv links movies,free tv shows,watch tv shows online,watch tv shows online free.'
|
'keywords' => 'free tv series,free movies online,tv online,tv links,tv links movies,free tv shows,watch tv shows online,watch tv shows online free.'
|
||||||
],
|
],
|
||||||
|
@ -81,11 +82,13 @@
|
||||||
],
|
],
|
||||||
'list' => [
|
'list' => [
|
||||||
'title' => 'Watch TV Series Online',
|
'title' => 'Watch TV Series Online',
|
||||||
|
'page_title' => 'TV Series',
|
||||||
'description' => 'Checkout the most popular series on ' . config('app.name') . ' to watch instantly online.',
|
'description' => 'Checkout the most popular series on ' . config('app.name') . ' to watch instantly online.',
|
||||||
'keywords' => 'free tv series,free movies online,tv online,tv links,tv links movies,free tv shows,watch tv shows online,watch tv shows online free.',
|
'keywords' => 'free tv series,free movies online,tv online,tv links,tv links movies,free tv shows,watch tv shows online,watch tv shows online free.',
|
||||||
],
|
],
|
||||||
'genres' => [
|
'genres' => [
|
||||||
'title' => '%s TV Series',
|
'title' => '%s TV Series',
|
||||||
|
'page_title' => '%s TV Series',
|
||||||
'description' => 'Checkout the most popular %s series on ' . config('app.name') . ' to watch instantly online.',
|
'description' => 'Checkout the most popular %s series on ' . config('app.name') . ' to watch instantly online.',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
@ -97,19 +100,28 @@
|
||||||
],
|
],
|
||||||
'list' => [
|
'list' => [
|
||||||
'title' => 'Watch Movies Online',
|
'title' => 'Watch Movies Online',
|
||||||
|
'page_title' => 'Browse Movies',
|
||||||
'description' => 'Checkout the most popular movies on ' . config('app.name') . ' to watch instantly online.',
|
'description' => 'Checkout the most popular movies on ' . config('app.name') . ' to watch instantly online.',
|
||||||
'keywords' => 'free tv series,free movies online,tv online,tv links,tv links movies,free tv shows,watch tv shows online,watch tv shows online free.',
|
'keywords' => 'free tv series,free movies online,tv online,tv links,tv links movies,free tv shows,watch tv shows online,watch tv shows online free.',
|
||||||
],
|
],
|
||||||
'genres' => [
|
'genres' => [
|
||||||
'title' => '%s Movies',
|
'title' => '%s Movies',
|
||||||
|
'page_title' => 'Browse %s Movies',
|
||||||
'description' => 'Movies List Page Description for genre %s',
|
'description' => 'Movies List Page Description for genre %s',
|
||||||
],
|
],
|
||||||
'country' => [
|
'country' => [
|
||||||
'title' => '%s Movies',
|
'title' => '%s Movies',
|
||||||
|
'page_title' => 'Browse %s Movies',
|
||||||
'description' => 'Movies List Page Description for genre %s',
|
'description' => 'Movies List Page Description for genre %s',
|
||||||
],
|
],
|
||||||
|
'cast' => [
|
||||||
|
'title' => 'Watch %s Movies Online{PAGE} - ' . config('app.name'),
|
||||||
|
'page_title' => 'Browse %s Movies',
|
||||||
|
'description' => '%s Movies{PAGE}: viewing or downloading the greatest films and TV series for free in all languages, in high definition, on safe and legal websites......',
|
||||||
|
],
|
||||||
'top_imdb' => [
|
'top_imdb' => [
|
||||||
'title' => 'IMDb Top 250',
|
'title' => 'IMDb Top 250',
|
||||||
|
'page_title' => 'IMDb Top 250',
|
||||||
'description' => 'Top IMDb Titles Description',
|
'description' => 'Top IMDb Titles Description',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -36,7 +36,7 @@
|
||||||
"isEntry": true
|
"isEntry": true
|
||||||
},
|
},
|
||||||
"resources/scss/app.scss": {
|
"resources/scss/app.scss": {
|
||||||
"file": "assets/app-QRjmpvGg.css",
|
"file": "assets/app-3UVNBeu9.css",
|
||||||
"src": "resources/scss/app.scss",
|
"src": "resources/scss/app.scss",
|
||||||
"isEntry": true
|
"isEntry": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -319,6 +319,12 @@
|
||||||
padding-top: 80px;
|
padding-top: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1199px) {
|
||||||
|
|
||||||
|
.pt-80 {
|
||||||
|
padding-top: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.pb-80 {
|
.pb-80 {
|
||||||
padding-bottom: 80px;
|
padding-bottom: 80px;
|
||||||
}
|
}
|
||||||
|
@ -1226,7 +1232,7 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.base--color {
|
.base--color {
|
||||||
color: #ee005f;
|
color: $primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color--glod {
|
.color--glod {
|
||||||
|
@ -1903,15 +1909,28 @@ a:hover {
|
||||||
.inner-hero {
|
.inner-hero {
|
||||||
padding-top: 200px;
|
padding-top: 200px;
|
||||||
padding-bottom: 150px;
|
padding-bottom: 150px;
|
||||||
}
|
@media (max-width: 1199px) {
|
||||||
|
|
||||||
@media (max-width: 1199px) {
|
|
||||||
.inner-hero {
|
|
||||||
padding-top: 150px;
|
padding-top: 150px;
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.list-hero {
|
||||||
|
padding-top:105px;
|
||||||
|
padding-bottom:75px;
|
||||||
|
@media (max-width: 1199px) {
|
||||||
|
|
||||||
|
padding-top: 100px;
|
||||||
|
padding-bottom: 50px;
|
||||||
|
&::before {
|
||||||
|
box-shadow: inset 1px 0px 60px 60px #0d0d31;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* inner-hero section css end */
|
/* inner-hero section css end */
|
||||||
/* featured section css start */
|
/* featured section css start */
|
||||||
/* movie-card */
|
/* movie-card */
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
@section('app')
|
@section('app')
|
||||||
|
|
||||||
<section class="inner-hero bg_img dark--overlay lazy" data-bg="{{asset('images/breadcrumb.webp')}}" style="padding-top:105px !important;padding-bottom:75px !important">
|
<section class="inner-hero list-hero bg_img dark--overlay lazy" data-bg="{{ asset('images/breadcrumb.webp') }}">
|
||||||
<div class="container position-relative">
|
<div class="container position-relative">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<h1 class="text-center h2">{{$meta['title']}}</h1>
|
<h1 class="text-center h2">{{ $meta['page_title'] ?? $meta['title'] }}</h1>
|
||||||
<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><a href="{{route('home')}}" class="">Home</a></li>
|
||||||
<li>{{$meta['title']}}</li> --}}
|
<li>{{$meta['title']}}</li> --}}
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
|
|
||||||
@section('app')
|
@section('app')
|
||||||
|
|
||||||
<section class="inner-hero bg_img dark--overlay lazy" data-bg="{{asset('images/breadcrumb.webp')}}">
|
<section class="inner-hero list-hero bg_img dark--overlay lazy" data-bg="{{ asset('images/breadcrumb.webp') }}">
|
||||||
<div class="container position-relative">
|
<div class="container position-relative">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<h2 class="text-center ">{{$meta['title']}}</h2>
|
<h1 class="text-center h2"><span class="px-2 base--color"><i class="las la-search"></i></span>{{ $meta['page_title'] ?? $meta['title'] }}</h1>
|
||||||
<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><a href="{{route('home')}}" class="">Home</a></li>
|
||||||
<li>Search results for: {{ $query }}</li>
|
<li>Search results for: {{ $query }}</li>
|
||||||
</ul>
|
</ul> --}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue