Premium design updates: gold accents, improved sections, verified review badges, reordered homepage layout
Some checks failed
Build and Deploy / build (push) Has been cancelled

This commit is contained in:
Unchained
2026-03-22 17:08:06 +02:00
parent 77e19d841b
commit ba25261a3c
8 changed files with 162 additions and 85 deletions

View File

@@ -76,12 +76,12 @@ function StarRating({ rating = 5, count = 0 }: { rating?: number; count?: number
{[...Array(5)].map((_, i) => (
<Star
key={i}
className={`w-4 h-4 ${i < rating ? 'fill-black text-black' : 'text-[#e5e5e5]'}`}
className={`w-4 h-4 ${i < rating ? 'fill-[#FFD700] text-[#FFD700]' : 'text-[#e5e5e5]'}`}
/>
))}
</div>
{count > 0 && (
<span className="text-sm text-[#666666] ml-1">({count})</span>
<span className="text-sm text-[#666666] ml-1">({count >= 1000 ? '1000+' : count})</span>
)}
</div>
);
@@ -216,7 +216,7 @@ export default function ProductDetail({ product, relatedProducts, locale = "SR"
<span className="text-3xl font-medium">
{price || (locale === "EN" ? "Contact for price" : "Kontaktirajte za cenu")}
</span>
<StarRating rating={5} count={12} />
<StarRating rating={5} count={1000} />
</div>
{/* Divider */}