forked from SamanjaCartagena/NetflixProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
28 lines (25 loc) · 866 Bytes
/
App.js
File metadata and controls
28 lines (25 loc) · 866 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
import './App.css';
import Row from './Row';
import requests from './requests';
import Banner from './Banner';
import Nav from './Nav';
function App() {
return (
<div className="App">
<Nav/>
<Banner/>
<Row title="NETFLIX ORIGINALS"
fetchUrl={requests.fetchNetflixOriginals}
isLargeRow
/>
<Row title="Trending Now" fetchUrl={requests.fetchTrending}/>
<Row title="Top Rated" fetchUrl={requests.fetchTopRated}/>
<Row title="Action Movies" fetchUrl={requests.fetchActionMovies}/>
<Row title="Comedy Movies" fetchUrl={requests.fetchComedyMovies}/>
<Row title="Horror Movies" fetchUrl={requests.fetchHorrorMovies}/>
<Row title="Romance Movies" fetchUrl={requests.fetchRomanceMovies}/>
<Row title="Documentaries" fetchUrl={requests.fetchDocumentaries}/>
</div>
);
}
export default App;