Skip to content

Commit

Permalink
feat: main, dev branch 나누기 / 제작중 toast 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ananjaemin committed Oct 27, 2022
1 parent 5695f9b commit a81c6a9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/common/Navbar/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
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={'/api'}>API</S.Nav>
<S.Nav
to={'/'}
onClick={() => {
toast.success('제작중!', {
autoClose: 1000,
position: toast.POSITION.BOTTOM_RIGHT,
});
}}
>
API
</S.Nav>
<S.Nav to={'/filelist'}>File list</S.Nav>
</S.NavbarContainer>
);

0 comments on commit a81c6a9

Please sign in to comment.