👔 feat: add title and additional attributes to card

This commit is contained in:
2026-03-15 21:11:20 +07:00
parent 8393e6393c
commit 5cb3b909be
6 changed files with 79 additions and 11 deletions

View File

@ -1,15 +1,15 @@
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>
<div>
<h1 className="text-[26px] text-neutral-100 font-semibold w-fit tracking-tight">
Maybe You Like
</h1>
</div>
<Suspense fallback={<RecommendationSkeleton />}>
<RecommendationMain />
</Suspense>