feat: implement compare functionality, checkout flow, and add 30 blog posts
This commit is contained in:
+7
-12
@@ -1,35 +1,30 @@
|
||||
export interface Product {
|
||||
slug: string;
|
||||
sku: string;
|
||||
name: string;
|
||||
brand: string;
|
||||
category: "scienne" | "multisplit" | "przenosne" | "kasetonowe" | "konsolowe";
|
||||
power: number; // kW
|
||||
price: number; // cena urządzenia brutto (23% VAT)
|
||||
priceWithInstall: number; // cena z montażem brutto (8% VAT dla os. prywatnych)
|
||||
variants?: { label: string; power: number; price: number; priceWithInstall?: number }[];
|
||||
category: 'scienne' | 'multisplit';
|
||||
price: number | null;
|
||||
image: string;
|
||||
features: string[]; // np. ["Wi-Fi", "jonizacja", "grzanie"]
|
||||
heating: boolean;
|
||||
description: string;
|
||||
specs: Record<string, string>; // klucz: wartość
|
||||
shortDescription: string;
|
||||
specs: Record<string, string>;
|
||||
}
|
||||
|
||||
export interface Project {
|
||||
slug: string;
|
||||
title: string;
|
||||
category: "klimatyzacja" | "pompy-ciepla" | "remonty" | "hydraulika";
|
||||
category: "klimatyzacja" | "pompy-ciepla";
|
||||
location: string; // np. "Wrocław"
|
||||
image: string;
|
||||
images?: string[]; // galeria
|
||||
description: string;
|
||||
scope?: string[]; // zakres prac
|
||||
beforeAfter?: { before: string; after: string }; // dla remontów
|
||||
}
|
||||
|
||||
export interface Post {
|
||||
slug: string;
|
||||
title: string;
|
||||
category: "klimatyzacja" | "pompy-ciepla" | "remonty" | "hydraulika" | "porady";
|
||||
category: "klimatyzacja" | "pompy-ciepla" | "porady";
|
||||
excerpt: string;
|
||||
date: string; // ISO format string
|
||||
author: string;
|
||||
|
||||
Reference in New Issue
Block a user