aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzephex-alt <[email protected]>2024-05-04 18:34:31 +0000
committerGitHub <[email protected]>2024-05-04 18:34:31 +0000
commitaf951fc7429afd21477bbd6c030da57daf2143b2 (patch)
tree8c65ad8402f3e51046667df5f3532c92db041fe8 /src
parentUI changes to improved desktop experience (diff)
downloaddramalama-af951fc7429afd21477bbd6c030da57daf2143b2.tar.xz
dramalama-af951fc7429afd21477bbd6c030da57daf2143b2.zip
this was the best fix that i could come up with
Diffstat (limited to 'src')
-rw-r--r--src/app/page.jsx73
1 files changed, 38 insertions, 35 deletions
diff --git a/src/app/page.jsx b/src/app/page.jsx
index d154ccd..a850164 100644
--- a/src/app/page.jsx
+++ b/src/app/page.jsx
@@ -1,42 +1,45 @@
+"use client";
+
import styles from "./page.module.css";
import Link from "next/link";
+import { useRouter } from "next/navigation";
export default function Home() {
- return (
- <main className={styles.newbg}>
- <div className={styles.content}>
- <div className={styles.contentContainer}>
- <Link
- href={"/anime"}
- title="Click here to get redirected to the anime webpage"
- >
- <div className={styles.anime}>
- <h2>Anime</h2>
- <p>Your one stop for all your anime needs</p>
- </div>
- </Link>
- <Link
- href={"/manga"}
- title="Click here to get redirected to the manga webpage"
- >
- <div className={styles.manga}>
- <h2>Manga</h2>
- <p>Your one stop for all your manga needs</p>
- </div>
- </Link>
- <Link
- href={"/kdrama"}
- title="Click here to get redirected to the kdrama webpage"
- >
- <div className={styles.kdrama}>
- <h2>Kdrama</h2>
- <p>Your one stop for all your kdrama needs</p>
- </div>
- </Link>
- </div>
- </div>
- </main>
- );
+ const router = useRouter();
+ router.push("https://dramalama.netlify.app");
+ return; // <main className={styles.newbg}>
+ // <div className={styles.content}>
+ // <div className={styles.contentContainer}>
+ // <Link
+ // href={"/anime"}
+ // title="Click here to get redirected to the anime webpage"
+ // >
+ // <div className={styles.anime}>
+ // <h2>Anime</h2>
+ // <p>Your one stop for all your anime needs</p>
+ // </div>
+ // </Link>
+ // <Link
+ // href={"/manga"}
+ // title="Click here to get redirected to the manga webpage"
+ // >
+ // <div className={styles.manga}>
+ // <h2>Manga</h2>
+ // <p>Your one stop for all your manga needs</p>
+ // </div>
+ // </Link>
+ // <Link
+ // href={"/kdrama"}
+ // title="Click here to get redirected to the kdrama webpage"
+ // >
+ // <div className={styles.kdrama}>
+ // <h2>Kdrama</h2>
+ // <p>Your one stop for all your kdrama needs</p>
+ // </div>
+ // </Link>
+ // </div>
+ // </div>
+ // </main>
}
// Test push