aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/components/searchFormatter.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/kdrama/components/searchFormatter.jsx')
-rw-r--r--src/app/kdrama/components/searchFormatter.jsx12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/app/kdrama/components/searchFormatter.jsx b/src/app/kdrama/components/searchFormatter.jsx
index bac2549..a9e2f42 100644
--- a/src/app/kdrama/components/searchFormatter.jsx
+++ b/src/app/kdrama/components/searchFormatter.jsx
@@ -1,5 +1,5 @@
-import { Card, CardHeader, CardBody, Image, Link } from "@nextui-org/react";
-import NextImage from "next/image";
+import { Card, CardHeader, CardBody, Link } from "@nextui-org/react";
+import Image from "next/image";
import styles from "../../page.module.css";
@@ -16,18 +16,16 @@ const SearchedDataFormatter = async (data) => {
href={`/kdrama/${encodeURIComponent(item.id)}`}
aria-label="anime redirection links"
className="flex flex-col items-center mx-1"
+ title={item.title}
>
<Card className="overflow-hidden" isPressable>
<CardBody>
<Image
- as={NextImage}
- isBlurred
- alt="Anime Poster"
+ alt="Searched Kdrama Poster"
src={item.image}
width={185}
height={120}
- shadow="lg"
- className="h-64"
+ className="rounded-md h-64"
priority
/>
</CardBody>