Skip to content

Commit 03ddc44

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into dev
2 parents 5ee380e + b677073 commit 03ddc44

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/lendingwine2.png

226 KB
Loading

public/assets/lendingwine4.png

201 KB
Loading

src/components/home/ContentSection.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import Image from 'next/image';
22

3+
import AverageStar from '@/components/wineDetail/AverageStar';
4+
35
import { ImageCard } from '../common/card/ImageCard';
46

57
export const ContentSection = () => {
@@ -24,12 +26,12 @@ export const ContentSection = () => {
2426
<div className='w-[193px] flex-shrink-0'>
2527
<ImageCard
2628
className='bg-white h-[160px] rounded-lg border-none overflow-hidden shadow'
27-
imageSrc='/assets/lendingwine3.png'
29+
imageSrc='/assets/lendingwine4.png'
2830
imageClassName='h-[165px] w-[44px] object-contain '
2931
>
3032
<div className='flex flex-col ml-[9px] w-[80px]'>
31-
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
32-
<span>별점 나중에</span>
33+
<span className='font-extrabold text-4xl text-gray-800'>4.8</span>
34+
<AverageStar rating={4} />
3335
<p className='text-[10px] text-gray-500'>Sentinel Carbernet Sauvignon 2016</p>
3436
</div>
3537
</ImageCard>
@@ -42,7 +44,7 @@ export const ContentSection = () => {
4244
>
4345
<div className='flex flex-col ml-[9px] w-[80px]'>
4446
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
45-
<span>별점 나중에</span>
47+
<AverageStar rating={4} />
4648
<p className='text-[10px] text-gray-500'>Sentinel Carbernet Sauvignon 2016</p>
4749
</div>
4850
</ImageCard>

src/components/home/HeroSection.tsx

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Image from 'next/image';
22

33
import HeroSectionLayout from './HeroSectionLayout';
44
import { ImageCard } from '../common/card/ImageCard';
5+
import AverageStar from '../wineDetail/AverageStar';
56

67
export 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

Comments
 (0)