File size: 1,250 Bytes
61e6dfe
 
 
4b57069
 
 
 
 
 
 
 
 
61e6dfe
 
 
 
 
 
47c5aca
61e6dfe
46c1b4b
61e6dfe
46c1b4b
61e6dfe
 
 
 
 
 
 
 
 
 
 
 
4b57069
 
 
61e6dfe
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"use client";
import { motion } from "framer-motion";

const TITLE = [
  "Create",
  "stunning",
  "websites",
  "with",
  "next-gen",
  "AI",
  "tools",
];

export function HeroHeader() {
  return (
    <header className="mx-auto flex max-w-5xl flex-col items-center gap-3 text-center px-6 py-12 z-1">
      <div
        data-slot="badge"
        className="rounded-full border border-indigo-500/10 px-2 pl-2.5 py-0.5 text-xs font-medium w-fit bg-linear-to-br from-indigo-500/10 to-purple-300/20 text-indigo-500"
      >
        DeepSite: v4 is here 🎉
      </div>
      <h1 className="mb-3 text-balance text-4xl font-bold tracking-tight lg:text-7xl">
        {TITLE.map((word, index) => (
          <motion.span
            key={index}
            className="inline-block"
            initial={{ opacity: 0, y: 10 }}
            animate={{ opacity: 1, y: 0 }}
            transition={{ duration: 0.5, delay: (index + 1) * 0.17 }}
          >
            {word}&nbsp;
          </motion.span>
        ))}
      </h1>
      <p className="text-muted-foreground mx-auto max-w-2xl md:text-lg lg:text-xl text-balance">
        Build, design, and deploy stunning websites in minutes with AI-powered
        development.
      </p>
    </header>
  );
}