aboutsummaryrefslogtreecommitdiff
path: root/components/home
diff options
context:
space:
mode:
Diffstat (limited to 'components/home')
-rw-r--r--components/home/content.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/components/home/content.js b/components/home/content.js
index 9dd4408..651d276 100644
--- a/components/home/content.js
+++ b/components/home/content.js
@@ -256,7 +256,11 @@ export default function Content({
className="flex flex-col gap-3 shrink-0 cursor-pointer"
>
<Link
- href={`/${lang}/anime/${anime.id}`}
+ href={
+ ids === "listManga"
+ ? `/en/manga/${anime.id}`
+ : `/${lang}/anime/${anime.id}`
+ }
className="hover:scale-105 hover:shadow-lg duration-300 ease-out group relative"
title={anime.title.romaji}
>
@@ -345,7 +349,11 @@ export default function Content({
</Link>
{ids !== "onGoing" && (
<Link
- href={`/en/anime/${anime.id}`}
+ href={
+ ids === "listManga"
+ ? `/en/manga/${anime.id}`
+ : `/en/anime/${anime.id}`
+ }
className="w-[135px] lg:w-[185px] line-clamp-2"
title={anime.title.romaji}
>