@@ -2,6 +2,7 @@ import Image from 'next/image';
22
33import HeroSectionLayout from './HeroSectionLayout' ;
44import { ImageCard } from '../common/card/ImageCard' ;
5+ import AverageStar from '../wineDetail/AverageStar' ;
56
67export const HeroSection = ( ) => {
78 return (
@@ -30,8 +31,7 @@ export const HeroSection = () => {
3031 >
3132 < div className = 'flex flex-col ml-[8px] w-[100px]' >
3233 < span className = 'font-extrabold text-4xl text-gray-800' > 4.3</ span >
33- { /* 모달쪽에 구현해둔 별점이 있음 */ }
34- < span > 별점 나중에</ span >
34+ < AverageStar rating = { 4 } />
3535 < p className = 'custom-text-xs-regular text-gray-500' >
3636 Sentinel Carbernet Sauvignon 2016
3737 </ p >
@@ -46,38 +46,36 @@ export const HeroSection = () => {
4646 imageClassName = 'h-full w-[44px] object-contain '
4747 >
4848 < div className = 'flex flex-col ml-[8px] w-[100px]' >
49- < span className = 'font-extrabold text-4xl text-gray-800' > 4.3 </ span >
50- < span > 별점 나중에 </ span >
49+ < span className = 'font-extrabold text-4xl text-gray-800' > 4.6 </ span >
50+ < AverageStar rating = { 4 } / >
5151 < p className = 'custom-text-xs-regular text-gray-500' >
52- Sentinel Carbernet Sauvignon 2016
52+ Ciel du Cheval Vaineyard Collaboration
5353 </ p >
5454 </ div >
5555 </ ImageCard >
5656 </ HeroSectionLayout >
5757 < HeroSectionLayout className = 'top-10 left-[calc(50%+100px)] z-20' >
5858 < ImageCard
59- imageSrc = '/assets/lendingwine1 .png'
59+ imageSrc = '/assets/lendingwine2 .png'
6060 imageClassName = 'h-full w-[44px] object-contain '
6161 >
6262 < div className = 'flex flex-col ml-[8px] w-[100px]' >
63- < span className = 'font-extrabold text-4xl text-gray-800' > 4.3</ span >
64- < span > 별점 나중에</ span >
65- < p className = 'custom-text-xs-regular text-gray-500' >
66- Sentinel Carbernet Sauvignon 2016
67- </ p >
63+ < span className = 'font-extrabold text-4xl text-gray-800' > 4.2</ span >
64+ < AverageStar rating = { 4 } />
65+ < p className = 'custom-text-xs-regular text-gray-500' > Palazzo della Torre 2017</ p >
6866 </ div >
6967 </ ImageCard >
7068 </ HeroSectionLayout >
7169
7270 { /* 좌우 아래 박스 */ }
7371 < HeroSectionLayout className = 'top-[80px] left-[calc(50%-480px)] z-10' >
7472 < ImageCard
75- imageSrc = '/assets/lendingwine1 .png'
73+ imageSrc = '/assets/lendingwine4 .png'
7674 imageClassName = 'h-full w-[44px] object-contain '
7775 >
7876 < div className = 'flex flex-col ml-[8px] w-[100px]' >
79- < span className = 'font-extrabold text-4xl text-gray-800' > 4.3 </ span >
80- < span > 별점 나중에 </ span >
77+ < span className = 'font-extrabold text-4xl text-gray-800' > 4.8 </ span >
78+ < AverageStar rating = { 4 } / >
8179 < p className = 'custom-text-xs-regular text-gray-500' >
8280 Sentinel Carbernet Sauvignon 2016
8381 </ p >
@@ -90,8 +88,8 @@ export const HeroSection = () => {
9088 imageClassName = 'h-full w-[44px] object-contain '
9189 >
9290 < div className = 'flex flex-col ml-[8px] w-[100px]' >
93- < span className = 'font-extrabold text-4xl text-gray-800' > 4.3 </ span >
94- < span > 별점 나중에 </ span >
91+ < span className = 'font-extrabold text-4xl text-gray-800' > 4.9 </ span >
92+ < AverageStar rating = { 4.2 } / >
9593 < p className = 'custom-text-xs-regular text-gray-500' >
9694 Sentinel Carbernet Sauvignon 2016
9795 </ p >
0 commit comments