"use client"; import SectionHeader from "./SectionHeader"; import RuleCard from "./RuleCard"; import Button from "./Button"; import Image from "next/image"; const RuleStack = ({ children, className = "" }) => { const handleTemplateClick = (templateName) => { console.log(`Template selected: ${templateName}`); // This would typically navigate to template details or open a modal // For now, we'll just log the selection }; return (
} backgroundColor="bg-[var(--color-surface-default-brand-lime)]" onClick={() => handleTemplateClick("Consensus clusters")} /> } backgroundColor="bg-[var(--color-surface-default-brand-rust)]" onClick={() => handleTemplateClick("Consensus")} /> } backgroundColor="bg-[var(--color-surface-default-brand-red)]" onClick={() => handleTemplateClick("Elected Board")} /> } backgroundColor="bg-[var(--color-surface-default-brand-teal)]" onClick={() => handleTemplateClick("Petition")} />
{/* See all templates button */}
); }; export default RuleStack;