From 180c9577f8337991ca71470816333fe8430cd3ca Mon Sep 17 00:00:00 2001
From: real-zephex <zephex-1@outlook.com>
Date: Fri, 24 May 2024 22:51:36 +0530
Subject: =?UTF-8?q?=E2=9C=A8=20feat(ui):=20=F0=9F=8E=A8=20migrate=20from?=
 =?UTF-8?q?=20vanilla=20css=20to=20tailwind=20css,=20adopted=20next=20ui?=
 =?UTF-8?q?=20and=20restructured?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/app/kdrama/components/popular.jsx | 47 -----------------------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 src/app/kdrama/components/popular.jsx

(limited to 'src/app/kdrama/components/popular.jsx')

diff --git a/src/app/kdrama/components/popular.jsx b/src/app/kdrama/components/popular.jsx
deleted file mode 100644
index 21d8cc3..0000000
--- a/src/app/kdrama/components/popular.jsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import styles from "../styles/popular.module.css";
-import Image from "next/image";
-import Link from "next/link";
-import { PreFetchAnimeInfo } from "./cacher";
-
-export default async function PopularDramas() {
-	const popular = await getPopular();
-	PreFetchAnimeInfo(popular);
-
-	return (
-		<div className={styles.Main}>
-			<h2 className={styles.popDramasText}>Trending Dramas</h2>
-
-			<div className={styles.AnimeContainer}>
-				{popular &&
-					popular.results.slice(0, 24).map((item, index) => (
-						<Link
-							href={`/kdrama/${encodeURIComponent(item.id)}`}
-							key={index}
-							style={{ textDecoration: "none" }}
-						>
-							<div
-								className={styles.AnimeEntry}
-								title={item.title}
-							>
-								<Image
-									src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item.image}`}
-									width={167}
-									height={267}
-									alt="Drama Poster"
-								/>
-								<p>{item.title}</p>
-							</div>
-						</Link>
-					))}
-			</div>
-		</div>
-	);
-}
-
-async function getPopular() {
-	const res = await fetch("https://dramacool-scraper.vercel.app/popular", {
-		next: { revalidate: 21600 },
-	});
-	const data = await res.json();
-	return data;
-}
-- 
cgit v1.2.3

