Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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/lendingfilter1.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/lendingfilter2.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/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.
19 changes: 11 additions & 8 deletions src/components/common/Gnb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ function Gnb() {
const { pathname } = useRouter();

return (
<div
className={cn('z-50 fixed top-0 inset-x-0 bg-white/70 backdrop-blur-md', {
'bg-gray-100/70 backdrop-blur-md': pathname === '/', //๋žœ๋”ฉ ํŽ˜์ด์ง€์šฉ ๋ฐฐ๊ฒฝ ์ƒ‰
})}
>
{/* ใ„ด๋ฐฑ๋“œ๋กญ ํ•„ํ„ฐ ์ ์šฉ*/}
<header className='mx-auto px-[16px] md:px-[20px] xl:px-0 max-w-[1140px] min-w-[343px]'>
<nav className='flex justify-between items-center bg-black w-full h-[50px] md:h-[70px] rounded-[12px] md:rounded-[16px] mt-[16px] md:mt-[24px] px-[20px] md:px-[60px]'>
<div className='z-50 fixed top-0 inset-x-0'>
<div
className={cn(
'absolute inset-0 h-12 backdrop-blur-[2px]',
pathname === '/' ? 'bg-gray-100/70' : 'bg-white/60',
)}
/>
<div className='absolute inset-0 bg-gradient-to-b from-white/80 to-transparent' />

<header className='relative z-10 mx-auto px-[16px] md:px-[20px] xl:px-0 max-w-[1140px] min-w-[343px]'>
<nav className='flex justify-between items-center bg-black w-full h-[50px] md:h-[70px] rounded-[12px] md:rounded-[16px] mt-[16px] md:mt-[24px] px-[20px] md:px-[60px]'>
<Logo />
<AuthMenu />
</nav>
Expand Down
120 changes: 120 additions & 0 deletions src/components/home/ContentSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
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 mx-auto max-w-[500px] md:max-w-[640px] shadow'>
<div className='relative max-w-[500px] md:max-w-[640px] mx-auto'>
<div className='absolute top-[24px] md:top-[56px] left-[24px] md:left-[32px]'>
<span className='custom-text-2lg-bold md:text-[22px] md:leading-8 md:font-bold block mb-[8px]'>
๋งค๋‹ฌ ์ƒˆ๋กญ๊ฒŒ ๋งŒ๋‚˜๋Š” <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 rounded-2xl overflow-hidden md:overflow-visible top-[160px] md:top-[42px]'>
<span className='absolute text-[#7E7E7E] md:text-[#50545B] md:font-bold 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 shadow'
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 shadow'
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>
<div className='relative bg-[#EBEEF4] h-[424px] md:h-[320px] mb-[48px] md:mb-[96px] rounded-2xl mx-auto max-w-[500px] overflow-hidden md:max-w-[640px] shadow'>
<div className='relative max-w-[500px] md:max-w-[640px] mx-auto'>
<div className='absolute top-[24px] md:top-[55px] left-[24px] md:left-[32px]'>
<span className='custom-text-2lg-bold md:text-[22px] md:leading-8 md:font-bold block mb-2'>
๋‹ค์–‘ํ•œ ํ•„ํ„ฐ๋กœ ์ฐพ๋Š”
<br />๋‚ด ๋งž์ถค ์™€์ธ
</span>
<p className='custom-text-xs-regular text-gray-500'>
์™€์ธ ํƒ€์ž…, ๊ฐ€๊ฒฉ, ํ‰์ ์œผ๋กœ <br />
๋‚˜์—๊ฒŒ ๋งž๋Š” ์™€์ธ์„ ์‰ฝ๊ฒŒ ๊ฒ€์ƒ‰ํ•ด์š”.
</p>
</div>
<div className='absolute top-[185px] left-[42px] hidden md:block'>
<Image width={180} height={100} alt='ํ•„ํ„ฐ์ด๋ฏธ์ง€2' src='/assets/lendingfilter2.png' />
</div>
<div className='absolute top-[245px] left-[32px] hidden md:block'>
<Image width={200} height={100} alt='ํ•„ํ„ฐ์ด๋ฏธ์ง€1' src='/assets/lendingfilter1.png' />
</div>
<Image
width={280}
height={100}
alt='ํ•„ํ„ฐ๋กœ ์ฐพ์€ ๋‚ด ๋งž์ถค ์™€์ธ'
src='/assets/lendingwinecard.png'
className='absolute right-[-10px] top-[120px] md:top-[20px]'
/>
</div>
<div
className='pointer-events-none absolute inset-0 rounded-xl'
style={{
background:
'linear-gradient(to top, #EBEEF4 0%, transparent 10%, transparent 90%, #EBEEF4 100%)',
}}
/>
</div>
<div className='relative bg-[#EBEEF4] h-[424px] md:h-[320px] mb-[64px] md:mb-[80px] xl:mb-[104px] rounded-2xl mx-auto max-w-[500px] overflow-hidden md:max-w-[640px] shadow'>
<div className='relative max-w-[500px] md:max-w-[640px] mx-auto'>
<div className='absolute top-[24px] md:top-[55px] left-[24px] md:left-[28px]'>
<span className='custom-text-2lg-bold md:text-[22px] md:leading-8 md:font-bold block mb-2'>
์ง๊ด€์ ์ธ
<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>
<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>
);
};
106 changes: 106 additions & 0 deletions src/components/home/HeroSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
import Image from 'next/image';

import HeroSectionLayout from './HeroSectionLayout';
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 ์•„๋ž˜๋กœ-ใ…ใ…๋งŒํผ ๋ฐ€์–ด๋‚ด๊ธฐ */}
<HeroSectionLayout className='top-4 left-1/2 z-30 -translate-x-1/2'>
<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>
</HeroSectionLayout>

{/* ์ขŒ์šฐ ์œ„ ๋ฐ•์Šค */}
<HeroSectionLayout className='top-10 left-[calc(50%-340px)] z-20'>
<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>
</HeroSectionLayout>
<HeroSectionLayout className='top-10 left-[calc(50%+100px)] z-20'>
<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>
</HeroSectionLayout>

{/* ์ขŒ์šฐ ์•„๋ž˜ ๋ฐ•์Šค */}
<HeroSectionLayout className='top-[80px] left-[calc(50%-480px)] z-10'>
<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>
</HeroSectionLayout>
<HeroSectionLayout className='top-[80px] left-[calc(50%+240px)] z-10'>
<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>
</HeroSectionLayout>
</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.

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

16 changes: 16 additions & 0 deletions src/components/home/HeroSectionLayout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react';

import { cn } from '@/lib/utils';

interface HeroSectionLayoutProps {
children?: React.ReactNode;
className?: string;
}

const HeroSectionLayout = ({ children, className }: HeroSectionLayoutProps) => {
const baseClass = 'absolute w-[240px] h-[185px] rounded-xl shadow-xl bg-white';

return <div className={cn(baseClass, className)}>{children}</div>;
};

export default HeroSectionLayout;
27 changes: 26 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
import Link from 'next/link';

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>
<Link href='/wines'>
<Button
variant='purpleDark'
size='onlyLanding'
width='onlyLanding'
className='block mx-auto mb-[62px]'
>
์™€์ธ ๋ณด๋Ÿฌ๊ฐ€๊ธฐ
</Button>
</Link>
</footer>
</div>
);
}