Skip to content

Commit

Permalink
design: quecard 버튼래퍼 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ljh0608 committed Aug 24, 2024
1 parent 5985f01 commit 63cbb45
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/pages/cueCard/CueCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useRef } from 'react';

import Button from 'components/common/atomComponents/Button';
import Text from 'components/common/atomComponents/Text';
import BottomBtnSection from 'components/common/moleculesComponents/BottomBtnSection';
import Header from 'components/common/moleculesComponents/Header';
import html2canvas from 'html2canvas';
import CueCardTitle from 'pages/cueCard/components/CueCardTitle';
Expand Down Expand Up @@ -32,7 +33,7 @@ function CueCard() {
<Header position={'cueCard'} />
<CueCardTitle main={'일정 조율 완료!'} sub={'이미 확정된 회의 일정입니다'} />
<Qcard ref={imageRef} />
<ButtonSection>
<BottomBtnSection>
<CopyToClipboard text={currentURL}>
<Button typeState={'halfTertiaryActive'} onClick={notify}>
<Text font={'button2'}>링크 복사하기</Text>
Expand All @@ -47,7 +48,7 @@ function CueCard() {
>
<Text font={'button2'}>이미지 저장하기</Text>
</Button>
</ButtonSection>
</BottomBtnSection>
</CueCardWrapper>
);
}
Expand All @@ -62,12 +63,3 @@ const CueCardWrapper = styled.div`
width: 100%;
`;

const ButtonSection = styled.section`
display: flex;
position: fixed;
bottom: 1.2rem;
flex-direction: row;
gap: 1.4rem;
justify-content: center;
`;

0 comments on commit 63cbb45

Please sign in to comment.