2025-06-28 12:38:31 +02:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import { motion } from "motion/react";
|
|
|
|
|
import { Button } from "../ui/button";
|
2025-07-16 15:19:06 +02:00
|
|
|
import { SponsorButton } from "../ui/sponsor-button";
|
|
|
|
|
import { VercelIcon } from "../icons";
|
2025-06-28 12:38:31 +02:00
|
|
|
import { ArrowRight } from "lucide-react";
|
|
|
|
|
|
|
|
|
|
import Image from "next/image";
|
2025-07-09 17:30:37 +05:30
|
|
|
import { Handlebars } from "./handlebars";
|
2025-07-20 21:48:47 +02:00
|
|
|
import Link from "next/link";
|
2025-06-28 12:38:31 +02:00
|
|
|
|
2025-07-15 23:26:04 +02:00
|
|
|
export function Hero() {
|
2025-06-28 12:38:31 +02:00
|
|
|
return (
|
2025-08-26 04:10:48 +09:00
|
|
|
<div className="min-h-[calc(100svh-4.5rem)] flex flex-col justify-between items-center text-center px-4">
|
2025-07-16 15:30:19 +02:00
|
|
|
<Image
|
2025-08-04 11:12:44 +02:00
|
|
|
className="absolute top-0 left-0 -z-50 size-full object-cover invert dark:invert-0 opacity-85"
|
2025-08-12 23:06:22 +05:30
|
|
|
src="/landing-page-dark.png"
|
2025-07-16 15:30:19 +02:00
|
|
|
height={1903.5}
|
|
|
|
|
width={1269}
|
|
|
|
|
alt="landing-page.bg"
|
|
|
|
|
/>
|
2025-06-28 12:38:31 +02:00
|
|
|
<motion.div
|
|
|
|
|
initial={{ opacity: 0 }}
|
|
|
|
|
animate={{ opacity: 1 }}
|
|
|
|
|
transition={{ duration: 1 }}
|
|
|
|
|
className="max-w-3xl mx-auto w-full flex-1 flex flex-col justify-center"
|
|
|
|
|
>
|
2025-07-16 15:19:06 +02:00
|
|
|
<motion.div
|
|
|
|
|
initial={{ opacity: 0, y: 20 }}
|
|
|
|
|
animate={{ opacity: 1, y: 0 }}
|
|
|
|
|
transition={{ delay: 0.6, duration: 0.8 }}
|
2025-07-30 15:03:16 -04:00
|
|
|
className="mb-4 flex justify-center"
|
2025-07-16 15:19:06 +02:00
|
|
|
>
|
2025-07-20 21:46:50 +02:00
|
|
|
<SponsorButton
|
2025-07-21 18:00:48 +02:00
|
|
|
href="https://vercel.com/home?utm_source=opencut"
|
2025-07-16 15:19:06 +02:00
|
|
|
logo={VercelIcon}
|
|
|
|
|
companyName="Vercel"
|
|
|
|
|
/>
|
|
|
|
|
</motion.div>
|
2025-06-28 12:38:31 +02:00
|
|
|
<motion.div
|
|
|
|
|
initial={{ opacity: 0, y: 20 }}
|
|
|
|
|
animate={{ opacity: 1, y: 0 }}
|
|
|
|
|
transition={{ delay: 0.2, duration: 0.8 }}
|
|
|
|
|
className="inline-block font-bold tracking-tighter text-4xl md:text-[4rem]"
|
|
|
|
|
>
|
|
|
|
|
<h1>The Open Source</h1>
|
2025-07-09 17:30:37 +05:30
|
|
|
<Handlebars>Video Editor</Handlebars>
|
2025-06-28 12:38:31 +02:00
|
|
|
</motion.div>
|
|
|
|
|
|
|
|
|
|
<motion.p
|
|
|
|
|
className="mt-10 text-base sm:text-xl text-muted-foreground font-light tracking-wide max-w-xl mx-auto"
|
|
|
|
|
initial={{ opacity: 0 }}
|
|
|
|
|
animate={{ opacity: 1 }}
|
|
|
|
|
transition={{ delay: 0.4, duration: 0.8 }}
|
|
|
|
|
>
|
2025-07-16 15:30:19 +02:00
|
|
|
A simple but powerful video editor that gets the job done. Works on
|
|
|
|
|
any platform.
|
2025-06-28 12:38:31 +02:00
|
|
|
</motion.p>
|
|
|
|
|
|
2025-07-16 15:30:19 +02:00
|
|
|
<motion.div
|
2025-07-20 21:46:50 +02:00
|
|
|
className="mt-8 flex gap-8 justify-center"
|
2025-07-16 15:30:19 +02:00
|
|
|
initial={{ opacity: 0 }}
|
|
|
|
|
animate={{ opacity: 1 }}
|
|
|
|
|
transition={{ delay: 0.6, duration: 0.8 }}
|
|
|
|
|
>
|
2025-07-20 21:48:47 +02:00
|
|
|
<Link href="/projects">
|
|
|
|
|
<Button
|
|
|
|
|
type="submit"
|
|
|
|
|
size="lg"
|
|
|
|
|
className="px-6 h-11 text-base bg-foreground"
|
|
|
|
|
>
|
|
|
|
|
Try early beta
|
|
|
|
|
<ArrowRight className="relative z-10 ml-0.5 h-4 w-4 inline-block" />
|
|
|
|
|
</Button>
|
|
|
|
|
</Link>
|
2025-06-28 12:38:31 +02:00
|
|
|
</motion.div>
|
|
|
|
|
</motion.div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|