62 lines
1.2 KiB
TypeScript
62 lines
1.2 KiB
TypeScript
export interface Product {
|
|
slug: string;
|
|
sku: string;
|
|
name: string;
|
|
brand: string;
|
|
category: 'scienne' | 'multisplit';
|
|
price: number | null;
|
|
image: string;
|
|
shortDescription: string;
|
|
specs: Record<string, string>;
|
|
}
|
|
|
|
export interface Project {
|
|
slug: string;
|
|
title: string;
|
|
category: "klimatyzacja" | "pompy-ciepla";
|
|
location: string; // np. "Wrocław"
|
|
image: string;
|
|
images?: string[]; // galeria
|
|
description: string;
|
|
scope?: string[]; // zakres prac
|
|
}
|
|
|
|
export interface Post {
|
|
slug: string;
|
|
title: string;
|
|
category: "klimatyzacja" | "pompy-ciepla" | "porady";
|
|
excerpt: string;
|
|
date: string; // ISO format string
|
|
author: string;
|
|
image: string;
|
|
content: string; // markdown or HTML
|
|
featured?: boolean;
|
|
}
|
|
|
|
export interface FaqItem {
|
|
question: string;
|
|
answer: string;
|
|
}
|
|
|
|
export interface ProcessStep {
|
|
number: number;
|
|
title: string;
|
|
description: string;
|
|
icon?: string;
|
|
}
|
|
|
|
export interface ServiceItem {
|
|
title: string;
|
|
description: string;
|
|
icon: string; // nazwa ikony z lucide
|
|
href: string;
|
|
}
|
|
|
|
export interface Testimonial {
|
|
name: string;
|
|
rating: number; // np. 5
|
|
text: string;
|
|
source?: string; // np. "Google"
|
|
date?: string;
|
|
}
|