Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0dc6a4e
Feat : ๋ Œ๋”ฉํŽ˜์ด์ง€ ๋ ˆ์ด์•„์›ƒ ์ž‘์—…
llmojoll Jul 23, 2025
6ed077b
Merge branch 'dev' into feature/page-lending
llmojoll Jul 24, 2025
cd69bf4
Feat : ์ด๋ฏธ์ง€์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€ svg ์ œ๊ฑฐ
llmojoll Jul 24, 2025
b60bb5f
Feat : ๋ Œ๋”ฉํŽ˜์ด์ง€ ์™€์ธ์นด๋“œ๋“ค ์ถ”๊ฐ€ ์™„๋ฃŒ
llmojoll Jul 24, 2025
662771f
Style : ๋ฐ˜์‘ํ˜• ์‚ฌ์ด์ฆˆ ๋ณ€๊ฒฝ `
llmojoll Jul 24, 2025
5c6c4b7
Merge branch 'dev' into feature/page-lending
llmojoll Jul 25, 2025
b0643cd
Feat : ์ปดํฌ๋„ŒํŠธ ๋ถ„๋ฆฌ
llmojoll Jul 25, 2025
8eb6aee
Style : ํŒจ๋”ฉ๊ฐ’์ˆ˜์ •
llmojoll Jul 25, 2025
53b948e
Merge branch 'dev' into feature/page-lending
llmojoll Jul 25, 2025
67bbeff
Style : ๋ฐ˜์‘ํ˜• ์ˆ˜์ •, ๋ฐฐ๊ฒฝ์ƒ‰ ๋ณ€๊ฒฝ
llmojoll Jul 25, 2025
f0dd0ce
Chore
llmojoll Jul 25, 2025
d525f17
Feat : ํ•„ํ„ฐ ๋„ฃ๋Š”์ค‘
llmojoll Jul 25, 2025
c37777f
Merge branch 'dev' into feature/page-lending
llmojoll Jul 25, 2025
688271f
Feat : ํ•„ํ„ฐ์— ์ด๋ฏธ์ง€ ์ถ”๊ฐ€
llmojoll Jul 25, 2025
027b40a
Chore
llmojoll Jul 25, 2025
f6df454
Refactor : ๋ ˆ์ด์•„์›ƒ ์ปดํฌ๋„ŒํŠธ ์ƒ์„ฑํ•ด์„œ ๊ฐ€๋…์„ฑ์˜ฌ๋ ค์คŒ
llmojoll Jul 25, 2025
23c3d4f
Merge branch 'dev' into feature/page-lending
llmojoll Jul 25, 2025
9794dd1
Feat : Image์ปดํฌ alt์†์„ฑ ์ถ”๊ฐ€
llmojoll Jul 25, 2025
6e534a5
Feat : ๋ฒ„ํŠผ๊ฒฝ๋กœ wines๋กœ ์ˆ˜์ •
llmojoll Jul 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/assets/lendinglogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/lendingreviewcard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/lendingwine1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/lendingwine3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/lendingwinecard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/assets/lendinglogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
106 changes: 106 additions & 0 deletions src/components/home/ContentSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
import Image from 'next/image';

import { ImageCard } from '../common/card/ImageCard';

export const ContentSection = () => {
return (
<div className='mx-auto max-w-[640px] min-w-[343px] mt-12 md:mt-[80px] xl:mt-[160px]'>
<div className='relative bg-[#EBEEF4] h-[424px] md:h-[320px] mb-[48px] md:mb-[96px] rounded-2xl'>
<div className='absolute top-[24px] md:top-[56px] left-[24px] md:left-[32px]'>
<span className='custom-text-2lg-bold md:custom-text-xl-bold'>
๋งค๋‹ฌ ์ƒˆ๋กญ๊ฒŒ ๋งŒ๋‚˜๋Š” <br />
์™€์ธ ์ถ”์ฒœ ์ฝ˜ํƒ ์ธ 
</span>
<p className='custom-text-xs-regular text-gray-500'>๋งค๋‹ฌ ๋‹ค์–‘ํ•œ ์ธ๊ธฐ ์™€์ธ์„ ๋งŒ๋‚˜๋ณด์„ธ์š”</p>
</div>
<div className='absolute w-[290px] md:w-[356px] h-[241px] md:h-[277px] right-0 bottom-[24px] md:bottom-0 bg-gray-100 overflow-hidden'>
<span className='absolute text-[#7E7E7E] md:text-[#50545B] custom-text-lg-bold md:custom-text-2lg-bold left-5 top-5'>
์ด๋ฒˆ ๋‹ฌ ์ถ”์ฒœ ์™€์ธ
</span>
<div className='flex gap-2.5 ml-5 mt-[61px] '>
<div className='w-[193px] flex-shrink-0'>
<ImageCard
className='bg-white h-[160px] rounded-lg border-none overflow-hidden'
imageSrc='/assets/lendingwine3.png'
imageClassName='h-[165px] w-[44px] object-contain '
>
<div className='flex flex-col ml-[9px] w-[80px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='text-[10px] text-gray-500'>Sentinel Carbernet Sauvignon 2016</p>
</div>
</ImageCard>
</div>
<div className='w-[193px] flex-shrink-0'>
<ImageCard
className='bg-white h-[160px] rounded-lg border-none overflow-hidden'
imageSrc='/assets/lendingwine3.png'
imageClassName='h-[165px] w-[44px] object-contain '
>
<div className='flex flex-col ml-[9px] w-[80px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='text-[10px] text-gray-500'>Sentinel Carbernet Sauvignon 2016</p>
</div>
</ImageCard>
</div>
</div>
</div>
</div>
<div className='relative bg-[#EBEEF4] h-[424px] md:h-[320px] mb-[48px] md:mb-[96px] rounded-2xl overflow-hidden'>
<div className='absolute top-[24px] md:top-[55px] left-[24px] md:left-[32px]'>
<span className='custom-text-2lg-bold md:custom-text-xl-bold'>
๋‹ค์–‘ํ•œ ํ•„ํ„ฐ๋กœ ์ฐพ๋Š”
<br />๋‚ด ๋งž์ถค ์™€์ธ
</span>
<p className='custom-text-xs-regular text-gray-500'>
์™€์ธ ํƒ€์ž…, ๊ฐ€๊ฒฉ, ํ‰์ ์œผ๋กœ <br />
๋‚˜์—๊ฒŒ ๋งž๋Š” ์™€์ธ์„ ์‰ฝ๊ฒŒ ๊ฒ€์ƒ‰ํ•ด์š”.
</p>
</div>
<Image
width={280}
height={100}
alt='ํ•„ํ„ฐ๋กœ ์ฐพ์€ ๋‚ด ๋งž์ถค ์™€์ธ'
src='/assets/lendingwinecard.png'
className='absolute right-[-10px] top-[110px] md:top-[65px]'
/>
<div
className='pointer-events-none absolute inset-0 rounded-xl'
style={{
background:
'linear-gradient(to top, #EBEEF4 0%, transparent 5%, transparent 95%, #EBEEF4 100%)',
}}
/>
</div>
<div className='relative bg-[#EBEEF4] h-[424px] md:h-[320px] mb-[64px] md:mb-[80px] xl:mb-[104px] rounded-2xl overflow-hidden '>
<div className='absolute top-[24px] md:top-[55px] left-[24px] md:left-[28px]'>
<span className='custom-text-2lg-bold md:custom-text-xl-bold'>
์ง๊ด€์ ์ธ
<br />
๋ฆฌ๋ทฐ ์‹œ์Šคํ…œ
</span>
<p className='custom-text-xs-regular text-gray-500'>
๋” ๊ตฌ์ฒดํ™”๋œ ๋ฆฌ๋ทฐ ์‹œ์Šคํ…œ์œผ๋กœ
<br />
์‰ฝ๊ณ  ๋น ๋ฅด๊ฒŒ ์™€์ธ ๋ฆฌ๋ทฐ๋ฅผ ์‚ดํŽด๋ณด์„ธ์š”/
</p>
</div>
<Image
width={272}
height={100}
alt='์™€์ธ ๋ฆฌ๋ทฐ ์˜ˆ์‹œ ์ด๋ฏธ์ง€'
src='/assets/lendingreviewcard.png'
className='absolute right-[-10px] top-[120px] md:right-[42px] md:top-[-65px]'
/>
<div
className='pointer-events-none absolute inset-0 rounded-xl'
style={{
background:
'linear-gradient(to top, #EBEEF4 0%, transparent 5%, transparent 95%, #EBEEF4 100%)',
}}
/>
</div>
</div>
);
};
105 changes: 105 additions & 0 deletions src/components/home/HeroSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
import Image from 'next/image';

import { ImageCard } from '../common/card/ImageCard';

export const HeroSection = () => {
return (
<header>
<div className='relative h-[403px] md:h-[394px] xl:h-[535px] bg-[#171A21] flex items-center justify-center overflow-hidden rounded-lg'>
<div className='flex flex-col items-center h-full'>
<div>
<Image
src='/assets/lendinglogo.png'
alt='์™€์ธ ๋กœ๊ณ  ์ด๋ฏธ์ง€'
width={100}
height={100}
className='w-[81px] md:w-[100px] h-[23px] md:h-[30px] text-primary mt-[58px] md:mt-[80px] xl:mt-[112px]'
/>
</div>
<span className='text-white text-center custom-text-xl-bold md:custom-text-2xl-bold mt-6 md:mt-8'>
ํ•œ ๊ณณ์—์„œ ๊ด€๋ฆฌํ•˜๋Š” <br />
๋‚˜๋งŒ์˜ ์™€์ธ์ฐฝ๊ณ 
</span>
<div className='relative w-[720px] h-[420px] mt-auto mx-auto translate-y-[80px] md:translate-y-[40px] xl:translate-y-[120px] scale-[1] md:scale-[0.7] xl:scale-[1]'>
{/* ๊ธฐ์ค€ ๋ฐ•์Šค translate-y ์•„๋ž˜๋กœ-ใ…ใ…๋งŒํผ ๋ฐ€์–ด๋‚ด๊ธฐ */}
<div className='absolute top-4 left-1/2 w-[240px] h-[188px] bg-white rounded-xl z-30 -translate-x-1/2 shadow-xl'>
<ImageCard
imageSrc='/assets/lendingwine3.png'
imageClassName='h-full w-[44px] object-contain '
>
<div className='flex flex-col ml-[8px] w-[100px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
{/* ๋ชจ๋‹ฌ์ชฝ์— ๊ตฌํ˜„ํ•ด๋‘” ๋ณ„์ ์ด ์žˆ์Œ */}
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='custom-text-xs-regular text-gray-500'>
Sentinel Carbernet Sauvignon 2016
</p>
</div>
</ImageCard>
</div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ImageCard๋ฅผ ๊ฐ์‹ธ๋Š” div ๋ถ€๋ถ„์˜ css๊ฐ€ ๊ณตํ†ต์ ์œผ๋กœ ์ ์šฉ๋˜๋Š” ๋ถ€๋ถ„์ด ์žˆ์–ด์„œ ImageCardLayout ๊ฐ™์€ wrapper ์ปดํฌ๋„ŒํŠธ๋กœ ๋นผ์ฃผ๋ฉด ๊ฐ€๋…์„ฑ์ด ๋” ์ข‹์•„์งˆ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

๋กœ๊ทธ์ธ/ํšŒ์›๊ฐ€์ž… ํŽ˜์ด์ง€์—์„œ ๋ ˆ์ด์•„์›ƒ์ด ๋น„์Šทํ•œ ๋ถ€๋ถ„์ด ์žˆ์–ด AuthLayout ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ์‚ฌ์šฉ์ค‘์ž…๋‹ˆ๋‹ค. ์ฐธ๊ณ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค


{/* ์ขŒ์šฐ ์œ„ ๋ฐ•์Šค */}
<div className='absolute top-10 left-[calc(50%-340px)] w-[240px] h-[185px] rounded-xl z-20 shadow-xl'>
<ImageCard
imageSrc='/assets/lendingwine1.png'
imageClassName='h-full w-[44px] object-contain '
>
<div className='flex flex-col ml-[8px] w-[100px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='custom-text-xs-regular text-gray-500'>
Sentinel Carbernet Sauvignon 2016
</p>
</div>
</ImageCard>
</div>
<div className='absolute top-10 left-[calc(50%+100px)] w-[240px] h-[185px] rounded-xl z-20 shadow-xl'>
<ImageCard
imageSrc='/assets/lendingwine1.png'
imageClassName='h-full w-[44px] object-contain '
>
<div className='flex flex-col ml-[8px] w-[100px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='custom-text-xs-regular text-gray-500'>
Sentinel Carbernet Sauvignon 2016
</p>
</div>
</ImageCard>
</div>

{/* ์ขŒ์šฐ ์•„๋ž˜ ๋ฐ•์Šค */}
<div className='absolute top-[80px] left-[calc(50%-480px)] w-[240px] h-[185px] bg-primary rounded-xl z-10 shadow-xl'>
<ImageCard
imageSrc='/assets/lendingwine1.png'
imageClassName='h-full w-[44px] object-contain '
>
<div className='flex flex-col ml-[8px] w-[100px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='custom-text-xs-regular text-gray-500'>
Sentinel Carbernet Sauvignon 2016
</p>
</div>
</ImageCard>
</div>
<div className='absolute top-[80px] left-[calc(50%+240px)] w-[240px] h-[185px] bg-[#6A42DB] rounded-xl z-10 shadow-xl'>
<ImageCard
imageSrc='/assets/lendingwine1.png'
imageClassName='h-full w-[44px] object-contain '
>
<div className='flex flex-col ml-[8px] w-[100px]'>
<span className='font-extrabold text-4xl text-gray-800'>4.3</span>
<span>๋ณ„์  ๋‚˜์ค‘์—</span>
<p className='custom-text-xs-regular text-gray-500'>
Sentinel Carbernet Sauvignon 2016
</p>
</div>
</ImageCard>
</div>
</div>
</div>
</div>
</header>
);
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋ ˆ์ด์•„์›ƒ ์ž˜ ์žก์•„์ฃผ์…จ๋„ค์š”.
์ถ”ํ›„ ํ•˜๋“œ์ฝ”๋”ฉ๋œ ๋ถ€๋ถ„๋“ค์ด๋‚˜ ์ค‘๋ณต์ฝ”๋“œ๋ฅผ ์ƒ์ˆ˜๋กœ ๋ถ„๋ฆฌ์‹œํ‚ค๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.
๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!

23 changes: 22 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
import { ContentSection } from '@/components/home/ContentSection';
import { HeroSection } from '@/components/home/HeroSection';
import { Button } from '@/components/ui/button';

export default function Home() {
return <main>๋ฉ”์ธ</main>;
return (
<div className='mx-auto px-[16px] md:px-[20px] xl:px-0 max-w-[1140px] min-w-[343px] mt-6 xl:mt-[80px]'>
<HeroSection />
<main>
<ContentSection />
</main>
<footer>
<Button
variant='purpleDark'
size='onlyLanding'
width='onlyLanding'
className='block mx-auto mb-[62px]'
>
์™€์ธ ๋ณด๋Ÿฌ๊ฐ€๊ธฐ
</Button>
</footer>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์‹œ๋งจํ‹ฑ ํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ตฌ์กฐ ์ž‘์„ฑ์„ ์ž˜ํ•ด์ฃผ์‹  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

</div>
);
}