aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/search/components
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-29 20:48:30 +0530
committerreal-zephex <[email protected]>2024-03-29 20:48:30 +0530
commitfdb7958ca59e4870460950722ed52b9eb5fde10c (patch)
tree81f74088b870863dcc476bac2b63c5452f4f73ed /src/app/anime/search/components
parentfixes and improvements: dramalaam is no longer hosted on koyeb cuz of (diff)
downloaddramalama-fdb7958ca59e4870460950722ed52b9eb5fde10c.tar.xz
dramalama-fdb7958ca59e4870460950722ed52b9eb5fde10c.zip
fix: minor css fix for light mode users
Diffstat (limited to 'src/app/anime/search/components')
-rw-r--r--src/app/anime/search/components/fetchedInfo.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/app/anime/search/components/fetchedInfo.js b/src/app/anime/search/components/fetchedInfo.js
deleted file mode 100644
index 17c9673..0000000
--- a/src/app/anime/search/components/fetchedInfo.js
+++ /dev/null
@@ -1,44 +0,0 @@
-import "../search.css";
-import Link from "next/link";
-import Image from "next/image";
-
-export default async function fetchedInfo(data) {
- return (
- <div className="animeEntry">
- {data ? (
- data.results && data.results.length > 0 ? (
- data.results.map((item, index) => (
- <Link
- key={index}
- href={`/anime/${item.id}`}
- style={{ textDecoration: "none" }}
- >
- <div className="anime">
- <p>{item.title}</p>
- <Image
- src={item.image}
- className="animeImage"
- width={120}
- height={160}
- alt="Drama Poster"
- />
- </div>
- </Link>
- ))
- ) : (
- <div style={{ margin: "0px auto" }}>
- <p
- style={{
- color: "white",
- fontFamily: "Kanit",
- fontSize: 18,
- }}
- >
- No results found
- </p>
- </div>
- )
- ) : null}
- </div>
- );
-}