"use client"; import Link from "next/link"; import { useState } from "react"; import ThemedLayout from "@/components/layouts/ThemedLayout"; type Resource = { name: string; description: string; href: string; category: string; trust: "internal" | "clearnet" | "onion-required"; icon: string; external: boolean; }; const RESOURCES: Resource[] = [ { name: "Tor Project", description: "Official documentation for the Tor anonymity network and Tor Browser. Start here for anything Tor-related.", href: "https://www.torproject.org/", category: "Infrastructure", trust: "clearnet", icon: "🧅", external: true, }, { name: "EFF — Surveillance Self-Defense", description: "Electronic Frontier Foundation's guide to protecting yourself from digital surveillance.", href: "https://ssd.eff.org/", category: "OPSEC", trust: "clearnet", icon: "🛡️", external: true, }, { name: "Tails OS", description: "Privacy-focused amnesic operating system that leaves no trace. Runs from a USB drive.", href: "https://tails.boum.org/", category: "Infrastructure", trust: "clearnet", icon: "💾", external: true, }, { name: "Privacy Guides", description: "Community-maintained recommendations for privacy software, services, and tools across every category.", href: "https://www.privacyguides.org/", category: "Reference", trust: "clearnet", icon: "📚", external: true, }, { name: "SecureDrop", description: "Open-source whistleblower submission platform used by major news organizations.", href: "https://securedrop.org/", category: "Whistleblowing", trust: "clearnet", icon: "📮", external: true, }, { name: "Monero (XMR)", description: "Privacy-focused cryptocurrency with ring signatures, stealth addresses, and confidential transactions.", href: "https://www.getmonero.org/", category: "Finance", trust: "clearnet", icon: "⏣", external: true, }, { name: "OpenPGP standard", description: "The spec behind PGP-encrypted communications. Essential reading for key hygiene and signing.", href: "https://www.openpgp.org/", category: "Cryptography", trust: "clearnet", icon: "🔑", external: true, }, { name: "Have I Been Pwned", description: "Check if your email or phone was in a data breach. Free lookup, no account needed.", href: "https://haveibeenpwned.com/", category: "Security", trust: "clearnet", icon: "🔍", external: true, }, ]; const INTERNAL: { name: string; description: string; href: string; icon: string }[] = [ { name: "Darknet Atlas", description: "Analyst taxonomy of underground ecosystems — every row links to a real CyberLux surface.", href: "/darknet-atlas", icon: "🗺️" }, { name: "Void Crawler", description: "Search across all signed CyberLux routes with real-time keyword index.", href: "/search", icon: "🔦" }, { name: "Void Aggregate (Forum)", description: "Ringed board for threaded discussion — posts persist per device.", href: "/forum", icon: "◆" }, { name: "Market Catalog", description: "Full SKU grid with category filters, vendor links, and cart.", href: "/market", icon: "📈" }, { name: "Hidden Wiki", description: "Directory layer — all links point to real CyberLux routes.", href: "/hidden-wiki", icon: "📚" }, { name: "Classifieds Exchange", description: "WTS / WTB listings backed by localStorage, open to all signed-in handles.", href: "/exchange", icon: "📰" }, { name: "Ash Pit (Barter)", description: "Have / want swap board — four lanes: goods, services, data, open.", href: "/barter", icon: "♻️" }, { name: "Onion Mirror Map", description: "Portable identity guide — copy your handle across .onion hostnames.", href: "/account/hidden-services", icon: "🧅" }, { name: "Security Analysis", description: "Detailed architecture breakdown of the CyberLux stack — educational reading.", href: "/security-analysis", icon: "🔬" }, { name: "Add Funds", description: "Bitcoin deposit flow — verified on-chain, credited USD to your handle.", href: "/account/add-funds", icon: "₿" }, ]; const TRUST_LABELS: Record = { internal: { label: "Internal", color: "text-neon-green" }, clearnet: { label: "Clearnet", color: "text-neon-cyan" }, "onion-required": { label: "Tor only", color: "text-amber-400" }, }; export default function LinksPage() { const [cat, setCat] = useState("All"); const cats = ["All", ...Array.from(new Set(RESOURCES.map((r) => r.category)))]; const visible = cat === "All" ? RESOURCES : RESOURCES.filter((r) => r.category === cat); return (

LINK GARDEN

Curated privacy and security resources. External links go to real clearnet sites. Internal links stay on this deployment. Every .onion row in the Atlas requires Tor Browser — these are clearnet-accessible references.

EXTERNAL RESOURCES

{cats.map((c) => ( ))}
{visible.map((r) => { const trust = TRUST_LABELS[r.trust]; return (
{r.icon}
{trust.label} {r.category}

{r.name}

{r.description}

Visit ↗
); })}

INTERNAL ROUTES

{INTERNAL.map((item) => ( {item.icon}
{item.name}

{item.description}

))}

Using Tor Browser

The external resources above are clearnet sites — accessible in any browser. For accessing .onion services (including this deployment when running behind Tor), you must use{" "} Tor Browser . On mobile, use Onion Browser (iOS) or Tor Browser for Android. Safari and Chrome cannot resolve .onion hostnames regardless of settings.

); }