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
6 changes: 6 additions & 0 deletions app/(landing)/signup/_ui/user-type-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
setIsAgreedTermsCookie,
setUserTypeCookie,
} from '@/app/(landing)/signup/_lib/cookies'
import { InvestorImg, TraderImg } from '@/public/images'
import classNames from 'classnames/bind'

import { PATH } from '@/shared/constants/path'
Expand Down Expand Up @@ -43,6 +44,11 @@ const UserTypeCard = ({ userType, title, highlight }: Props) => {
인베스트메틱을 통해 <br />
<span className={cx('highlight')}>{highlight}</span>해보세요!
</p>
{userType === 'TRADER' ? (
<TraderImg className={cx('image')} />
) : (
<InvestorImg className={cx('image')} />
)}
</button>
)
}
Expand Down
11 changes: 11 additions & 0 deletions app/(landing)/signup/_ui/user-type-card/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
.card {
display: flex;
flex-direction: column;
width: 100%;
padding: 43px 44px 53px;
margin-bottom: 140px;
text-align: left;
background-color: $color-white;
border: 2px solid $color-white;
border-radius: 8px;
transition: 0.2s ease-in-out;

&:hover {
border: 2px solid $color-orange-400;
}

.image {
width: 234px;
height: 210px;
margin-top: 32px;
align-self: flex-end;
}
}

.title {
Expand Down
2 changes: 1 addition & 1 deletion app/(landing)/signup/user-type/page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
gap: 32px;
width: 100%;
max-width: 952px;
margin: 120px auto 0;
margin: 100px auto 0;
}
2 changes: 2 additions & 0 deletions public/images/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export { default as ImageLogo } from './logo.svg'
export { default as TextLogo } from './text-logo.svg'
export { default as PageNotFoundImg } from './page-not-found-img.svg'
export { default as TraderImg } from './trader.svg'
export { default as InvestorImg } from './investor.svg'
Loading