Skip to content

Commit

Permalink
feat: 홈페이지 헤더 qa 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Mar 6, 2024
1 parent 42090dc commit 7516f55
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions src/components/shared/header/headerItems/LeftIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
import Link from 'next/link';

import BackArrow from '@components/icons/BackArrow';
import Inquire from '@components/icons/Inquire';
import Logo from '@components/icons/Logo';
import useNavigation from '@hooks/useNavigation';
import Flex from '@shared/flex/Flex';
import Text from '@shared/text/Text';

import { LeftIconProps } from '../types/headerType';
Expand All @@ -16,11 +18,18 @@ function LeftIcon({

if (type === 'home') {
return (
<li className={className}>
<Link href="/">
<Logo />
</Link>
</li>
<Flex justify="center" align="center">
<li className={className}>
<Link href="/">
<Logo />
</Link>
</li>
<li style={{ marginLeft: '8px' }}>
<Link href="https://docs.google.com/forms/d/e/1FAIpQLSd96McWLLj3bR-3OEEIx656x3I_9-u7ifjwViQKlveIRb5QiA/viewform">
<Inquire />
</Link>
</li>
</Flex>
);
}

Expand All @@ -30,9 +39,9 @@ function LeftIcon({
<BackArrow onClick={stepBack ?? goBack} />
</li>
{title && (
<li>
<Text>{title}</Text>
</li>
<li>
<Text>{title}</Text>
</li>
)}
</ul>
);
Expand Down

0 comments on commit 7516f55

Please sign in to comment.