Release 2.5

This commit is contained in:
2025-10-20 08:45:42 +00:00
parent 162f84ecb9
commit ae6b7cfdd6
56 changed files with 3295 additions and 1008 deletions

View File

@@ -0,0 +1,30 @@
'use client';
import PageLayout from '@/components/PageLayout';
import TVShowContent from './TVShowContent';
import type { TVShow } from '@/types/movie';
interface TVShowPageProps {
showId: string;
show: TVShow | null;
}
export default function TVShowPage({ showId, show }: TVShowPageProps) {
if (!show) {
return (
<PageLayout>
<div className="w-full min-h-screen">
<div>Сериал не найден</div>
</div>
</PageLayout>
);
}
return (
<PageLayout>
<div className="w-full">
<TVShowContent tvShowId={showId} initialShow={show} />
</div>
</PageLayout>
);
}