Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
GCL_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-05-07 00:34:02 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1009ec902dd21d2b504d6547d695c47a4073f105
1009ec90
1 parent
dc35f05a
style: SearchPage 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
frontend/src/App.js
frontend/src/App.js
View file @
1009ec9
...
...
@@ -3,6 +3,7 @@ import { createGlobalStyle } from 'styled-components';
import
{
BrowserRouter
,
Route
,
Switch
}
from
'react-router-dom'
;
import
Home
from
'./pages/Home'
;
import
LoginPage
from
'./pages/LoginPage'
;
import
SearchPage
from
'./pages/SearchPage'
;
const
GlobalStyle
=
createGlobalStyle
`
html,
...
...
@@ -27,6 +28,7 @@ const App = () => (
<
Switch
>
<
Route
path
=
"/"
exact
component
=
{
Home
}
/
>
<
Route
path
=
"/login"
exact
component
=
{
LoginPage
}
/
>
<
Route
path
=
"/search"
exact
component
=
{
SearchPage
}
/
>
<
/Switch
>
<
/BrowserRouter
>
);
...
...
Please
register
or
login
to post a comment