-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
32 lines (29 loc) · 771 Bytes
/
App.js
File metadata and controls
32 lines (29 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import SearchBox from './SearchBox/SearchBox';
import SearchResult from './SearchResult/SearchResult';
import Footer from './Footer/footer';
import Loading from './Loading';
import styled, { ThemeProvider } from 'styled-components';
import { theme } from './theme';
import { GlobalStyle } from './GlobalStyle';
const AppDiv = styled.div`
display: flex;
width: 1170px;
margin: 0 auto;
justify-content: center;
`;
export default function App() {
return (
<>
<ThemeProvider theme={theme}>
<GlobalStyle />
<h1>🔍 프로그래머스 해설 은행</h1>
<AppDiv className="app">
<Loading />
<SearchBox />
<SearchResult />
<Footer />
</AppDiv>
</ThemeProvider>
</>
);
}