From cf6090d588c0246a2360bc0671e8f939c350714e Mon Sep 17 00:00:00 2001 From: Collina Systems Date: Fri, 26 Jun 2026 20:05:37 -0600 Subject: [PATCH] Restyle AI consultant ("Virtual waiter") to match new mockup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename the consultant title to "Mesero virtual" / "Virtual waiter" (uppercased in the UI via CSS). - Answer intro now shown in a sage-green card; recommendation dish names use the palette text color. - Replace hardcoded navy (#1e3a5f) with var(--accent) across the consultant (asked bubble, recommendation "Add" button, send arrow) and the SuggestionCarousel "Add" button — all red under the current palette. - More opaque modal surface for readability over the dimmed menu; dish thumbnails preserved in recommendations. Co-Authored-By: Claude Opus 4.8 --- messages/en.json | 2 +- messages/es.json | 2 +- src/components/public/AiConsultant.tsx | 24 ++++++++++++++------ src/components/public/SuggestionCarousel.tsx | 2 +- 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/messages/en.json b/messages/en.json index c2676f2..995d0ff 100644 --- a/messages/en.json +++ b/messages/en.json @@ -71,7 +71,7 @@ "kcal": "Calories" }, "ai": { - "title": "Menu consultant", + "title": "Virtual waiter", "placeholder": "What do you recommend if I'm diabetic?", "thinking": "Thinking…", "intro": "Tell me what you're after and I'll recommend dishes from the menu.", diff --git a/messages/es.json b/messages/es.json index 45e9a56..40b1418 100644 --- a/messages/es.json +++ b/messages/es.json @@ -71,7 +71,7 @@ "kcal": "Calorías" }, "ai": { - "title": "Consultor del menú", + "title": "Mesero virtual", "placeholder": "¿Qué me recomiendas si soy diabético?", "thinking": "Pensando…", "intro": "Cuéntame qué buscas y te recomiendo platillos del menú.", diff --git a/src/components/public/AiConsultant.tsx b/src/components/public/AiConsultant.tsx index e9a9dec..92cfb41 100644 --- a/src/components/public/AiConsultant.tsx +++ b/src/components/public/AiConsultant.tsx @@ -79,13 +79,13 @@ export default function AiConsultant({ /> )}
-
{r.dish}
+
{r.dish}

{r.reason}

{ordersEnabled && product && ( @@ -110,7 +113,7 @@ export default function AiConsultant({ {asked && (
{asked}
@@ -119,7 +122,14 @@ export default function AiConsultant({ {error &&

⚠️

} {answer && (
- {answer.intro &&

{answer.intro}

} + {answer.intro && ( +
+

{answer.intro}

+
+ )} {(() => { const direct = answer.recommendations.filter((r) => r.type !== 'complement'); const complement = answer.recommendations.filter((r) => r.type === 'complement'); @@ -159,7 +169,7 @@ export default function AiConsultant({