update ai commerce section

This commit is contained in:
2026-07-23 10:26:49 +05:30
parent 4e0facc9af
commit a4328a791a
135 changed files with 4081 additions and 391 deletions

View File

@@ -0,0 +1,19 @@
// The ONLY module the hero voice demo imports for data.
//
// Same contract as ./search.ts: everything is local dummy JSON today. To go
// live, swap the function bodies for real API calls and keep these exported
// signatures unchanged — the hero never needs to change.
import voiceData from "@/data/experience/voice-requests.json";
import type { VoiceRequest } from "@/types/experience";
const requests = voiceData as VoiceRequest[];
/**
* The spoken requests the hero demo cycles through — deliberately spread across
* shopping, services and healthcare so the hero shows Nearle covers products
* *and* local services, not only grocery.
*/
export function getVoiceRequests(): VoiceRequest[] {
return requests;
}