"use client";
import { motion, useReducedMotion } from "framer-motion";
import clsx from "clsx";
type Props = {
className?: string;
accent?: string;
bg?: string;
};
const W = 760;
const H = 420;
const Node = ({
x,
y,
r = 10,
accent = "#00b8db",
pulse = false,
delay = 0,
}: {
x: number;
y: number;
r?: number;
accent?: string;
pulse?: boolean;
delay?: number;
}) => {
const prefers = useReducedMotion();
return (
<>
>
);
};
const Packet = ({
path,
delay = 0,
accent = "#00b8db",
duration = 2.4,
}: {
path: string;
delay?: number;
accent?: string;
duration?: number;
}) => {
const prefers = useReducedMotion();
return (
);
};
export default function NoCentral({
className,
accent = "#00b8db",
bg = "#0a0a0a",
}: Props) {
const center = { x: 380, y: 210 };
const nodes = [
{ x: 160, y: 100 },
{ x: 270, y: 70 },
{ x: 500, y: 90 },
{ x: 620, y: 150 },
{ x: 220, y: 300 },
{ x: 360, y: 340 },
{ x: 530, y: 290 },
];
const links = [
[nodes[0], nodes[1]],
[nodes[1], nodes[2]],
[nodes[2], nodes[3]],
[nodes[0], nodes[4]],
[nodes[4], nodes[5]],
[nodes[5], nodes[6]],
[nodes[1], nodes[5]],
[nodes[3], nodes[6]],
];
return (
);
}