From 50a0f0240d7fef133eb5acc1bea2b1168b08e9db Mon Sep 17 00:00:00 2001
From: Factiven <factiven.org@gmail.com>
Date: Sun, 24 Dec 2023 13:03:54 +0700
Subject: migrate to typescript

---
 pages/index.tsx | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 pages/index.tsx

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
new file mode 100644
index 0000000..25d5b20
--- /dev/null
+++ b/pages/index.tsx
@@ -0,0 +1,32 @@
+import Head from "next/head";
+
+export default function Home() {
+  return (
+    <>
+      <Head>
+        <meta
+          name="twitter:title"
+          content="Moopa - Free Anime and Manga Streaming"
+        />
+        <meta
+          name="twitter:description"
+          content="Discover your new favorite anime or manga title! Moopa offers a vast library of high-quality content, accessible on multiple devices and without any interruptions. Start using Moopa today!"
+        />
+        <meta name="twitter:image" content="/preview.png" />
+        <meta
+          name="description"
+          content="Discover your new favorite anime or manga title! Moopa offers a vast library of high-quality content, accessible on multiple devices and without any interruptions. Start using Moopa today!"
+        />
+      </Head>
+    </>
+  );
+}
+
+export async function getServerSideProps() {
+  return {
+    redirect: {
+      destination: "/en",
+      permanent: false,
+    },
+  };
+}
-- 
cgit v1.2.3

