The open-source CapCut alternative
feat: remove waitlist count due to bots
Maze Winther83d65bdd1594
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsxindex 74308470..74961549 100644--- a/apps/web/src/app/page.tsx+++ b/apps/web/src/app/page.tsx@@ -1,18 +1,12 @@import { Hero } from "@/components/landing/hero";import { Header } from "@/components/header";import { Footer } from "@/components/footer";-import { getWaitlistCount } from "@/lib/waitlist";--// Force dynamic rendering so waitlist count updates in real-time-export const dynamic = "force-dynamic";export default async function Home() {- const signupCount = await getWaitlistCount();-return (<div><Header />- <Hero signupCount={signupCount} />+ <Hero /><Footer /></div>);diff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsxindex 01ad7e7e..462e3ba7 100644--- a/apps/web/src/components/landing/hero.tsx+++ b/apps/web/src/components/landing/hero.tsx@@ -10,11 +10,7 @@ import { toast } from "sonner";import Image from "next/image";import { Handlebars } from "./handlebars";-interface HeroProps {- signupCount: number;-}--export function Hero({ signupCount }: HeroProps) {+export function Hero() {const [email, setEmail] = useState("");const [isSubmitting, setIsSubmitting] = useState(false);@@ -131,18 +127,6 @@ export function Hero({ signupCount }: HeroProps) {</Button></form></motion.div>-- {signupCount > 0 && (- <motion.div- initial={{ opacity: 0, y: 10 }}- animate={{ opacity: 1, y: 0 }}- transition={{ delay: 0.8, duration: 0.6 }}- className="mt-8 inline-flex items-center gap-2 text-sm text-muted-foreground justify-center"- >- <div className="w-2 h-2 bg-green-500 rounded-full animate-pulse" />- <span>{signupCount.toLocaleString()} people already joined</span>- </motion.div>- )}</motion.div></div>);