/*
* SuggestionGrid.tsx
* Zyquo Cloud Web
*
* Author: Simon-Pierre Boucher
* Mail: contact@spboucher.ai
*
* Empty-conversation state: centered Zyquo mark, greeting, model chip, and
* the four suggestion cards (matches the native EmptyStateView).
*/
import type { ReactNode } from 'react'
import ZyquoGlyph from './ZyquoGlyph'
import { IconCode, IconDoc, IconGlobe, IconLightbulb } from './icons'
const SUGGESTIONS = [
{
icon: ,
title: 'Explain something',
prompt: 'Explain how transformer attention works, with a concrete example.',
},
{
icon: ,
title: 'Review my code',
prompt: 'Review this code for bugs and suggest improvements:\n\n',
},
{
icon: ,
title: 'Summarize a document',
prompt: 'Summarize the key points of the following document:\n\n',
},
{
icon: ,
title: 'Translate',
prompt: 'Translate the following text to French, keeping the tone natural:\n\n',
},
]
export default function SuggestionGrid({
onPick,
modelChip,
}: {
onPick: (prompt: string) => void
modelChip?: ReactNode
}) {
return (
Welcome to Zyquo Cloud
Your keys, every cloud model, one beautiful chat.
{modelChip}
{SUGGESTIONS.map((suggestion) => (
))}
)
}