From 3acac648ad6f7c220a48ff9f92f42e814c2097ab Mon Sep 17 00:00:00 2001
From: real-zephex <zephex-1@outlook.com>
Date: Tue, 26 Mar 2024 13:21:55 +0530
Subject: restructured files

---
 src/app/recent/page.jsx | 45 ---------------------------------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 src/app/recent/page.jsx

(limited to 'src/app/recent/page.jsx')

diff --git a/src/app/recent/page.jsx b/src/app/recent/page.jsx
deleted file mode 100644
index 7081e46..0000000
--- a/src/app/recent/page.jsx
+++ /dev/null
@@ -1,45 +0,0 @@
-import "./recent.css";
-import Image from "next/image";
-import Link from "next/link";
-
-export default async function Releases() {
-	const data = await test();
-
-	return (
-		<div className="trendingContainer">
-			<p className="trendingText">Recent Releases</p>
-
-			<div className="trending">
-				{data &&
-					data.results.map((item, index) => (
-						<Link
-							key={index}
-							href={`/info/${item.id}`}
-							style={{ textDecoration: "none" }}
-						>
-							<div className="trendingEntries">
-								<Image
-									src={item.image}
-									className="{trendingImage}"
-									width={160}
-									height={220}
-									alt="Drama"
-									priority
-								/>
-								<p>{item.title}</p>
-							</div>
-						</Link>
-					))}
-			</div>
-		</div>
-	);
-}
-
-async function test() {
-	const res = await fetch(
-		"https://consumet-api-di2e.onrender.com/anime/gogoanime/recent-episodes",
-		{ cache: "force-cache" }
-	);
-	const data = res.json();
-	return data;
-}
-- 
cgit v1.2.3

