const SUGGESTIONS = [ { label: "What is Negoptim?", category: "Product" }, { label: "How does promotion management work?", category: "Features" }, { label: "What is the Égalim law?", category: "Regulatory" }, { label: "How can ULiT help retailers?", category: "Solutions" }, { label: "What are the main platform features?", category: "Platform" }, { label: "How do supplier negotiations work?", category: "Commercial" }, ]; const CATEGORY_COLORS: Record = { Product: "#8FD15E", Features: "#47C3A6", Regulatory: "#C7D92F", Solutions: "#14B7CC", Platform: "#47C3A6", Commercial: "#8FD15E", }; interface SuggestedQuestionsProps { onSelect: (question: string) => void; } export default function SuggestedQuestions({ onSelect }: SuggestedQuestionsProps) { return (

Suggested questions

{SUGGESTIONS.map(({ label, category }) => { const color = CATEGORY_COLORS[category] ?? "#47C3A6"; return ( ); })}
); }