63 lines
2.2 KiB
TypeScript
63 lines
2.2 KiB
TypeScript
'use client'
|
|
|
|
import { useState } from 'react'
|
|
import { motion } from 'framer-motion'
|
|
import { TypeAnimation } from 'react-type-animation'
|
|
import { Dialog, DialogPanel } from '@headlessui/react'
|
|
import { Bars3Icon, XMarkIcon, ChevronDoubleDownIcon } from '@heroicons/react/24/outline'
|
|
|
|
const navigation = [
|
|
{ name: 'Product', href: '#' },
|
|
{ name: 'Features', href: '#' },
|
|
{ name: 'Marketplace', href: '#' },
|
|
{ name: 'Company', href: '#' },
|
|
]
|
|
|
|
export function HomeHero() {
|
|
const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
|
|
|
|
return (
|
|
<div className="relative h-screen -top-10">
|
|
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[700px] h-[700px] -z-10 rounded-full overflow-hidden">
|
|
<video
|
|
autoPlay
|
|
loop
|
|
muted
|
|
playsInline
|
|
className="h-full w-full object-cover"
|
|
>
|
|
<source src="/videos/mycelium.mp4" type="video/mp4" />
|
|
</video>
|
|
</div>
|
|
<div className="relative isolate px-6 lg:px-8">
|
|
<div className="relative -top-10 mx-auto max-w-8xl h-screen flex items-center justify-center">
|
|
<div className="text-center max-w-5xl">
|
|
<TypeAnimation
|
|
sequence={[
|
|
'Decentralized Agentic Cloud.',
|
|
1000,
|
|
]}
|
|
wrapper="h1"
|
|
speed={50}
|
|
className="text-5xl font-medium tracking-tight text-balance text-[#2F3178] lg:text-8xl"
|
|
repeat={0}
|
|
/>
|
|
</div>
|
|
<motion.p
|
|
initial={{ opacity: 0 }}
|
|
animate={{ opacity: 1 }}
|
|
transition={{ duration: 1, delay: 1 }}
|
|
className="absolute bottom-12 left-0 max-w-xl text-left text-2xl font-medium text-pretty leading-[1.2] text-[#2F3178] lg:text-3xl"
|
|
>
|
|
Building the infrastructure where AI agents can live, communicate, and evolve with complete sovereignty.
|
|
</motion.p>
|
|
<div className="absolute bottom-24 right-0 flex items-center gap-x-2 text-2xl font-medium text-[#2F3178] lg:text-2xl">
|
|
<span>scroll</span>
|
|
<ChevronDoubleDownIcon className="h-6 w-6" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|