"use client"; import React, { useRef } from 'react'; import AnimatedShinyText from '../ui/animated-shiny-text'; import { ArrowRightIcon } from 'lucide-react'; import { cn } from "@/lib/utils"; import { motion, useInView } from 'framer-motion'; export default function Hero() { // Create a ref for the container element const ref = useRef(null); // Use useInView hook to detect when the element is in viewport const isInView = useInView(ref, { once: true }); // Left right motion variants defined for the animations const leftVariants = { hidden: { x: -100, opacity: 0 }, visible: { x: 0, opacity: 1 }, }; const rightVariants = { hidden: { x: 100, opacity: 0 }, visible: { x: 0, opacity: 1 }, }; return (
Empower your business with Micro-SaaS applications—designed by you, no coding required. Craft powerful workflows with our intuitive drag-and-drop builder, streamline approvals, and bring your ideas to life.