d018d87e25
- Remove Merkliste from AccountNav — the Navbar's own wishlist icon already covers it, a second nav entry was redundant. - Fix duplicate "Mein Profil" heading (ProfileForm already renders its own; KontoShell no longer adds a second one). - "Eingeloggt als ..." now renders once in KontoShell, consistently on every /konto/* page, instead of only on the orders page. - Blog category filter chips moved into the hero's own text column (was a separate bar below the entire hero including the photo) — visible immediately on every width instead of requiring a scroll past the hero image first. - ArrowRightIcon's arrowhead wings shortened (looked like a generic oversized chevron at full length). - Search overlay's "Esc" text button replaced with an X icon; the actual Escape keyboard shortcut is unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
22 lines
1.2 KiB
TypeScript
22 lines
1.2 KiB
TypeScript
// Replaces the Unicode "→" (U+2192) previously used inline in CTA links
|
|
// (Tools.tsx, Blog.tsx, ProductGrid.tsx) — that glyph isn't covered by the
|
|
// site's custom web fonts, so browsers fall back to a system font just for
|
|
// that one character. The fallback's vertical metrics differ enough by
|
|
// platform (confirmed: sat visibly low relative to the label text on a
|
|
// Samsung Galaxy S22/Android Chrome, not reproducible in desktop Chromium)
|
|
// that centering it via flex `items-center` alone isn't reliable across
|
|
// devices. An SVG has no font-fallback path — it renders identically
|
|
// everywhere. `currentColor` stroke follows the parent Link's own
|
|
// text/hover color, same as every other icon in this codebase.
|
|
// Arrowhead wings are deliberately short relative to the shaft (4.2 units
|
|
// vs. a 14-unit shaft) — the first version used full-length 45° wings
|
|
// (7 units), which read as a generic, oversized chevron next to the small
|
|
// bold label text it sits beside.
|
|
export function ArrowRightIcon() {
|
|
return (
|
|
<svg aria-hidden width="16" height="12" viewBox="0 0 16 12" fill="none" className="shrink-0">
|
|
<path d="M1 6H15M15 6L12 3M15 6L12 9" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" />
|
|
</svg>
|
|
);
|
|
}
|