Fix cart-badge false pulse, blog hero-card misattribution, legal breadcrumb color
- Cart badge pulsed on every page load/reload, not just real cart changes — useCartCount's SSR snapshot is always 0, so hydration alone satisfied the "count increased" check. Skip the very first effect run. - WishlistButton: touch-device smaller/subtler sizing now applies regardless of revealOnHover (e.g. the homepage spotlight heart), not just the shop grid's hover-reveal mode. - /blog: the big featured-style hero card was applied to whatever post sorted first post-filter, even when that post isn't actually the `featured` one (a category filter can exclude the real featured post entirely). Now gated on the post's own `featured` flag. - Legal pages' "Startseite" breadcrumb link now matches the same text-brand/hover:underline treatment already used elsewhere on these pages (e.g. Impressum's Anbieter email link), instead of staying muted until hover. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018unaXmuzVA8ct1b6WoyP1U
This commit is contained in:
@@ -29,7 +29,7 @@ export default async function ImpressumPage() {
|
||||
<main className="flex flex-col flex-1 bg-bg-base">
|
||||
<Reveal className="flex flex-col gap-3 items-start pb-6 pt-10 px-[var(--layout-padding-x)] w-full">
|
||||
<p className="flex items-center gap-2 text-body-sm text-text-muted">
|
||||
<Link href="/" className="hover:text-brand transition-colors">Startseite</Link>
|
||||
<Link href="/" className="text-brand hover:underline">Startseite</Link>
|
||||
<span>›</span>
|
||||
<span className="text-text-primary">Impressum</span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user