first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
@extends('common::prerender.base')
@section('head')
@include('seo.title-page.seo-tags')
@endsection
@section('body')
@include('seo.menu')
<h1>
{{ $title->name }}: {{ __('Season') }}
{{ $season->number }}
</h1>
@if ($seasonCount = $title->seasons_count)
<div>
<h3>{{ __('Seasons') }}</h3>
<ul>
@foreach (range(0, $seasonCount) as $number)
<li>
<a
href="{{ urls()->season(['title_id' => $title->id, 'number' => $number], $title) }}"
>
Season: {{ $number + 1 }}
</a>
</li>
@endforeach
</ul>
</div>
@endif
@if ($episodes)
<div>
<ul>
@foreach ($episodes as $episode)
<li>
<figure>
<img
src="{{ urls()->image($episode['poster']) }}"
alt="Episode poster"
width="270px"
/>
<figcaption>
<a
href="{{ urls()->episode($episode, $title) }}"
>
{{ $episode['name'] }}
</a>
</figcaption>
</figure>
<p>{{ $episode['description'] }}</p>
</li>
@endforeach
</ul>
</div>
@endif
@endsection

View File

@@ -0,0 +1,25 @@
<meta property="og:site_name" content="{{ settings('branding.site_name') }}" />
<meta property="twitter:card" content="summary" />
<title>
{{ $title->name }} ({{ $title->year }}) - Season {{ $season->number }} -
{{ settings('branding.site_name') }}
</title>
<meta property="og:url" content="{{ urls()->season($season, $title) }}" />
<link rel="canonical" href="{{ urls()->season($season, $title) }}" />
<meta
property="og:title"
content="{{ $title->name }} ({{ $title->year }}) - Season {{ $season->number }} - {{ settings('branding.site_name') }}"
/>
@if ($season->poster)
<meta property="og:image" content="{{ urls()->image($season->poster) }}" />
<meta property="og:width" content="300" />
<meta property="og:height" content="450" />
@endif
<meta property="og:description" content="List of episodes for {{$title->name}}: Season {{$season->number}}" />
<meta name="description" content="List of episodes for {{$title->name}}: Season {{$season->number}}" />
<meta
property="keywords"
content="reviews,photos,user ratings,synopsis,trailers,credits"
/>