"use client"; import { motion, useReducedMotion } from "framer-motion"; import clsx from "clsx"; type Props = { className?: string; accent?: string; // cyan danger?: string; // hostile color bg?: string; // dark background gridStroke?: string; // subtle grid }; const W = 720; const H = 540; export default function Security({ className, accent = "#00b8db", danger = "#ff4d4d", bg = "#0b0b0b", gridStroke = "#2b2a2a", }: Props) { const prefers = useReducedMotion(); // Central protected pod const center = { x: W / 2, y: H / 2 }; // External hostile/corporate nodes const hostile = [ { x: 160, y: 120 }, { x: 560, y: 120 }, { x: 120, y: 300 }, { x: 600, y: 380 }, { x: 350, y: 80 }, ]; // Helper function for attack rays const attackRay = (h: { x: number; y: number }) => `M ${h.x} ${h.y} L ${center.x} ${center.y}`; return (
); }