"use client";
import { motion, useReducedMotion } from "framer-motion";
import clsx from "clsx";
type Props = {
className?: string;
accent?: string; // cyan
bg?: string; // solid dark background
gridStroke?: string;
};
const W = 720; // 4:3
const H = 540; // 4:3
export default function NoSinglePoint({
className,
accent = "#00b8db",
bg = "#0b0b0b",
gridStroke = "#2b2a2a",
}: Props) {
const prefers = useReducedMotion();
// Nodes (left source, right dest, top hub, bottom hub, plus two relays)
const nodes = {
left: { x: 120, y: H / 2 },
right: { x: W - 120, y: H / 2 },
top: { x: W / 2, y: 160 },
bot: { x: W / 2, y: H - 160 },
tl: { x: 240, y: 200 },
br: { x: W - 240, y: H - 200 },
};
// Redundant paths from left → right
const upperPath = `M ${nodes.left.x} ${nodes.left.y}
L ${nodes.tl.x} ${nodes.tl.y}
L ${nodes.top.x} ${nodes.top.y}
L ${nodes.right.x} ${nodes.right.y}`;
const lowerPath = `M ${nodes.left.x} ${nodes.left.y}
L ${nodes.bot.x} ${nodes.bot.y}
L ${nodes.br.x} ${nodes.br.y}
L ${nodes.right.x} ${nodes.right.y}`;
return (
);
}