new web sayt

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-11-25 21:06:55 +05:00
parent bef940d9d8
commit f9d27ec11d
29 changed files with 3978 additions and 55 deletions

39
lib/types.ts Normal file
View File

@@ -0,0 +1,39 @@
export interface ContactPayload {
name: string;
phone: string;
message?: string;
productSlug?: string;
lang?: "uz" | "ru";
}
export interface NavbarProps {
logoSrc?: string;
links?: { id: string; labelKey: string; href: string }[];
}
export interface ShowCaseProps {
titleKey: string;
subtitleKey?: string;
ctaLabelKey: string;
images: string[];
}
export interface ProductCardProps {
product: any;
onViewDetails: (slug: string) => void;
}
export interface ProductViewerProps {
modelUrl?: string;
images?: string[];
autoRotate?: boolean;
}
export interface FaqItem {
questionKey: string;
answerKey: string;
}
export interface FaqProps {
items: FaqItem[];
}