import { ArrowRight, Shield, Globe, Lock, Server, Zap, ChevronRight } from "lucide-react"; import Link from 'next/link'; interface LandingPageProps { locale?: 'en' | 'id'; } const translations = { en: { hero: { badge: "v1.0 is Live", title: "Secure Your", highlight: "Private Network", description: "TrustLab is the definitive Private Certificate Authority (CA) for your internal infrastructure. Issue military-grade SSL/TLS certificates for Intranets, IoT, and Dev environments.", cta_primary: "Get Started", cta_secondary: "Generate Certificate", }, features: { root_ca: { title: "Private Root CA", desc: "Your own sovereign Certificate Authority. Trusted by your devices, unreachable by the public internet." }, internal_domains: { title: "Internal Domains", desc: "Issue certificates for .local, .corp, and private IP addresses (192.168.x.x) that Public CAs reject." }, smime: { title: "S/MIME Encryption", desc: "Secure internal email communication with employee-to-employee encryption." }, infrastructure: { title: "Infrastructure", desc: "Seamless integration guides for Nginx, IIS, Apache, and containerized environments." }, instant: { title: "Instant Issuance", desc: "No validation delays. Certificates are issued instantly via our modern dashboard." }, start: { title: "Start Now", desc: "Follow the Setup Guide to install the Root CA and go green in minutes." }, learn_more: "Learn more" } }, id: { hero: { badge: "v1.0 Sudah Rilis", title: "Amankan", highlight: "Jaringan Pribadi Anda", description: "TrustLab adalah Otoritas Sertifikat (CA) Pribadi definitif untuk infrastruktur internal Anda. Terbitkan sertifikat SSL/TLS kelas militer untuk Intranet, IoT, dan lingkungan Dev.", cta_primary: "Mulai Sekarang", cta_secondary: "Buat Sertifikat", }, features: { root_ca: { title: "Root CA Pribadi", desc: "Otoritas Sertifikat berdaulat Anda sendiri. Dipercaya oleh perangkat Anda, tidak terjangkau oleh internet publik." }, internal_domains: { title: "Domain Internal", desc: "Terbitkan sertifikat untuk .local, .corp, dan alamat IP pribadi (192.168.x.x) yang ditolak oleh CA Publik." }, smime: { title: "Enkripsi S/MIME", desc: "Amankan komunikasi email internal dengan enkripsi antar karyawan." }, infrastructure: { title: "Infrastruktur", desc: "Panduan integrasi mulus untuk Nginx, IIS, Apache, dan lingkungan container." }, instant: { title: "Penerbitan Instan", desc: "Tanpa penundaan validasi. Sertifikat diterbitkan secara instan melalui dashboard modern kami." }, start: { title: "Mulai Sekarang", desc: "Ikuti Panduan Pengaturan untuk menginstal Root CA dan aman dalam hitungan menit." }, learn_more: "Pelajari selengkapnya" } } }; export function LandingPage({ locale = 'en' }: LandingPageProps) { console.log('LandingPage Locale:', locale); const t = translations[locale] || translations.en; return (
{t.hero.description}
{description}