diff --git a/src/components/castCard/castCard.tsx b/src/components/castCard/castCard.tsx index efbecc6..111f87b 100644 --- a/src/components/castCard/castCard.tsx +++ b/src/components/castCard/castCard.tsx @@ -18,8 +18,8 @@ const CastCard: React.FC = ({ name, character, profile_path }) => { className="rounded-xl" />
-

{name}

-

{character}

+

{name}

+

{character}

); diff --git a/src/components/crewList/crewList.tsx b/src/components/crewList/crewList.tsx index c03e52c..9a801ae 100644 --- a/src/components/crewList/crewList.tsx +++ b/src/components/crewList/crewList.tsx @@ -8,14 +8,14 @@ interface ICrewList { const CrewList: React.FC = ({ job, crew }) => (
-

{job}

+

{job}

{crew .filter((member) => member.job === job) .map((member, index, array) => ( -

{member.name}

+

{member.name}

{index !== array.length - 1 && (

ยท

)} diff --git a/src/components/genres/genres.tsx b/src/components/genres/genres.tsx index 2d86bc7..fe4be7b 100644 --- a/src/components/genres/genres.tsx +++ b/src/components/genres/genres.tsx @@ -7,13 +7,13 @@ interface IGenres { const Genres: React.FC = ({ genres }) => { return ( -
+
{genres.map((genre) => (
-

{genre.name}

+

{genre.name}

))}
diff --git a/src/components/header/header.tsx b/src/components/header/header.tsx index 7bb0486..b47dfb7 100644 --- a/src/components/header/header.tsx +++ b/src/components/header/header.tsx @@ -21,7 +21,7 @@ const Header: React.FC = () => { return (
diff --git a/src/components/rating/rating.tsx b/src/components/rating/rating.tsx index 319c8c4..391d623 100644 --- a/src/components/rating/rating.tsx +++ b/src/components/rating/rating.tsx @@ -5,8 +5,8 @@ const Rating: React.FC<{ rating: number }> = ({ rating }) => { return (
-

- +

+ {rating.toFixed(1)} /10 diff --git a/src/components/topCast/topCast.tsx b/src/components/topCast/topCast.tsx index 4676486..028d515 100644 --- a/src/components/topCast/topCast.tsx +++ b/src/components/topCast/topCast.tsx @@ -9,9 +9,9 @@ interface ITopCast { const TopCast: React.FC = ({ cast }) => { return ( -

-

Top Casts

-
+
+

Top Casts

+
{cast.slice(0, 12).map((cast, index) => ( = ({ release_date, runtime }) => { return (
-

{release_date.split('-')[0]}

+

+ {release_date.split('-')[0]} +

-

{convertRuntime(runtime)}

+

{convertRuntime(runtime)}

); }; diff --git a/src/modules/detailMovie/detailMovie.tsx b/src/modules/detailMovie/detailMovie.tsx index 16d23e2..a3dc1d7 100644 --- a/src/modules/detailMovie/detailMovie.tsx +++ b/src/modules/detailMovie/detailMovie.tsx @@ -55,14 +55,14 @@ const DetailMovieModule: React.FC = ({ id }) => { onLoad={() => setIsLoading(false)} /> -
+
{/* poster */} {movie?.title}
@@ -70,8 +70,12 @@ const DetailMovieModule: React.FC = ({ id }) => { release_date={movie.release_date} runtime={movie.runtime} /> -

{movie.title}

-

{movie.overview}

+

+ {movie.title} +

+

+ {movie.overview} +