"use client"; import { useId } from "react"; type GearDef = { id: string; cx: number; cy: number; r: number; hr: number; tc: number; tw: number; th: number; }; export default function Logo({ className = "" }: { className?: string }) { const uid = useId(); const col = "#f97316"; // 4 gears in a horizontal chain, two pairs slightly offset vertically // Connector nodes sit between gears const gears: GearDef[] = [ // left-outer: small { id: "g1", cx: 28, cy: 50, r: 12, hr: 4, tc: 8, tw: 4.5, th: 4.5 }, // left-inner: large { id: "g2", cx: 68, cy: 50, r: 18, hr: 6, tc: 12, tw: 5.5, th: 5.5 }, // right-inner: large { id: "g3", cx: 112, cy: 50, r: 18, hr: 6, tc: 12, tw: 5.5, th: 5.5 }, // right-outer: small { id: "g4", cx: 152, cy: 50, r: 12, hr: 4, tc: 8, tw: 4.5, th: 4.5 }, ]; // Connector nodes between gears const nodes = [ { cx: 48, cy: 50 }, // between g1 and g2 { cx: 90, cy: 50 }, // between g2 and g3 { cx: 132, cy: 50 }, // between g3 and g4 ]; return ( {gears.map((g) => ( ))} {/* Gears */} {gears.map((g) => { const angles = Array.from({ length: g.tc }, (_, i) => (360 / g.tc) * i); return ( {angles.map((a) => ( ))} ); })} {/* Connector nodes */} {nodes.map(({ cx, cy }) => ( ))} ); }