import { useState } from "react";
interface OpenPiLogoProps {
animated?: boolean;
compact?: boolean;
}
const cellIds = Array.from({ length: 16 }, (_, index) => `cell-${index + 1}`);
export function OpenPiLogo({
animated = false,
compact = false,
}: OpenPiLogoProps) {
const [replay, setReplay] = useState(0);
const count = compact ? 10 : 16;
const logo = (
Open
{cellIds.slice(0, count).map((cellId) => (
))}
);
if (!animated) return logo;
return (
);
}