Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions src/components/home/HomeFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ export default function HomeFooter() {
</a>
</div>
<div className='mt-[36px] flex justify-end gap-[16px] md:mt-0 md:basis-[145px]'>
{/* TODO: 시연 영상 제작 후 링크 변경 */}
<a
href='https://www.youtube.com/'
href='https://www.youtube.com/watch?v=6mZkO7UfjLE'
target='_blank'
aria-label='시연영상 보러가기'
rel='noreferrer'>
Expand Down
14 changes: 12 additions & 2 deletions src/components/home/HomeHeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@ import Title from '@/components/common/Title';

export default function HomeHeroSection() {
return (
<section className='flex flex-col items-center gap-12 px-[40px]'>
<img src={images.mainVisual} className='w-full lg:w-[722px]' alt='' />
<section className='flex flex-col items-center gap-12'>
<div className='flex w-full justify-center px-[40px]'>
<div className='w-full max-w-[722px] overflow-hidden rounded-lg'>
<img
src={images.mainVisual}
width={722}
height={423}
className='h-auto w-full object-cover'
alt=''
/>
</div>
</div>
Comment thread
aahreum marked this conversation as resolved.
<Title
className='flex flex-col items-center gap-1.5 text-[40px] leading-[48px] tracking-[-2px] whitespace-nowrap text-gray-0 md:flex-row md:gap-6 md:text-[56px] md:leading-[100px] lg:gap-7 lg:text-[76px]'
weight={'bold'}>
Expand Down
5 changes: 0 additions & 5 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import HomeIntroSection from '@/components/home/HomeIntroSection';
import HomeServiceDetailsSection from '@/components/home/HomeServiceDetailsSection';

export default function Home() {
/**
* TODO: 로그인 되었을 때 /dashboard/{dashboardId}로,
* dashboard가 없다면 /dashboard 리다이렉트 되도록 구현
*/

return (
<div className='bg-gray-900 px-[16px] sm:px-[40px]'>
<HomeHeader />
Expand Down
3 changes: 3 additions & 0 deletions src/styles/base/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
font-family: 'Pretendard';
src: url('/font/Pretendard-Medium.woff2') format('woff2');
font-weight: 500;
font-display: swap;
}

/* Pretendard Semibold */
Expand All @@ -22,6 +23,7 @@
font-family: 'Pretendard';
src: url('/font/Pretendard-SemiBold.woff2') format('woff2');
font-weight: 600;
font-display: swap;
}

/* Pretendard Bold */
Expand All @@ -30,6 +32,7 @@
font-family: 'Pretendard';
src: url('/font/Pretendard-Bold.woff2') format('woff2');
font-weight: 700;
font-display: swap;
}

@theme {
Expand Down