add page_title to configs

This commit is contained in:
Constantin Plaiasu 2024-08-28 21:02:13 +03:00
parent 3ab35563be
commit 4736616ec1
9 changed files with 48 additions and 17 deletions

View file

@ -87,10 +87,10 @@ public function search(SearchRequest $request, TmdbClient $tmdb)
$meta = [];
$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['keywords'] = config('site.search.keywords', false);
$meta['image'] = asset('images/cover.jpg');
$meta['page_title'] = 'Search Results for: '. $query;
$meta['route'] = Route::current();
// dd($meta['route']);

View file

@ -59,6 +59,7 @@
],
'search' => [
'title' => config('app.name') . ' | Search {QUERY}',
'page_title' => '{QUERY}',
'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.'
],
@ -81,11 +82,13 @@
],
'list' => [
'title' => 'Watch TV Series Online',
'page_title' => 'TV Series',
'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.',
],
'genres' => [
'title' => '%s TV Series',
'page_title' => '%s TV Series',
'description' => 'Checkout the most popular %s series on ' . config('app.name') . ' to watch instantly online.',
],
],
@ -97,19 +100,28 @@
],
'list' => [
'title' => 'Watch Movies Online',
'page_title' => 'Browse Movies',
'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.',
],
'genres' => [
'title' => '%s Movies',
'page_title' => 'Browse %s Movies',
'description' => 'Movies List Page Description for genre %s',
],
'country' => [
'title' => '%s Movies',
'page_title' => 'Browse %s Movies',
'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' => [
'title' => 'IMDb Top 250',
'page_title' => 'IMDb Top 250',
'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

View file

@ -36,7 +36,7 @@
"isEntry": true
},
"resources/scss/app.scss": {
"file": "assets/app-QRjmpvGg.css",
"file": "assets/app-3UVNBeu9.css",
"src": "resources/scss/app.scss",
"isEntry": true
},

View file

@ -319,6 +319,12 @@
padding-top: 80px;
}
@media (max-width: 1199px) {
.pt-80 {
padding-top: 40px;
}
}
.pb-80 {
padding-bottom: 80px;
}
@ -1226,7 +1232,7 @@ a:hover {
}
.base--color {
color: #ee005f;
color: $primary;
}
.color--glod {
@ -1903,15 +1909,28 @@ a:hover {
.inner-hero {
padding-top: 200px;
padding-bottom: 150px;
}
@media (max-width: 1199px) {
.inner-hero {
@media (max-width: 1199px) {
padding-top: 150px;
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 */
/* featured section css start */
/* movie-card */

View file

@ -3,15 +3,15 @@
@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="row">
<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">
{{-- <li><a href="{{route('home')}}" class="">Home</a></li>
<li>{{$meta['title']}}</li> --}}
</ul>
</ul>
</div>
</div>
</div>

View file

@ -3,15 +3,15 @@
@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="row">
<div class="col-lg-12">
<h2 class="text-center ">{{$meta['title']}}</h2>
<ul class="page-breadcrumb d-flex justify-content-center">
<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">
<li><a href="{{route('home')}}" class="">Home</a></li>
<li>Search results for: {{ $query }}</li>
</ul>
</ul> --}}
</div>
</div>
</div>