feat: Add testimonials and update Gemini model

Integrates a testimonial system to display user results and feedback. This includes:
- Adding a new `testimonials` collection in Firestore.
- Implementing frontend components for displaying and submitting testimonials.
- Modifying the Gemini service to use the `gemini-3.1-pro-preview` model for enhanced analysis.
- Updating the `PlansView` with a new WhatsApp contact number.
- Enhancing the `AdminDashboard` to include testimonial creation capabilities.
This commit is contained in:
desartstudio95
2026-05-06 14:42:38 +02:00
parent 4279390246
commit 03cbe2086a
9 changed files with 249 additions and 8 deletions
+20
View File
@@ -37,6 +37,22 @@
"result": { "type": "string" }
},
"required": ["userId", "pair", "decision", "timestamp"]
},
"Testimonial": {
"title": "User Testimonial",
"description": "Public review left by a user.",
"type": "object",
"properties": {
"userId": { "type": "string" },
"userName": { "type": "string" },
"text": { "type": "string" },
"timestamp": { "type": "integer" },
"imageUrls": {
"type": "array",
"items": { "type": "string" }
}
},
"required": ["userId", "userName", "text", "timestamp"]
}
},
"firestore": {
@@ -47,6 +63,10 @@
"signals/{signalId}": {
"schema": "Signal",
"description": "Generated signals."
},
"testimonials/{testimonialId}": {
"schema": "Testimonial",
"description": "Public user testimonials."
}
}
}