diff options
| author | 2025-01-26 22:34:40 +0800 | |
|---|---|---|
| committer | 2025-01-26 22:34:40 +0800 | |
| commit | cd8aab3a511091ce378ff7ebcaa42bf979f00882 (patch) | |
| tree | c387ca55aa6977499b03346ab46e63a0f7c09b36 /src/app/page.tsx | |
| parent | 778f5b627812f6cb487e9236ca5e5261fd2e763c (diff) | |
| download | HydroRollSite-cd8aab3a511091ce378ff7ebcaa42bf979f00882.tar.gz HydroRollSite-cd8aab3a511091ce378ff7ebcaa42bf979f00882.zip | |
refactor: rewrite
Diffstat (limited to 'src/app/page.tsx')
| -rw-r--r-- | src/app/page.tsx | 32 |
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; |
