aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/app/page.tsx
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2025-01-26 23:29:23 +0800
committerGitHub <noreply@github.com>2025-01-26 23:29:23 +0800
commita97b7a38f4a652e7b24e101ef34e4f37b8c3094e (patch)
treec387ca55aa6977499b03346ab46e63a0f7c09b36 /src/app/page.tsx
parentd4d7fac39528b978b742420a3cb4e91cea6f5834 (diff)
parentcd8aab3a511091ce378ff7ebcaa42bf979f00882 (diff)
downloadHydroRollSite-main.tar.gz
HydroRollSite-main.zip
Merge pull request #8 from LofiSu/重构官网HEADmain
Refactor: Rewrite Site
Diffstat (limited to 'src/app/page.tsx')
-rw-r--r--src/app/page.tsx32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/app/page.tsx b/src/app/page.tsx
new file mode 100644
index 0000000..5963c01
--- /dev/null
+++ b/src/app/page.tsx
@@ -0,0 +1,32 @@
+import React from "react";
+import * as motion from "motion/react-client";
+import { ThreeBackground } from "./components/ThreeBackground";
+
+const HomePage: React.FC = () => {
+ return (
+ <div className="min-h-screen flex items-end justify-start">
+ <ThreeBackground />
+ {/* Hero */}
+ <div className="z-10 pt-20 pl-5 pb-10 ">
+ <motion.div
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ duration: 0.8 }}
+ className="container mx-auto px-4 "
+ >
+ <h1 className="text-8xl font-bold mb-3 bg-clip-text text-white font-times ">
+ HydroRoll
+ </h1>
+ <p
+ className="text-lg text-white font-bold max-w-2xl mx-auto w-full text-left font-times"
+ style={{ letterSpacing: "0.1em" }}
+ >
+ Infinity Rule Book 📖 ~ (Or Rules Packages?)
+ </p>
+ </motion.div>
+ </div>
+ </div>
+ );
+};
+
+export default HomePage;