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
+4 -2
View File
@@ -4,6 +4,8 @@ import { useCartStore } from '@/lib/cart-store';
import Image from 'next/image';
import Link from 'next/link';
import { Trash2, Plus, Minus, ShoppingBag, ArrowRight } from 'lucide-react';
import { buttonClasses } from '@/components/ui/Button';
export default function KoszykPage() {
const { items, removeItem, updateQuantity, getTotal, clearCart } = useCartStore();
@@ -14,9 +16,9 @@ export default function KoszykPage() {
<main className="min-h-screen bg-slate-50 flex items-center justify-center">
<div className="text-center">
<ShoppingBag className="size-16 text-border mx-auto mb-4" />
<h1 className="text-2xl font-bold text-primary font-heading mb-2">Koszyk jest pusty</h1>
<h2 className="text-2xl font-bold text-primary font-heading mb-2">Koszyk jest pusty</h2>
<p className="text-text-muted mb-6">Dodaj produkty ze sklepu aby złożyć zamówienie.</p>
<Link href="/sklep" className="btn btn-primary text-white font-bold">
<Link href="/sklep" className={buttonClasses({ variant: 'primary', size: 'md' })}>
Przejdź do sklepu
</Link>
</div>