Skip to content

Commit 04e0c68

Browse files
committed
fixes varios
1 parent aa166e9 commit 04e0c68

File tree

14 files changed

+2188
-1922
lines changed

14 files changed

+2188
-1922
lines changed

package-lock.json

Lines changed: 15 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"engines": {
6-
"node": "20",
6+
"node": "18",
77
"npm": "~10"
88
},
99
"dependencies": {
@@ -17,6 +17,7 @@
1717
"@testing-library/react": "^13.2.0",
1818
"@testing-library/user-event": "^13.5.0",
1919
"axios": "^0.27.2",
20+
"nvm": "^0.0.4",
2021
"react": "^18.1.0",
2122
"react-alice-carousel": "^2.6.1",
2223
"react-dom": "^18.1.0",

src/App.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
font-family: "Montserrat", sans-serif;
2424
font-size: 2vw;
2525
padding: 4px;
26+
padding-top: 70px !important;
2627
border-radius: 50px;
2728
color: white;
2829
}

src/components/ContentModal/ContentModal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
}
8989

9090
.ContentModal__title {
91-
font-size: 3.5vw;
91+
font-size: 2.5vw;
9292
}
9393

9494
.ContentModal__description {

src/components/Genres.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ const Genres = ({
3535
fetchGenres();
3636

3737
return () => {
38-
setGenres({});
38+
setGenres([]);
3939
};
4040
// eslint-disable-next-line
4141
}, []);
4242

4343
return (
44-
<div style={{ padding: "6px 0" }}>
44+
<div style={{ padding: "100px 20px 0px" }}>
4545
{selectedGenres.map((genre) => (
4646
<Chip
4747
style={{ margin: 2 }}

src/components/Pages/Movies/Movies.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ const Movies = () => {
5454
vote_average={c.vote_average}
5555
/>
5656
))}
57-
</div>
57+
5858
{numOfPages > 1 && (
5959
<CustomPagination setPage={setPage} numOfPages={numOfPages} />
6060
)}
6161
</div>
62+
</div>
6263
);
6364
};
6465

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.search {
22
display: flex;
33
margin: 15px 0;
4+
padding-top: 100px;
45
}

src/components/Pages/Series/Series.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ const Series = () => {
5353
vote_average={c.vote_average}
5454
/>
5555
))}
56-
</div>
56+
5757
{numOfPages > 1 && (
5858
<CustomPagination setPage={setPage} numOfPages={numOfPages} />
5959
)}
60+
</div>
6061
</div>
6162
);
6263
};

src/components/Pages/Trending/Trending.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
display: flex;
33
flex-wrap: wrap;
44
justify-content: space-around;
5+
background-color: #39445a;
6+
padding-top: 30px;
7+
padding-bottom: 60px;
58
}

src/components/Pages/Trending/Trending.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ useEffect(() => {
2424
return (
2525
<div>
2626
<span className="pageTitle">Trending2</span>
27-
<div className="trending">
27+
<div className="trending" style={{ paddingTop: "80px", paddingBottom: "60px" }}>
2828
{
2929
content && content.map((c)=><SingleContent key={c.id} id={c.id} poster={c.poster_path} title={c.title || c.name} data={c.first_air_date || c.release_date}
3030
media_type={c.media_type} vote_average={c.vote_average}

0 commit comments

Comments
 (0)