Skip to content

Commit

Permalink
feat: 이력서 버튼에 링크 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
BHyeonKim committed Nov 18, 2024
1 parent bc58bea commit 4d7fc03
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/app/(header)/portfolio/(view)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import classNames from 'classnames/bind';
import {getCookie} from 'cookies-next';
import Link from 'next/link';
import {useRouter} from 'next/navigation';
import type {MouseEvent} from 'react';
import {ChangeEvent, DragEvent, PropsWithChildren, useState} from 'react';
Expand Down Expand Up @@ -93,7 +94,7 @@ const PortfolioLayout = ({children}: PropsWithChildren) => {
공개
<ToggleButton
onToggle={handleVisibility}
isToggled={!!resumeInfo?.private}
isToggled={!resumeInfo?.private}
/>
</div>
<DragAndDropMenu />
Expand Down Expand Up @@ -127,10 +128,13 @@ const PortfolioLayout = ({children}: PropsWithChildren) => {
{children}
</main>
<div className={cx('right-column')}>
<button type="button" className={cx('resume-button')}>
<Link
className={cx('resume-button')}
href={'https://portfolio.noteme.kro.kr/resume/' + resumeInfo?.hashKey}
>
<RiFilePaper2Line size={22} />
이력서 보기
</button>
</Link>
</div>
{isLoading && (
<div className={cx('backdrop')}>
Expand Down

0 comments on commit 4d7fc03

Please sign in to comment.