From 8ff4155186640af522d0a9f13bb5a6e466d42ebe Mon Sep 17 00:00:00 2001 From: ashim-hq Date: Thu, 23 Apr 2026 18:04:53 +0800 Subject: [PATCH] feat: replace typing cursor with static subtitle, add gradient mesh hero background --- apps/landing/src/components/hero.tsx | 17 +++++-- apps/landing/src/components/typing-cursor.tsx | 50 ------------------- 2 files changed, 13 insertions(+), 54 deletions(-) delete mode 100644 apps/landing/src/components/typing-cursor.tsx diff --git a/apps/landing/src/components/hero.tsx b/apps/landing/src/components/hero.tsx index 68f803c1..824cd50a 100644 --- a/apps/landing/src/components/hero.tsx +++ b/apps/landing/src/components/hero.tsx @@ -1,10 +1,18 @@ import { Github } from "lucide-react"; import { FadeIn } from "./fade-in"; -import { TypingCursor } from "./typing-cursor"; export function Hero() { return ( -
+
+ {/* Stripe-style gradient mesh background */} +
+
+
+
+
+
+
+

@@ -13,8 +21,9 @@ export function Hero() { -

- +

+ 50+ image processing tools with local AI. Self-hosted, air-gapped, and fully offline. No + data ever leaves your network.

diff --git a/apps/landing/src/components/typing-cursor.tsx b/apps/landing/src/components/typing-cursor.tsx deleted file mode 100644 index 1ca4f212..00000000 --- a/apps/landing/src/components/typing-cursor.tsx +++ /dev/null @@ -1,50 +0,0 @@ -"use client"; - -import { AnimatePresence, motion } from "framer-motion"; -import { useCallback, useEffect, useState } from "react"; - -const phrases = [ - "100% local processing.", - "Zero data leaves your network.", - "50+ image tools.", - "14 AI models. Your hardware.", - "Air-gapped ready.", - "Enterprise-grade. Free forever.", - "One Docker container.", - "Open source. Always.", -]; - -export function TypingCursor() { - const [index, setIndex] = useState(0); - - const advance = useCallback(() => { - setIndex((i) => (i + 1) % phrases.length); - }, []); - - useEffect(() => { - const timer = setInterval(advance, 3000); - return () => clearInterval(timer); - }, [advance]); - - return ( - - - - {phrases[index]} - - - - - ); -}