@autobusal/routes-order 1.39.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RoutesOrder.tsx +15 -1
- package/package.json +1 -1
package/RoutesOrder.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import { useState, useEffect, useMemo, useRef } from 'react';
|
|
|
2
2
|
import { useParams, useSearchParams, useNavigate, useLocation } from 'react-router-dom';
|
|
3
3
|
import { TFunction } from 'i18next';
|
|
4
4
|
import { AiOutlineSearch, AiOutlineCaretDown, AiOutlineCaretUp } from 'react-icons/ai';
|
|
5
|
-
import { Meta } from '@autobusal/common';
|
|
5
|
+
import { Meta, PageBreadcrumbs } from '@autobusal/common';
|
|
6
6
|
import { useSystemTheme } from '@autobusal/hooks';
|
|
7
7
|
import { useGetSettings } from '@autobusal/providers/services';
|
|
8
8
|
import { selectItem } from '@autobusal/providers/Setup/commerce';
|
|
@@ -428,6 +428,20 @@ const RoutesOrder = ({ t }: Props): JSX.Element => {
|
|
|
428
428
|
</SearchAgain>
|
|
429
429
|
) }
|
|
430
430
|
|
|
431
|
+
{ /* Claude - 2026-09-26: Home > {from city} > {from} to {to}, on the
|
|
432
|
+
pair page itself (step 1 - the URL the sitemap lists and the
|
|
433
|
+
prerender snapshots). The funnel steps after it are not pages
|
|
434
|
+
anybody navigates up from. */ }
|
|
435
|
+
{ showStep1 && fromCity && toCity && (
|
|
436
|
+
<PageBreadcrumbs
|
|
437
|
+
items={ [
|
|
438
|
+
{ name: fromCity.name, path: `/city/${ fromCity.slug }` },
|
|
439
|
+
{ name: t('breadcrumbs.pair', { from: fromCity.name, to: toCity.name }) }
|
|
440
|
+
] }
|
|
441
|
+
t={ t }
|
|
442
|
+
/>
|
|
443
|
+
) }
|
|
444
|
+
|
|
431
445
|
{ showStep1 && (
|
|
432
446
|
<Step1
|
|
433
447
|
value={ step1 }
|