REFACTOR(repo): simplify project structure

- Move services/nextjs/ to nextjs/
- Move Dockerfile.prod to Dockerfile at root
- Remove deploy/ folder (K8s manifests moved to K3S-HOME/web-apps)
- Remove .gitea/ workflows
- Update GitHub Actions for new structure
- Remove develop branch triggers
This commit is contained in:
2026-01-05 02:00:36 +09:00
parent 8f6595a74a
commit 1fbd0467bd
53 changed files with 17 additions and 1050 deletions

View File

@@ -0,0 +1,26 @@
import { Suspense } from "react";
import MovieInfo from "@/components/movie-info";
import VideosInfo from "@/components/movie-videos";
import { getMovie } from "@/components/movie-info";
interface Iparams {
params: { id: string };
}
export async function generateMetadata({ params: { id } }: Iparams) {
const movie = await getMovie(id);
return { title: movie.title };
}
export default async function MovieDetail({ params: { id } }: Iparams) {
return (
<div>
<Suspense fallback={<h1>Loading movie info</h1>}>
<MovieInfo id={id} />
</Suspense>
<Suspense fallback={<h1>Loading videos info</h1>}>
<VideosInfo id={id} />
</Suspense>
</div>
);
}