import React, { useState, useEffect } from 'react'; import { Rocket, Link as LinkIcon, ArrowUpRight, Sparkles, Github, Twitter, Terminal, Activity } from 'lucide-react'; // --- Data Configuration --- const subdomains = [ { title: 'V2Links', prefix: 'v2links', domain: 'xi0.in', tagline: 'Link Routing & Analytics', description: 'Next-generation link routing, advanced URL management, and comprehensive network analytics tailored for the modern web.', icon: LinkIcon, theme: 'fuchsia' } ]; // --- Components --- // Animated Star & Grid Background const GalaxyBackground = () => { const [stars, setStars] = useState([]); useEffect(() => { const newStars = Array.from({ length: 120 }).map(() => ({ id: Math.random(), x: Math.random() * 100, y: Math.random() * 100, size: Math.random() * 2 + 0.5, opacity: Math.random() * 0.8 + 0.2, animationDuration: Math.random() * 3 + 2, animationDelay: Math.random() * 5, })); setStars(newStars); }, []); return (
{/* Tech Grid Overlay */}
{/* Deep Space Background / Nebula Gradients */}
{/* Stars */} {stars.map((star) => (
))}
); }; const SubdomainCard = ({ data }) => { const Icon = data.icon; return ( {/* Container: - Mobile: Breaks out of padding (-mx-6), no rounded corners, edge-to-edge. - Desktop: Rounded corners, glowing borders. */}
{/* Dynamic Hover Gradient inside card */}
{/* Tech Decorators */}
{/* Left: Icon & Branding */}
{/* Middle: Content */}
{data.tagline}

{data.title}

{data.description}

{/* Right: Action & URL */}
{data.prefix} .{data.domain}
Launch Module
); }; export default function App() { const [mounted, setMounted] = useState(false); useEffect(() => { setMounted(true); }, []); return (
{/* --- Main Content --- */}
{/* Navigation / Header */} {/* Hero Section */}
Core Infrastructure

The Cosmic
Network.

Navigate the central nexus. Access isolated environments, link directories, and experimental tools deployed across the xi0.in galaxy.

{/* Subdomains Area */}

Active Modules

{subdomains.map((sub) => ( ))}
{/* Footer */}
Status: Optimal
{/* Global styles for animations */}