feat: add scroll button and card skeleton loading

This commit is contained in:
2026-03-15 22:23:41 +07:00
parent 97ef74e0f7
commit 74ad82c4f0
6 changed files with 74 additions and 18 deletions

View File

@ -5,14 +5,11 @@ import ScrollingButton from "./components/ScrollingButton";
const Recommendation = async () => {
return (
<div className="mt-12">
<div className="mt-12 relative">
<div className="flex justify-between">
<h1 className="text-[26px] text-neutral-100 font-semibold w-fit tracking-tight">
Maybe You Like
</h1>
<div>
<ScrollingButton />
</div>
</div>
<Suspense fallback={<RecommendationSkeleton />}>
<RecommendationMain />