diff --git a/components/kalkulator/KalkulatorClient.tsx b/components/kalkulator/KalkulatorClient.tsx
index 792dd12..89afa87 100644
--- a/components/kalkulator/KalkulatorClient.tsx
+++ b/components/kalkulator/KalkulatorClient.tsx
@@ -395,22 +395,11 @@ export function KalkulatorClient({ products }: Props) {
Powierzchnia
{p.m2} m²
-
-
-
-
updateRoom(i, Number(e.target.value))}
- className="absolute w-full h-1.5 opacity-0 cursor-pointer z-10"
+ className="range range-xs range-accent w-full"
/>
-
-
5 m²
100 m²
@@ -712,22 +701,11 @@ export function KalkulatorClient({ products }: Props) {
Budżet
{budget.toLocaleString('pl-PL')} zł
-
-
-
-
setBudget(Number(e.target.value))}
- className="absolute w-full h-1.5 opacity-0 cursor-pointer z-10"
+ className="range range-xs range-accent w-full"
/>
-
-
3 000 zł
25 000 zł
diff --git a/components/shop/ProductPageClient.tsx b/components/shop/ProductPageClient.tsx
index 914eaed..f20d5e3 100644
--- a/components/shop/ProductPageClient.tsx
+++ b/components/shop/ProductPageClient.tsx
@@ -54,7 +54,7 @@ function parseMoc(val: string): number {
return floats[Math.floor(floats.length / 2)];
}
-const TABS = ['Opis', 'Specyfikacja', 'Montaż'] as const;
+const TABS = ['Opis', 'Specyfikacja', 'Montaż', 'Opinie'] as const;
type Tab = typeof TABS[number];
function seededViews(slug: string): number {
@@ -378,7 +378,7 @@ export function ProductPageClient({ product, seriesProducts, companyPhone, compa
max={24}
value={godziny}
onChange={e => setGodziny(Number(e.target.value))}
- className="flex-1 accent-accent"
+ className="range range-xs range-accent flex-1"
/>
{godziny}h
@@ -408,7 +408,7 @@ export function ProductPageClient({ product, seriesProducts, companyPhone, compa
{/* TABS */}
-
+
{TABS.map(tab => (
)}
+ {/* Tab: Opinie */}
+ {activeTab === 'Opinie' && (
+
+
+
+
Opinie klientów (0)
+
Bądź pierwszą osobą, która oceni ten produkt!
+
+
+ )}
+
{showViewsBanner && (
-
+
W ostatnich 30 dniach interesuje się tym produktem {viewsCount} osób.
diff --git a/components/shop/ProductsGrid.tsx b/components/shop/ProductsGrid.tsx
index 76558ba..7ff6f73 100644
--- a/components/shop/ProductsGrid.tsx
+++ b/components/shop/ProductsGrid.tsx
@@ -348,24 +348,13 @@ export function ProductsGrid({ products, brands }: ProductsGridProps) {
od
{halasMin} dB
-
-
-
-
{ setHalasMin(Math.min(Number(e.target.value), halasMax - 1)); setPage(1); }}
- className="absolute w-full h-1.5 opacity-0 cursor-pointer z-10"
+ className="range range-xs range-accent w-full"
/>
-
-
{/* do */}
@@ -373,24 +362,13 @@ export function ProductsGrid({ products, brands }: ProductsGridProps) {
do
{halasMax} dB
-
-
-
-
{ setHalasMax(Math.max(Number(e.target.value), halasMin + 1)); setPage(1); }}
- className="absolute w-full h-1.5 opacity-0 cursor-pointer z-10"
+ className="range range-xs range-accent w-full"
/>
-
-