Skip to content

Commit

Permalink
Merge pull request #13 from obb8923/toolbar
Browse files Browse the repository at this point in the history
del_writePage
  • Loading branch information
obb8923 authored Apr 13, 2024
2 parents 46ffbad + eb968be commit 1581980
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
2 changes: 0 additions & 2 deletions front/src/App.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Main from './components/Main';
import ToolBar from './components/ToolBar';
import EmptyPage from './components/EmptyPage';
import WritePage from './components/WritePage';

import {BrowserRouter, Route, Routes} from 'react-router-dom';

function App() {
Expand Down
7 changes: 2 additions & 5 deletions front/src/components/ToolBar.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import styles from '../css/ToolBar.module.css';

import NavButton from './NavButton';
import React from 'react';
import { Link } from 'react-router-dom';

function ToolBar(){

return (<>
<div className={styles.toolbarBody}>
<NavButton nav={"library"}/>
<NavButton nav={"profile"}/>
<Link to="/WritePage">
<button>글쓰기</button>
</Link>

</div>
</>);
}
Expand Down
12 changes: 0 additions & 12 deletions front/src/components/WritePage.js

This file was deleted.

0 comments on commit 1581980

Please sign in to comment.