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

Commit

Permalink
Merge pull request #39 from ShivaBhattacharjee/popu
Browse files Browse the repository at this point in the history
reverting back
  • Loading branch information
ShivaBhattacharjee authored May 22, 2023
2 parents fa12543 + 8d2f182 commit be3682d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ h6 {
}

body{
background: hsl(225, 25%, 10%);
background: hsl(225, 25%, 7%);
max-height: 100%;
min-height: 100vh;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/Loading/StreamLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const StreamLoader = () => {
<div className="video-title">
<span><Skeleton /></span>
<p>
Note :- For ad-free experience, please use the internal player. If it's not working, external player with adblocker recommended to block ads.
Note :- Refresh the page if player doesnt load or change to nspl player
</p>
</div>
<br />
Expand Down
29 changes: 14 additions & 15 deletions src/Pages/RecentAnime.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,42 +90,41 @@ const RecentAnime = (props) => {
<section className="movies">
<div className="filter-bar">
<div className="heading">
<h3>Popular</h3>
<h3>Recent Anime</h3>
</div>
</div>
<div className="movies-grid">
{props.popular.map((rec) => (
<Card
rec={rec}
key={rec.id} handelClick={handelClick}
/>
))}
{props.recent &&
props.recent.map((rec) => (
<Card rec={rec} key={rec.id} handelClick={handelClick} />
))}
</div>
<div className="loadmore-recent">
<Link to="/popular" onClick={scroll}>
<Link to="/recent-anime" onClick={scroll}>
<button className="loadmore">View More</button>
</Link>
</div>
</section>
<section className="movies">
<div className="filter-bar">
<div className="heading">
<h3>Recent Anime</h3>
<h3>Popular</h3>
</div>
</div>
<div className="movies-grid">
{props.recent &&
props.recent.map((rec) => (
<Card rec={rec} key={rec.id} handelClick={handelClick} />
))}
{props.popular.map((rec) => (
<Card
rec={rec}
key={rec.id} handelClick={handelClick}
/>
))}
</div>
<div className="loadmore-recent">
<Link to="/recent-anime" onClick={scroll}>
<Link to="/popular" onClick={scroll}>
<button className="loadmore">View More</button>
</Link>
</div>
</section>

<ForYou />
<br /><br />
<UpcomingSeason />
Expand Down

1 comment on commit be3682d

@vercel
Copy link

@vercel vercel bot commented on be3682d May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.