Skip to content

Commit

Permalink
개발 branch 전용 코드
Browse files Browse the repository at this point in the history
  • Loading branch information
ananjaemin committed Oct 27, 2022
1 parent a81c6a9 commit b6afeb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 31 deletions.
13 changes: 1 addition & 12 deletions src/components/common/Navbar/index.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
import React from 'react';
import { toast } from 'react-toastify';

import * as S from './styled';

export const Navbar: React.FC = () => (
<S.NavbarContainer>
<S.Nav to={'/'}>Upload</S.Nav>
<S.Nav
to={'/'}
onClick={() => {
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
}}
>
API
</S.Nav>
<S.Nav to={'/'}>API</S.Nav>
<S.Nav to={'/filelist'}>File list</S.Nav>
</S.NavbarContainer>
);
22 changes: 3 additions & 19 deletions src/pages/main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,34 +98,18 @@ export const MainPage: React.FC = () => {
<S.MainPageCheckBoxSection>
<CheckBox
click={() => {
setRetentionPeriod(false);
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
setRetentionPeriod(!retentionPeriod);
}}
isCheck={retentionPeriod}
label={'유지기간'}
/>
<CheckBox
click={() => {
setDownloadCount(false);
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
}}
click={() => setDownloadCount(!downloadCount)}
isCheck={downloadCount}
label={'다운로드 횟수'}
/>
<CheckBox
click={() => {
setPasswordBoolean(false);
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
}}
click={() => setPasswordBoolean(!passwordBoolean)}
isCheck={passwordBoolean}
label={'비밀번호'}
/>
Expand Down

0 comments on commit b6afeb0

Please sign in to comment.