diff --git a/app/(landing)/_components/hero-section.tsx b/app/(landing)/_components/hero-section.tsx new file mode 100644 index 0000000..e1ce1bc --- /dev/null +++ b/app/(landing)/_components/hero-section.tsx @@ -0,0 +1,116 @@ +'use client'; + +import { MdCheckCircle,MdDns, MdRocketLaunch } from 'react-icons/md'; + +import { Button } from '@/components/ui/button'; + +interface HeroSectionProps { + onGetStarted: () => void; + isLoading: boolean; + authError: string | null; + buttonText: string; // Dynamic button text based on auth/environment +} + +export function HeroSection({ + onGetStarted, + isLoading, + authError, + buttonText, +}: HeroSectionProps) { + return ( +
+ Powered by Agents in isolated sandbox environments +
+ + {/* Error message */} + {authError && ( +