import React from "react"; import { motion } from "framer-motion"; import { ArrowRight } from "lucide-react"; import { cn } from "../lib/utils"; function FloatingPaths({ position }: { position: number }) { const paths = Array.from({ length: 36 }, (_, i) => ({ id: i, d: `M-${380 - i * 5 * position} -${189 + i * 6}C-${ 380 - i * 5 * position } -${189 + i * 6} -${312 - i * 5 * position} ${216 - i * 6} ${ 152 - i * 5 * position } ${343 - i * 6}C${616 - i * 5 * position} ${470 - i * 6} ${ 684 - i * 5 * position } ${875 - i * 6} ${684 - i * 5 * position} ${875 - i * 6}`, color: `rgba(99,102,241,${0.05 + i * 0.01})`, // Using indigo-500 tint width: 0.5 + i * 0.03, })); return (
Background Paths {paths.map((path) => ( ))}
); } export function BackgroundPaths({ title = "The Future is Autonomous", subtitle = "Scale your data engineering and predictive modeling beyond human limits.", }: { title?: string; subtitle?: string; }) { const words = title.split(" "); return (

{words.map((word, wordIndex) => ( {word.split("").map((letter, letterIndex) => ( {letter} ))} ))}

{subtitle}
{/* Subtle glow effect at the bottom */}
); }