From 17b567bcd936616dd0c1f18d4525b8511161a422 Mon Sep 17 00:00:00 2001 From: micsblank <81748614+micsblank@users.noreply.github.com> Date: Wed, 3 Jun 2026 14:45:26 +1000 Subject: [PATCH 1/4] add mobile breadcrumb --- app/components/breadcrumb.tsx | 50 ++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/app/components/breadcrumb.tsx b/app/components/breadcrumb.tsx index fb1c89d8a2..80c03ecfc1 100644 --- a/app/components/breadcrumb.tsx +++ b/app/components/breadcrumb.tsx @@ -47,7 +47,7 @@ export const Breadcrumbs: FC = ({ }) => { const pathname = usePathname(); - const breadcrumbItems = useMemo(() => { + const { breadcrumbItems, mobileParent } = useMemo(() => { const pathSegments = pathname .split("/") .filter((segment) => segment !== ""); @@ -118,14 +118,50 @@ export const Breadcrumbs: FC = ({ ); }); - return items; + let mobileParent: { label: string; href: string }; + if (pathSegments.length >= 2) { + const parentIndex = pathSegments.length - 2; + mobileParent = { + label: getDisplayName(pathSegments[parentIndex]), + href: "/" + pathSegments.slice(0, parentIndex + 1).join("/"), + }; + } else { + mobileParent = { label: "Home", href: "/" }; + } + + return { breadcrumbItems: items, mobileParent }; }, [pathname, path, title, seoSchema, additionalReplacements]); return ( - - - {breadcrumbItems} - - + <> + + + {breadcrumbItems} + + + + ); }; From 6c15835587ead712f51b403b5510c79fe5678a0c Mon Sep 17 00:00:00 2001 From: micsblank <81748614+micsblank@users.noreply.github.com> Date: Wed, 3 Jun 2026 15:21:25 +1000 Subject: [PATCH 2/4] last breadcrumb text is white --- app/components/breadcrumb.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/breadcrumb.tsx b/app/components/breadcrumb.tsx index 80c03ecfc1..06297f5082 100644 --- a/app/components/breadcrumb.tsx +++ b/app/components/breadcrumb.tsx @@ -97,7 +97,7 @@ export const Breadcrumbs: FC = ({ {isLast ? ( Date: Wed, 3 Jun 2026 17:28:22 +1000 Subject: [PATCH 3/4] breadcrumb edits --- app/components/breadcrumb.tsx | 6 +-- components/blocks/breadcrumbs/breadcrumbs.tsx | 41 ++++++++++++++++++- components/ui/breadcrumb.tsx | 3 +- 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/app/components/breadcrumb.tsx b/app/components/breadcrumb.tsx index 06297f5082..f493cac722 100644 --- a/app/components/breadcrumb.tsx +++ b/app/components/breadcrumb.tsx @@ -89,7 +89,7 @@ export const Breadcrumbs: FC = ({ key={`separator-${index}`} className="text-xs text-gray-700" > - {">"} + {"/"} ); @@ -97,7 +97,7 @@ export const Breadcrumbs: FC = ({ {isLast ? ( = ({