이승윤

style: SearchPage 추가

...@@ -3,6 +3,7 @@ import { createGlobalStyle } from 'styled-components'; ...@@ -3,6 +3,7 @@ import { createGlobalStyle } from 'styled-components';
3 import { BrowserRouter, Route, Switch } from 'react-router-dom'; 3 import { BrowserRouter, Route, Switch } from 'react-router-dom';
4 import Home from './pages/Home'; 4 import Home from './pages/Home';
5 import LoginPage from './pages/LoginPage'; 5 import LoginPage from './pages/LoginPage';
6 +import SearchPage from './pages/SearchPage';
6 7
7 const GlobalStyle = createGlobalStyle` 8 const GlobalStyle = createGlobalStyle`
8 html, 9 html,
...@@ -27,6 +28,7 @@ const App = () => ( ...@@ -27,6 +28,7 @@ const App = () => (
27 <Switch> 28 <Switch>
28 <Route path="/" exact component={Home} /> 29 <Route path="/" exact component={Home} />
29 <Route path="/login" exact component={LoginPage} /> 30 <Route path="/login" exact component={LoginPage} />
31 + <Route path="/search" exact component={SearchPage} />
30 </Switch> 32 </Switch>
31 </BrowserRouter> 33 </BrowserRouter>
32 ); 34 );
......