necesito enrutar los botones de login y register a auth-page.tsx: 'use client' import {…
- User
necesito enrutar los botones de login y register a auth-page.tsx: 'use client'
import { useState, useEffect, useRef } from "react" import Link from "next/link" import Image from "next/image" // Added import for Next.js Image component import { Button } from "@/components/ui/button" import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { CheckCircle, Shield, Zap, Globe, Building, Landmark, Plane, ShoppingBag, Stethoscope, Umbrella, Phone, Car, GraduationCap, Wheat } from "lucide-react" // Removed BarChart, Users, Briefcase
export const runtime = 'edge';
export function LandingPageComponent() { const [activeCustomer, setActiveCustomer] = useState(0) const [language, setLanguage] = useState<'en' | 'es'>('en') const [animatedNumbers, setAnimatedNumbers] = useState({ entitiesScreened: 0, accuracyRate: 0, globalWatchlists: 0, }) const [isVisible, setIsVisible] = useState(false) const statsRef = useRef<HTMLDivElement | null>(null) // Added TypeScript type const [heroWord, setHeroWord] = useState(language === 'en' ? 'Simple' : 'Simple')
const customers = [ { name: "GlobalBank", logo: "/placeholder.svg?height=80&width=80", quote: "GlobusScreen ha revolucionado nuestro proceso de cumplimiento." }, { name: "TechCorp", logo: "/placeholder.svg?height=80&width=80", quote: "Eficiente y confiable. Un cambio de juego para nuestra gestión de riesgos." }, { name: "MegaRetail", logo: "/placeholder.svg?height=80&width=80", quote: "Cobertura completa y fácil de usar. Altamente recomendado." }, ]
const industries = [ { name: language === 'en' ? "Banking" : "Banca", icon: Landmark }, { name: language === 'en' ? "Technology" : "Tecnología", icon: Globe }, { name: language === 'en' ? "Retail" : "Comercio minorista", icon: ShoppingBag }, { name: language === 'en' ? "Healthcare" : "Salud", icon: Stethoscope }, { name: language === 'en' ? "Travel" : "Viajes", icon: Plane }, { name: language === 'en' ? "Real Estate" : "Bienes raíces", icon: Building }, { name: language === 'en' ? "Insurance" : "Seguros", icon: Umbrella }, { name: language === 'en' ? "Energy" : "Energía", icon: Zap }, { name: language === 'en' ? "Telecommunications" : "Telecomunicaciones", icon: Phone }, { name: language === 'en' ? "Automotive" : "Automotriz", icon: Car }, { name: language === 'en' ? "Education" : "Educación", icon: GraduationCap }, { name: language === 'en' ? "Agriculture" : "Agricultura", icon: Wheat }, ]
const translations = { en: { solutions: "Solutions", data: "Data", pricing: "Pricing", enterprise: "Enterprise", login: "Login", signUp: "Sign Up", heroTitle: "Sanctions List Screening Made", heroSubtitle: "Ensure compliance and mitigate risks with our advanced sanctions screening service", getStarted: "Get Started", fastScreening: "Fast Screening", fastScreeningDesc: "Screen entities against multiple sanctions lists in seconds", completeCoverage: "Complete Coverage", completeCoverageDesc: "Access to global sanctions and watchlists", complianceAssurance: "Compliance Assurance", complianceAssuranceDesc: "Stay compliant with international regulations", trustedBy: "Trusted by Industry Leaders", byTheNumbers: "GlobusScreen by the Numbers", entitiesScreened: "Entities Screened", accuracyRate: "Accuracy Rate", globalWatchlists: "Global Watchlists", support: "Support Available", completeSolutions: "Complete Solutions", individualScreening: "Individual Screening", batchProcessing: "Batch Processing", apiIntegration: "API Integration", readyToStreamline: "Ready to streamline your compliance process?", startFreeTrial: "Start Your Free Trial", industriesServed: "Industries We Serve", footer: { tagline: "Ensuring global compliance, one screen at a time.", solutions: "Solutions", company: "Company", legal: "Legal", aboutUs: "About Us", careers: "Careers", contact: "Contact", privacyPolicy: "Privacy Policy", termsOfService: "Terms of Service", }, }, es: { solutions: "Soluciones", data: "Datos", pricing: "Precios", enterprise: "Empresas", login: "Iniciar sesión", signUp: "Registrarse", heroTitle: "Verificación de Listas de Sanciones Hecha", heroSubtitle: "Asegure el cumplimiento y mitigue riesgos con nuestro servicio avanzado de verificación de sanciones", getStarted: "Comenzar", fastScreening: "Verificación Rápida", fastScreeningDesc: "Verifique entidades contra múltiples listas de sanciones en segundos", completeCoverage: "Cobertura Completa", completeCoverageDesc: "Acceso a sanciones globales y listas de vigilancia", complianceAssurance: "Garantía de Cumplimiento", complianceAssuranceDesc: "Manténgase en cumplimiento con las regulaciones internacionales", trustedBy: "Confiado por Líderes de la Industria", byTheNumbers: "GlobusScreen en Números", entitiesScreened: "Entidades Verificadas", accuracyRate: "Tasa de Precisión", globalWatchlists: "Listas de Vigilancia Globales", support: "Soporte Disponible", completeSolutions: "Soluciones Completas", individualScreening: "Verificación Individual", batchProcessing: "Procesamiento por Lotes", apiIntegration: "Integración API", readyToStreamline: "¿Listo para optimizar su proceso de cumplimiento?", startFreeTrial: "Comience su Prueba Gratuita", industriesServed: "Industrias que Atendemos", footer: { tagline: "Asegurando el cumplimiento global, una verificación a la vez.", solutions: "Soluciones", company: "Empresa", legal: "Legal", aboutUs: "Sobre Nosotros", careers: "Carreras", contact: "Contacto", privacyPolicy: "Política de Privacidad", termsOfService: "Términos de Servicio", }, }, }
- Assistant