import React, { useState, useEffect } from 'react'; import { Box, Button, Container, Typography, Stack, Grid, Card, CardContent, useTheme, alpha, Skeleton } from '@mui/material'; import { useClerk } from '@clerk/clerk-react'; import { RocketLaunch, Business, ContentCopy, TrendingUp, People, Code, Security, Speed } from '@mui/icons-material'; import { motion } from 'framer-motion'; import { ScrambleText } from '../ScrambleText'; // Scrambling text component for multiple phrases const ScramblingText: React.FC<{ phrases: string[]; interval?: number; duration?: number; delay?: number }> = ({ phrases, interval = 4000, duration = 600, delay = 0 }) => { const [currentIndex, setCurrentIndex] = React.useState(0); React.useEffect(() => { const timer = setInterval(() => { setCurrentIndex((prev) => (prev + 1) % phrases.length); }, interval); return () => clearInterval(timer); }, [phrases.length, interval]); return ( ); }; const IntroducingAlwrity: React.FC = () => { const theme = useTheme(); const [imageLoaded, setImageLoaded] = useState(false); const { openSignIn } = useClerk(); // Preload the background image useEffect(() => { const img = new Image(); img.onload = () => setImageLoaded(true); img.src = '/alwrity_landing_bg_vortex.png'; }, []); // Framer Motion variants const fadeInUp = { hidden: { opacity: 0, y: 24 }, visible: { opacity: 1, y: 0, transition: { duration: 0.6, ease: "easeOut" as const } }, }; const stagger = { hidden: {}, visible: { transition: { staggerChildren: 0.12 } }, }; // Platform capabilities instead of fake testimonials const platformCapabilities = [ { icon: , title: 'Open Source Foundation', description: 'Built with transparency and community in mind. Full source code available on GitHub for inspection and contribution.', highlight: '100% Open Source' }, { icon: , title: 'Privacy First', description: 'Your data stays yours. No tracking, no data mining, no selling of user information. Complete privacy protection.', highlight: 'Zero Tracking' }, { icon: , title: 'Lightning Fast', description: 'Optimized for speed and efficiency. Generate high-quality content in seconds, not minutes.', highlight: 'Sub-second Response' } ]; const socialProofStats = [ { icon: , value: "1K+", label: "GitHub Stars" }, { icon: , value: "10K+", label: "Content Pieces Generated" }, { icon: , value: "95%", label: "User Satisfaction" }, { icon: , value: "500+", label: "Active Contributors" } ]; // Glassmorphism styles const glassCardSx = { background: `linear-gradient(135deg, ${alpha(theme.palette.common.white, 0.08)} 0%, ${alpha(theme.palette.common.white, 0.03)} 100%)`, backdropFilter: 'blur(16px)', border: '1px solid rgba(255,255,255,0.15)', borderRadius: 3, boxShadow: '0 15px 35px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08)' } as const; return ( {/* Loading skeleton for background image */} {!imageLoaded && ( )} {/* Solution Bridge Section */} Transform from a manual implementer to a strategic director. ALwrity automates the entire content strategy process with AI-powered intelligence. {/* Platform Capabilities Section */} Why Choose ALwrity? Built for creators, by creators. Open-source, privacy-focused, and designed to scale with your ambitions. {platformCapabilities.map((capability, index) => ( {capability.icon} {capability.highlight} {capability.title} {capability.description} ))} {/* Social Proof Stats */} {socialProofStats.map((stat, index) => ( {stat.icon} {stat.value} {stat.label} ))} ); }; export default IntroducingAlwrity;