From 469f6e17d48def8903cadc223ed2dcb95de1d94a Mon Sep 17 00:00:00 2001 From: tisachi Date: Fri, 16 Oct 2026 23:50:49 +0200 Subject: [PATCH] App: PageHeader H2 zamiast dubla H1 (h1 naleza do topbaru) --- app/src/components/ui/content.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/components/ui/content.tsx b/app/src/components/ui/content.tsx index 353245a..21212f2 100644 --- a/app/src/components/ui/content.tsx +++ b/app/src/components/ui/content.tsx @@ -3,7 +3,7 @@ import { useEffect, useRef, useState } from 'react'; import { Link } from 'react-router-dom'; import { ArrowLeft, ChevronLeft, ChevronRight, X } from 'lucide-react'; import { buttonVariants } from './button'; -import { H1, H2, H3, Muted } from './typography'; +import { H2, H3, Muted } from './typography'; import { cn } from '../../lib/utils'; /* Page header: opcjonalny element przed tytułem (np. awatar), tytuł + badge, @@ -24,7 +24,8 @@ export function PageHeader({
{leading} -

{title}

+ {/* `

` należy do topbaru (tytuł strony) — nagłówek treści to `

` */} +

{title}

{badge}
{actions &&
{actions}
}