diff --git a/vault/components/hero.tsx b/vault/components/hero.tsx new file mode 100644 index 0000000..9bf041d --- /dev/null +++ b/vault/components/hero.tsx @@ -0,0 +1,126 @@ +"use client"; + +import Link from "next/link"; +import { motion } from "framer-motion"; +import { ArrowRight, Lock, KeyRound, Code2 } from "lucide-react"; +import { Button } from "@/components/ui/button"; + +const features = [ + { + icon: Lock, + title: "Secret Links", + description: "Share snippets via unlisted links. Only people with the link can find them — no indexing, no discoverability.", + }, + { + icon: KeyRound, + title: "Password Lock", + description: "Add an extra layer: even with the link, viewers need a password to see your code.", + }, + { + icon: Code2, + title: "Rich Editor", + description: "Syntax highlighting for 13+ languages, line numbers, and a polished code experience that just works.", + }, +]; + +const itemVariants = { + hidden: { opacity: 0, y: 20, scale: 0.95 }, + visible: { opacity: 1, y: 0, scale: 1 }, +}; + +export function Hero() { + return ( +
+
+
+
+
+ +
+ +
+ + Private by default +
+
+ + + Your snippets,{" "} + + kept private + + + + + A private code vault with local accounts, secret links, password protection, and a beautiful editor. Share code or plain text on your terms. + + + + + + + + + + + + + + +
+ + +
+ {features.map((feature) => ( + +
+ +
+

{feature.title}

+

+ {feature.description} +

+
+ ))} +
+
+
+ ); +}