Skip to content

Commit

Permalink
style: border color
Browse files Browse the repository at this point in the history
  • Loading branch information
prince2520 committed Apr 7, 2024
1 parent 3ecd93e commit b23ebb6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@ import React from "react";

import Card from "../../../../../components/Card/Card";

const AnimeMangaRecommendation = ({animeDetail}) => {
return (
<div className="recommendation">
<h3>Recommendation for you</h3>
<div className="flex-center recommendation-container">
{animeDetail?.recommendations.length > 0 ?
animeDetail.recommendations.map(res =>
<div className={'card-container'}>
<Card isRecommemdation={true} detail={res.node}/>
</div>) : <p style={{width:'100%'}}>No recommendations found!</p>}
const AnimeMangaRecommendation = ({ animeDetail }) => {
return (
<div className="recommendation">
<h3>Recommendation for you</h3>
<div className="flex-center recommendation-container">
{animeDetail?.recommendations.length > 0 ? (
animeDetail.recommendations.map((res) => (
<div className={"card-container"}>
<Card isRecommemdation={true} detail={res.node} />
</div>
</div>
);
))
) : (
<p style={{ width: "100%" }}>No recommendations found!</p>
)}
</div>
</div>
);
};

export default React.memo(AnimeMangaRecommendation);
export default React.memo(AnimeMangaRecommendation);
2 changes: 1 addition & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
--text-secondary: #dadada ;
--text-primary: var(--primary);

--border: #333232;
--border: #242323;

--error: #F05454;
--error-bold: #AF2D2D;
Expand Down

0 comments on commit b23ebb6

Please sign in to comment.