Merged in feat/SW-159-remove-accessibilityElevatorPitchText (pull request #1245)
fix(SW-1553): remove accessibilityElevatorPitchText * fix(SW-159): remove accessibilityElevatorPitchText Approved-by: Bianca Widstam Approved-by: Christian Andolf Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -7,7 +7,7 @@ import type { AccessibilityProps } from "@/types/components/hotelReservation/sel
|
||||
import { IconName } from "@/types/components/icon"
|
||||
|
||||
export default function Accessibility({
|
||||
accessibilityElevatorPitchText,
|
||||
elevatorPitchText,
|
||||
}: AccessibilityProps) {
|
||||
const intl = useIntl()
|
||||
return (
|
||||
@@ -16,7 +16,7 @@ export default function Accessibility({
|
||||
icon={IconName.Accessibility}
|
||||
variant="sidepeek"
|
||||
>
|
||||
<Body>{accessibilityElevatorPitchText}</Body>
|
||||
<Body>{elevatorPitchText}</Body>
|
||||
</AccordionItem>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -54,10 +54,10 @@ export default function HotelSidePeek({
|
||||
}
|
||||
/>
|
||||
)}
|
||||
{additionalHotelData?.accessibilityElevatorPitchText && (
|
||||
{additionalHotelData?.hotelSpecialNeeds.elevatorPitch && (
|
||||
<Accessibility
|
||||
accessibilityElevatorPitchText={
|
||||
additionalHotelData.accessibilityElevatorPitchText
|
||||
elevatorPitchText={
|
||||
additionalHotelData.hotelSpecialNeeds.elevatorPitch
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -54,7 +54,6 @@ export const additionalDataSchema = z.object({
|
||||
healthAndFitness: extraPageSchema,
|
||||
hotelParking: extraPageSchema,
|
||||
hotelSpecialNeeds: extraPageSchema,
|
||||
accessibilityElevatorPitchText: z.string().optional(),
|
||||
hotelRoomElevatorPitchText: z.string().optional(),
|
||||
}),
|
||||
type: z.literal("additionalData"),
|
||||
|
||||
@@ -23,7 +23,6 @@ import { facilitySchema } from "./additionalData"
|
||||
import { imageSchema } from "./image"
|
||||
|
||||
export const attributesSchema = z.object({
|
||||
accessibilityElevatorPitchText: z.string().optional(),
|
||||
address: addressSchema,
|
||||
cityId: z.string(),
|
||||
cityName: z.string(),
|
||||
|
||||
@@ -1521,7 +1521,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessibilityElevatorPitchText": "Find the information you might need, before visiting us. You are always welcome to our hotel - completely without barriers. Regardless of impairment, sight, hearing, allergies or wheelchair, we have made sure that you enjoy your stay.",
|
||||
"merchantInformationData": {
|
||||
"webMerchantId": "1110009031",
|
||||
"cards": {
|
||||
|
||||
@@ -26,7 +26,7 @@ export interface ParkingProps {
|
||||
}
|
||||
|
||||
export interface AccessibilityProps {
|
||||
accessibilityElevatorPitchText: string
|
||||
elevatorPitchText: string
|
||||
}
|
||||
|
||||
export interface RestaurantProps {
|
||||
|
||||
Reference in New Issue
Block a user