import Image from "next/image"; import RuleCard from "../RuleCard"; import Button from "../Button"; import { getAssetPath } from "../../../lib/assetUtils"; import type { RuleStackViewProps } from "./RuleStack.types"; export function RuleStackView({ className, onTemplateClick, }: RuleStackViewProps) { return (
} backgroundColor="bg-[var(--color-surface-default-brand-lime)]" onClick={() => onTemplateClick("Consensus clusters")} /> } backgroundColor="bg-[var(--color-surface-default-brand-rust)]" onClick={() => onTemplateClick("Consensus")} /> } backgroundColor="bg-[var(--color-surface-default-brand-red)]" onClick={() => onTemplateClick("Elected Board")} /> } backgroundColor="bg-[var(--color-surface-default-brand-teal)]" onClick={() => onTemplateClick("Petition")} />
{/* See all templates button */}
); }