new web sayt
This commit is contained in:
39
lib/types.ts
Normal file
39
lib/types.ts
Normal 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[];
|
||||
}
|
||||
Reference in New Issue
Block a user