feat(SW-1347): SidePeekProvider is now using '#s-' instead of '?s='
This commit is contained in:
@@ -43,7 +43,7 @@ export default async function AmenitiesList({
|
||||
</div>
|
||||
<Link
|
||||
scroll={false}
|
||||
href={`?s=${amenities[lang]}`}
|
||||
href={`#s-${amenities[lang]}`}
|
||||
color="burgundy"
|
||||
variant="icon"
|
||||
className={styles.showAllAmenities}
|
||||
|
||||
@@ -20,7 +20,7 @@ export default function ActivitiesCardGrid(activitiesCard: ActivityCard) {
|
||||
theme: hasImage ? "image" : "primaryDark",
|
||||
primaryButton: hasImage
|
||||
? {
|
||||
href: `?s=${activities[lang]}`,
|
||||
href: `#s-${activities[lang]}`,
|
||||
title: activitiesCard.ctaText,
|
||||
isExternal: false,
|
||||
scrollOnClick: false,
|
||||
@@ -29,7 +29,7 @@ export default function ActivitiesCardGrid(activitiesCard: ActivityCard) {
|
||||
secondaryButton: hasImage
|
||||
? undefined
|
||||
: {
|
||||
href: `?s=${activities[lang]}`,
|
||||
href: `#s-${activities[lang]}`,
|
||||
title: activitiesCard.ctaText,
|
||||
isExternal: false,
|
||||
scrollOnClick: false,
|
||||
|
||||
@@ -72,7 +72,7 @@ export default async function IntroSection({
|
||||
className={styles.introLink}
|
||||
color="burgundy"
|
||||
variant="icon"
|
||||
href={`?s=${about[lang]}`}
|
||||
href={`#s-${about[lang]}`}
|
||||
scroll={false}
|
||||
>
|
||||
{intl.formatMessage({ id: "Read more about the hotel" })}
|
||||
|
||||
@@ -55,7 +55,7 @@ export function RoomCard({ room }: RoomCardProps) {
|
||||
</Body>
|
||||
</div>
|
||||
<Button intent="text" type="button" size="medium" theme="base" asChild>
|
||||
<Link scroll={false} href={`?s=${getRoomNameAsParam(name)}`}>
|
||||
<Link scroll={false} href={`#s-${getRoomNameAsParam(name)}`}>
|
||||
{intl.formatMessage({ id: "See room details" })}
|
||||
<ChevronRightSmallIcon color="burgundy" width={20} height={20} />
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user