From 4c4f8214637ac8d19e16f71d20542982a5eedad7 Mon Sep 17 00:00:00 2001
From: real-zephex <zephex-1@outlook.com>
Date: Sat, 11 May 2024 01:33:00 +0530
Subject: UI changes, Logic change and complete re-write for anime page

---
 src/app/anime/page.jsx | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

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

diff --git a/src/app/anime/page.jsx b/src/app/anime/page.jsx
index 8fdbf86..209105b 100644
--- a/src/app/anime/page.jsx
+++ b/src/app/anime/page.jsx
@@ -1,18 +1,19 @@
-import styles from "./anime.module.css";
-import Trending from "./top-airing/page";
-import Releases from "./recent/page";
-import Popular from "./popular/page";
-import Input from "./search/page";
-
-export default async function Anime() {
+import styles from "./styles/anime.module.css";
+import PopularAnimes from "./components/popularAnimes";
+import RecentAnimes from "./components/recentEpisodes";
+import TopAiringAnimes from "./components/topAiring";
+import SearcBar from "./components/search";
+const AnimeHomepage = async () => {
 	return (
-		<div className={styles.main}>
-			<Input />
-			<Trending />
-			<br />
-			<Releases />
-			<br />
-			<Popular />
-		</div>
+		<main className={styles.Main}>
+			<SearcBar />
+			<TopAiringAnimes />
+			<hr style={{ marginTop: 15, borderColor: "gray" }} />
+			<RecentAnimes />
+			<hr style={{ marginTop: 15, borderColor: "gray" }} />
+			<PopularAnimes />
+		</main>
 	);
-}
+};
+
+export default AnimeHomepage;
-- 
cgit v1.2.3

