-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHomeScreen.js
More file actions
29 lines (23 loc) · 953 Bytes
/
HomeScreen.js
File metadata and controls
29 lines (23 loc) · 953 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
import React from 'react';
import "./HomeScreen.css";
import Nav from '../Nav';
import Banner from '../Banner';
import requests from '../Requests';
import Row from '../Row';
function HomeScreen() {
return (
<div className='HomeScreen'>
<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 = "Romantic Movies" fetchUrl={requests.fetchRomanceMovies} />
<Row title = "Documentaries" fetchUrl={requests.fetchDocumentaries} />
</div>
);
}
export default HomeScreen;