🚧 wip: add recommendation component

This commit is contained in:
2026-03-12 12:00:00 +07:00
parent 01a15210ea
commit e3211d240a
5 changed files with 156 additions and 0 deletions

View File

@ -0,0 +1,20 @@
import { Suspense } from "react";
import RecommendationMain from "./main";
import RecommendationSkeleton from "./skeleton";
import { getRecommendationAnimeAction } from "../../actions/getRecommenationAnime";
const Recommendation = async () => {
return (
<div className="mt-12">
<h1 className="text-2xl text-neutral-100 font-semibold w-fit">
Maybe You Like
<div className="w-full h-0.5 bg-primary -mt-1.5" />
</h1>
<Suspense fallback={<RecommendationSkeleton />}>
<RecommendationMain />
</Suspense>
</div>
);
};
export default Recommendation;