mirror of
https://github.com/hanzo-apps/dataroom.git
synced 2026-10-30 14:47:36 +00:00
108 files: README, marketing copy, page titles, meta tags, footer text, email templates, .env.example, UI strings. URLs swapped from papermark.com/papermark.io to dataroom.hanzo.ai. Internal identifiers left intact per repo policy: localStorage keys (papermark.email/papermark.name/last_papermark_login — changing them logs users out), type field names (papermarkUserId), internal helper symbols (PAPERMARK_HEADERS, PapermarkSparkle component, isPapermarkUrl helper), internal-only filenames. LLM.md retains 'Upstream: Papermark' attribution line. Per-locale .po translations regenerate from source on the next lingui-extract CI run. DB migrations untouched (append-only history; rewriting them breaks installed schemas). LICENSE stays AGPL-3.0.
66 lines
1.9 KiB
TypeScript
66 lines
1.9 KiB
TypeScript
import { useRouter } from "next/router";
|
|
|
|
import { motion } from "motion/react";
|
|
|
|
import { STAGGER_CHILD_VARIANTS } from "@/lib/constants";
|
|
|
|
import { Button } from "../ui/button";
|
|
|
|
export default function Intro() {
|
|
const router = useRouter();
|
|
|
|
return (
|
|
<motion.div
|
|
className="z-10"
|
|
exit={{ opacity: 0, scale: 0.95 }}
|
|
transition={{ duration: 0.3, type: "spring" }}
|
|
>
|
|
<motion.div
|
|
variants={{
|
|
show: {
|
|
transition: {
|
|
staggerChildren: 0.2,
|
|
},
|
|
},
|
|
}}
|
|
initial="hidden"
|
|
animate="show"
|
|
className="mx-5 flex flex-col items-center space-y-10 text-center sm:mx-auto"
|
|
>
|
|
<motion.h1
|
|
className="font-display text-4xl font-bold text-foreground transition-colors sm:text-5xl"
|
|
variants={STAGGER_CHILD_VARIANTS}
|
|
>
|
|
Welcome to{" "}
|
|
<span className="font-bold tracking-tighter">Hanzo Dataroom</span>
|
|
</motion.h1>
|
|
<motion.p
|
|
className="max-w-md text-accent-foreground/80 transition-colors sm:text-lg"
|
|
variants={STAGGER_CHILD_VARIANTS}
|
|
>
|
|
Hanzo Dataroom gives you the power to securely share your documents with an
|
|
impression that lasts.
|
|
</motion.p>
|
|
<motion.div
|
|
variants={STAGGER_CHILD_VARIANTS}
|
|
// className="rounded px-10 py-2 font-medium transition-colors text-gray-900 bg-gray-100 hover:text-gray-100 hover:bg-gray-500"
|
|
>
|
|
<Button
|
|
className="px-10 text-base font-medium"
|
|
onClick={() =>
|
|
router.push({
|
|
pathname: "/welcome",
|
|
query: {
|
|
type: "next",
|
|
},
|
|
})
|
|
}
|
|
>
|
|
Get Started
|
|
</Button>
|
|
</motion.div>
|
|
</motion.div>
|
|
</motion.div>
|
|
);
|
|
}
|