Initial commit

This commit is contained in:
twotalesanimation
2026-06-11 10:46:09 +02:00
commit 81ad7e4ea9
223 changed files with 39530 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
// app/dashboard/liked-videos/page.tsx
import { Metadata } from 'next';
import { getServerSession } from 'next-auth';
import { authOptions } from '@/lib/auth-options';
import { redirect } from 'next/navigation';
import LikedVideosClient from '../liked-videos-client';
export const metadata: Metadata = {
title: 'Liked Videos | CMS',
description: 'View your liked videos',
};
export default async function LikedVideosPage() {
const session = await getServerSession(authOptions);
if (!session?.user) {
redirect('/login');
}
return <LikedVideosClient />;
}