Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit be3682d

Browse files
Merge pull request #39 from ShivaBhattacharjee/popu
reverting back
2 parents fa12543 + 8d2f182 commit be3682d

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ h6 {
3434
}
3535

3636
body{
37-
background: hsl(225, 25%, 10%);
37+
background: hsl(225, 25%, 7%);
3838
max-height: 100%;
3939
min-height: 100vh;
4040
width: 100%;

src/Loading/StreamLoader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const StreamLoader = () => {
99
<div className="video-title">
1010
<span><Skeleton /></span>
1111
<p>
12-
Note :- For ad-free experience, please use the internal player. If it's not working, external player with adblocker recommended to block ads.
12+
Note :- Refresh the page if player doesnt load or change to nspl player
1313
</p>
1414
</div>
1515
<br />

src/Pages/RecentAnime.jsx

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -90,42 +90,41 @@ const RecentAnime = (props) => {
9090
<section className="movies">
9191
<div className="filter-bar">
9292
<div className="heading">
93-
<h3>Popular</h3>
93+
<h3>Recent Anime</h3>
9494
</div>
9595
</div>
9696
<div className="movies-grid">
97-
{props.popular.map((rec) => (
98-
<Card
99-
rec={rec}
100-
key={rec.id} handelClick={handelClick}
101-
/>
102-
))}
97+
{props.recent &&
98+
props.recent.map((rec) => (
99+
<Card rec={rec} key={rec.id} handelClick={handelClick} />
100+
))}
103101
</div>
104102
<div className="loadmore-recent">
105-
<Link to="/popular" onClick={scroll}>
103+
<Link to="/recent-anime" onClick={scroll}>
106104
<button className="loadmore">View More</button>
107105
</Link>
108106
</div>
109107
</section>
110108
<section className="movies">
111109
<div className="filter-bar">
112110
<div className="heading">
113-
<h3>Recent Anime</h3>
111+
<h3>Popular</h3>
114112
</div>
115113
</div>
116114
<div className="movies-grid">
117-
{props.recent &&
118-
props.recent.map((rec) => (
119-
<Card rec={rec} key={rec.id} handelClick={handelClick} />
120-
))}
115+
{props.popular.map((rec) => (
116+
<Card
117+
rec={rec}
118+
key={rec.id} handelClick={handelClick}
119+
/>
120+
))}
121121
</div>
122122
<div className="loadmore-recent">
123-
<Link to="/recent-anime" onClick={scroll}>
123+
<Link to="/popular" onClick={scroll}>
124124
<button className="loadmore">View More</button>
125125
</Link>
126126
</div>
127127
</section>
128-
129128
<ForYou />
130129
<br /><br />
131130
<UpcomingSeason />

0 commit comments

Comments
 (0)