-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π
style: μ€μκ° ν«ν νκΈ° νΌλΈλ¦¬μ± μμ
μλ£ #31
- Loading branch information
1 parent
0a370b5
commit b080b73
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { getTopReviews } from "@/apis/review/topReviews/topReviews"; | ||
import { ReviewTile } from "@/components/core/List"; | ||
|
||
const TopReviews = async () => { | ||
const topReviews = await getTopReviews(); | ||
return ( | ||
<section className="flex w-full flex-col gap-[12px]"> | ||
<div className="flex w-full justify-between"> | ||
<div className="flex gap-[4px] text-title-bold text-gray-scale-900"> | ||
μ€μκ° ν«ν νκΈ° | ||
</div> | ||
</div> | ||
|
||
<div className="flex w-full flex-col gap-[12px]"> | ||
{topReviews.map((review) => ( | ||
<ReviewTile key={review.reviewId} review={review} /> | ||
))} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default TopReviews; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as FestivalHot } from "./FestivalHot"; | ||
export { default as FestivalThisWeek } from "./FestivalThisWeek"; | ||
export { default as TopReviews } from "./TopReviews"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters