feat: Make the breadcrumbs more attractive and keep long titles on one line
Back to our planProblem
In plain words: the breadcrumb trail above articles (Home / News / Post title) is plain gray text with slashes. It works, but it looks unfinished next to the rest of the page, and a long title can wrap or crowd it.
Summary of the owner's request (2026-11-03, Claude voice session): make the breadcrumbs look more polished.
Proposed fix
Restyle the existing Breadcrumbs kit component (src/platform/ui/Breadcrumbs.tsx). It is used by ArticlePage, so every post and event gets the new look at once. Keep it small and unobtrusive (docs/guidelines/ui-ux-design.md, Navigation).
- A chevron separator (
ChevronRightfromlucide-react) instead of the/character, as decoration only. - A small home icon for the first crumb, with an accessible name.
- Links get a soft rounded hover and focus state; the current page is a little bolder and not a link.
- The last crumb stays on one line and is shortened with an ellipsis when it doesn't fit (Tailwind
truncate, native), so a long title can never push the trail onto several lines. The full title stays available to screen readers. - Colors from theme tokens only, readable in light and dark. Touch targets at least 44 px tall on a phone.
- The BreadcrumbList structured data stays exactly as it is.
Native first (checked): Tailwind utilities and lucide-react (already installed) cover all of it; nothing to add. @payloadcms/plugin-nested-docs builds breadcrumb data for category hierarchies, not the visual component, so it doesn't apply.
Works together with the title limit issue (long titles are cut by the CSS even if they exist already).
Acceptance criteria
- Not done: The new look appears on posts and events, at 320, 430, 768, 1024, 1280 and 1920 px, in light and dark mode (screenshots in the PR).
- Not done: A 60-character title and an older longer title both stay on one line with an ellipsis at 320 px.
- Not done: Keyboard focus is visible on every crumb; touch targets are at least 44 px; axe passes.
- Not done: The JSON-LD output is unchanged (existing test still passes).
- Not done: The component-set doc and the gallery show the new look.
Area
frontend, styling, ux
Priority
priority: low
Generated by Claude Code, opens in a new tab