Fix heading structure (H1-H6) and button layouts, add noindex to cart and order pages

This commit is contained in:
MichalC
2026-07-19 20:42:06 +02:00
parent c7dcbab6c0
commit acf6269f32
26 changed files with 484 additions and 82 deletions
+3 -1
View File
@@ -5,6 +5,8 @@ import Image from 'next/image';
import Link from 'next/link';
import { X, ShoppingCart } from 'lucide-react';
import { useCartStore } from '@/lib/cart-store';
import { buttonClasses } from '@/components/ui/Button';
export default function PorownajPage() {
const { items, removeItem } = useCompareStore();
@@ -15,7 +17,7 @@ export default function PorownajPage() {
<main className="min-h-screen bg-slate-50 flex items-center justify-center">
<div className="text-center">
<p className="text-text-muted mb-4">Nie masz żadnych produktów do porównania.</p>
<Link href="/sklep" className="btn btn-primary text-white font-bold">
<Link href="/sklep" className={buttonClasses({ variant: 'primary', size: 'md' })}>
Wróć do sklepu
</Link>
</div>