Commit Graph
100 Commits
Author SHA1 Message Date
Erik Tiekstra 5eca2e5d20 feat(BOOK-433): Added heading to SeoFilters block on destination pages
Approved-by: Bianca Widstam
2025-11-13 12:39:19 +00:00
Erik Tiekstra 3d628a3757 fix(BOOK-325): Fixed issue where padding was removed inside the mega menu
Approved-by: Bianca Widstam
2025-11-13 08:59:55 +00:00
Erik Tiekstra ce469bc4b4 Feat/BOOK-117 svg accessibility
* feat(BOOK-117): Added aria-label to Scandic Friends levels
* feat(BOOK-117): Added aria-label to hotel logos
* feat(BOOK-117): Added alt text to app download images
* feat(BOOK-117): Added same logo component to footer as the one in the header
* feat(BOOK-117): Added aria attributes to icons similar to how we handled MaterialIcon aria attributes

Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-11-13 06:34:18 +00:00
Erik Tiekstra c4b564998c fix(BOOK-325): Added refetch options to user.name query and refactored header
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-11-13 06:33:47 +00:00
Erik Tiekstra 88644597df chore: Replaced deprecated Spacing variables with current values
Approved-by: Matilda Landström
2025-11-12 12:56:22 +00:00
Erik Tiekstra a96497f7c9 feat(BOOK-512): Added default heading from CS to destination pages
Approved-by: Bianca Widstam
2025-11-12 07:06:14 +00:00
Erik Tiekstra c93e2b6f0b feat(BOOK-212): Refactored LoginButton and added successful tracking functionality
Approved-by: Linus Flood
2025-11-11 06:57:49 +00:00
Erik Tiekstra 69f852a2d3 feat(BOOK-472): Different placement of no availability alert on mobile viewports
Approved-by: Bianca Widstam
2025-11-10 12:38:42 +00:00
Erik Tiekstra 89262ffb82 feat(BOOK-488): Trimming booking code before validating
Approved-by: Bianca Widstam
2025-11-10 12:38:25 +00:00
Erik Tiekstra cab85f3ffd fix(BOOK-498): removed and changed z-index values to have booking widget overlapping correctly on mobile.
Approved-by: Bianca Widstam
Approved-by: Hrishikesh Vaipurkar
2025-11-07 13:03:25 +00:00
Erik Tiekstra 9a07dee05b feat(BOOK-64): Added themed Hero component on hotel pages
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-07 06:32:15 +00:00
Erik Tiekstra 11d53d0b15 fix(BOOK-506): Hiding campaign banner on more hotel-reservation routes and make whole banner clickable
Approved-by: Bianca Widstam
2025-11-06 14:48:13 +00:00
Erik Tiekstra 78ac3b29c3 fix(BOOK-471): Only setting hover state on devices supporting hover inside Button and IconButton components
Approved-by: Bianca Widstam
2025-11-06 14:33:55 +00:00
Erik Tiekstra 6e91d538c2 feat(BOOK-509): Added correct hover styles on breadcrumbs
Approved-by: Bianca Widstam
2025-11-05 12:55:14 +00:00
Erik Tiekstra 0e11a772f1 feat(BOOK-450): Adjust Scandic logo in header when on a themed hotel page
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-05 10:29:24 +00:00
Erik Tiekstra 3a38e99a71 Feat/BOOK-63 hotel subpages branding
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on subpages
* feat(BOOK-63): Replaced css variables and components to apply hotel branding on hotel page map view

Approved-by: Christel Westerberg
Approved-by: Matilda Landström
2025-11-05 08:30:55 +00:00
Erik Tiekstra fa10abbe78 fix(BOOK-496): Slowed down the MarqueeText component animation
Approved-by: Matilda Landström
2025-11-04 10:29:20 +00:00
Erik Tiekstra 4491d1de8e feat(BOOK-62): Added new InfoCard component and using that on hotel pages
Approved-by: Bianca Widstam
2025-11-04 07:39:33 +00:00
Erik Tiekstra 10bf4d08d9 chore: generated design system css variables from updated json file
Approved-by: Matilda Landström
2025-11-04 07:20:34 +00:00
Erik Tiekstra 6a342aaa9e chore: generated design system css variables from updated json file
Approved-by: Matilda Landström
2025-10-30 12:27:16 +00:00
Erik Tiekstra 5e81ec0eaf fix(BOOK-450): Re added the check for hotel branding feature flag before setting theme
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-10-29 14:06:59 +00:00
Erik Tiekstra 4c10989e8e Feat/BOOK-424 campaign banner
Approved-by: Bianca Widstam
2025-10-29 12:47:40 +00:00
Erik Tiekstra 333636c81a Merged in feat/BOOK-61-refactor-hotel-page-css-variables (pull request #3014)
Feat/BOOK-61 refactor hotel page css variables

* feat(BOOK-61): Breadcrumbs

* feat(BOOK-61): intro section

* feat(BOOK-61): show more button

* feat(BOOK-61): rooms section

* feat(BOOK-61): sidepeeks

* feat(BOOK-61): deprecated old Link component

* feat(BOOK-61): added new TextLink component to the design-system

* feat(BOOK-61): replaced deprecated links with new TextLink component

* feat(BOOK-61): miscellaneous changes


Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-10-29 09:15:03 +00:00
Erik Tiekstra 11f76a509a fix(BOOK-466): We needed to separate the z-index from window.kindlyChat to also cater for other languages
Approved-by: Linus Flood
2025-10-23 13:37:08 +00:00
Erik Tiekstra 8714bc79fd feat(BOOK-116): Added better alt text to static map on hotel pages
Approved-by: Bianca Widstam
2025-10-23 13:06:45 +00:00
Erik Tiekstra 89f1fb0023 fix(BOOK-466): Setting chatbot z-index variable to -1 if the chatbot should be hidden to avoid issues when multiple tabs are open
Approved-by: Linus Flood
2025-10-23 09:37:47 +00:00
Erik Tiekstra 3257054474 feat(BOOK-462): Hiding chatbot on german hotels with Dialogshift widget
Approved-by: Linus Flood
2025-10-20 10:43:08 +00:00
Erik Tiekstra 3e3a7fc423 fix(BOOK-418): Refactored StandaloneHotelCardDialog and fixed pricing issue when using redemption or booking codes
Approved-by: Bianca Widstam
2025-10-20 10:40:38 +00:00
Erik Tiekstra 038211bf09 feat(BOOK-450): Added theme to hotel page only, reverting previous theme handing on the body tag
Approved-by: Linus Flood
2025-10-16 12:54:03 +00:00
Erik Tiekstra 338c93dd56 feat(BOOK-59): Fixes some issues related to css variables from the design system
Approved-by: Linus Flood
2025-10-16 12:53:43 +00:00
Erik Tiekstra 800df0ade9 feat(BOOK-67): Added functionality to show/hide the chatbot
Approved-by: Linus Flood
2025-10-16 10:59:47 +00:00
Erik TiekstraandLinus Flood c6f76b83cc Merged in fix/BOOK-456-destination-city-validation-error (pull request #2975)
fix(BOOK-456): Added nullish() to destination pages content and sidepeek content schema to avoid unexpected errors

* fix(BOOK-456): Added nullish() to destination pages content and sidepeek content schema to avoid unexpected errors


Approved-by: Linus Flood
2025-10-15 14:41:26 +00:00
Erik Tiekstra 4469ab625c fix(BOOK-239): Fixes the preview functionality inside Contentstack
Approved-by: Matilda Landström
2025-10-14 09:28:19 +00:00
Erik Tiekstra 23f60d43bc fix(BOOK-442): Added isAlternative prop to MobileMapButtonContainer for alternative hotels flow
Approved-by: Bianca Widstam
2025-10-14 05:48:52 +00:00
Erik Tiekstra 339e7195dc fix(BOOK-436): Added new section component and deprecated the other
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-13 08:31:26 +00:00
Erik Tiekstra b7af8f5eb2 fix(BOOK-138): Back to cities on mobile map view
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-10 12:02:20 +00:00
Erik Tiekstra ddbc4a063d fix(BOOK-427): Added div around the contents of the li element to avoid the li flex-styles
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-10 10:37:26 +00:00
Erik Tiekstra 99e1dfcf72 fix(BOOK-249): Added Typography around the back button inside the mobile menu to give the icon the correct color
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-10 10:37:10 +00:00
Erik Tiekstra 50aaa095eb fix(BOOK-412): Using internalCategoryName to map ancillaries and show translated categoryName only
Approved-by: Linus Flood
2025-10-10 09:10:51 +00:00
Erik Tiekstra c84d686d9d fix(BOOK-138): Added underline to explore city link
fix(BOOK-138): removed duplicate back to cities button on mobile

Approved-by: Matilda Landström
2025-10-10 07:46:10 +00:00
Erik Tiekstra 790a5edd95 fix(BOOK-378): Added underline prop to email link on hotel pages
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-10 06:14:16 +00:00
Erik Tiekstra d298d5c2ff feat(BOOK-436): Added manage cookie bot dynamic content to content pages
Approved-by: Linus Flood
2025-10-09 12:46:17 +00:00
Erik Tiekstra 527ab170b5 fix(BOOK-405): Pushing to history when opening sidepeek to avoid navigating back inside the booking flow
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-09 11:34:58 +00:00
Erik Tiekstra 67a58d5a43 feat(BOOK-378): Added email address to the hotel page intro section
Approved-by: Matilda Landström
2025-10-08 11:20:10 +00:00
Erik Tiekstra b685c928e4 fix(BOOK-413): Respecting original_url inside RTE for entry links
Approved-by: Matilda Landström
2025-10-08 07:25:32 +00:00
Erik Tiekstra 36aa5089ea fix(BOOK-138): Fixed several issues after country map functionality was added
* fix(BOOK-138): Fixed issue when hovering markers and info windows for both city cluster marker as city markers.

Approved-by: Matilda Landström
2025-10-07 11:37:54 +00:00
Erik Tiekstra 725b105637 fix(BOOK-53): Seo filter block now uses h3 as summary content and adjusted spacing
Approved-by: Bianca Widstam
2025-10-06 10:43:05 +00:00
Erik Tiekstra e18bba79c6 fix: Added Jacuzzi and Relax to the switch statement to avoid unnecessary warnings in the logs
* fix: Ignore casing in getTranslatedName switch statement

Approved-by: Joakim Jäderberg
2025-10-06 07:54:45 +00:00
Erik Tiekstra 7fcd5833bd feat(BOOK-414): Added hotel branding themes to hotelpages
Approved-by: Matilda Landström
2025-10-02 12:34:38 +00:00
Erik TiekstraandLinus Flood 4f151b143e Merged in fix/metadata-schema (pull request #2893)
fix: Updated metadata schema to handle transformed hotel data

* fix: Updated metadata schema to handle transformed hotel data


Approved-by: Linus Flood
2025-10-01 11:33:58 +00:00
Erik TiekstraandLinus Flood 57315baf97 Merged in fix/scroll-to-top-issue (pull request #2892)
fix: Update route info inside store before checking if path or lang has changed

* fix: Update route info inside store before checking if path or lang has changed


Approved-by: Linus Flood
2025-10-01 11:15:59 +00:00
Erik Tiekstra 0bcde9f74f feat(BOOK-58): Added destination filter pages to sitemap
Approved-by: Linus Flood
2025-09-30 13:17:14 +00:00
Erik TiekstraandLinus Flood f2a5fc03c2 Merged in fix/BOOK-381-top-primary-button-schema (pull request #2865)
fix(BOOK-381): Added nullish() to top primary button to avoid schema failures

* fix(BOOK-381): Added nullish() to top primary button to avoid schema failures


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-09-26 10:15:55 +00:00
Erik Tiekstra 1746ed9803 feat(BOOK-242): Removed legacy seo filter block on destination pages
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-25 13:26:23 +00:00
Erik Tiekstra 9f02870647 feat(BOOK-57): Adjusted metadata for destination pages with active seo filter
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-25 13:26:00 +00:00
Erik Tiekstra 7714761c77 feat(BOOK-56): Added content related to destination filters
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-25 08:10:30 +00:00
Erik Tiekstra af4f544b8a feat(BOOK-55): Listen to SEO filter slugs when navigating to such page
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-09-24 10:40:58 +00:00
Erik TiekstraandLinus Flood f3b6c4a089 Merged in feat/BOOK-224-campaign-meta-title-suffix (pull request #2859)
feat(BOOK-224): Added " | Scandic Hotels" suffix to meta title on campaign pages

* feat(BOOK-224): Added " | Scandic Hotels" suffix to meta title on campaign pages


Approved-by: Bianca Widstam
Approved-by: Linus Flood
2025-09-24 09:58:56 +00:00
Erik Tiekstra 046d342b6f feat(BOOK-68): Adjusted visibility on page load
Approved-by: Linus Flood
2025-09-23 07:56:00 +00:00
Erik Tiekstra a5db1f0f62 fix(BOOK-140): fixed issue with multi-line bullet lists
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-09-22 10:47:55 +00:00
Erik Tiekstra 7c92a8fc9a feat(BOOK-53): Added component for SEO filters and support filter switching
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-19 08:26:41 +00:00
Erik Tiekstra 948c86479a feat(BOOK-54): Adjusted filter functionality to save filters as query parameters instead of paths
* feat(BOOK-54): Destination filters now matching on id instead of slug in preparation for filters from Contentstack

Approved-by: Chuma Mcphoy (We Ahead)
2025-09-18 13:03:01 +00:00
Erik Tiekstra b437f8b806 feat(SW-3152): Respecting image aspect ratio inside image gallery/lightbox
* feat(SW-3152): Respecting image aspect ratio inside image gallery/lightbox
* feat(BOOK-144): Make image clickable instead of a button to avoid being able to click outside of the image area

Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-15 09:02:48 +00:00
Erik Tiekstra a720138c85 fix(BOOK-152): Removed old header references inside useStickyPosition hook to fix offset issue for the sitewide alert
Approved-by: Matilda Landström
2025-09-15 06:47:30 +00:00
Erik Tiekstra 5654569a11 feat(SW-3108): Added external link option to top primary button on content/collection page
Approved-by: Matilda Landström
2025-09-15 06:47:10 +00:00
Erik Tiekstra ce71fc421c fix: Trimming hotel ids from contentstack to avoid 404 errors when fetching hotel data
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-09-12 09:18:50 +00:00
Erik Tiekstra 15a352ea99 feat(BOOK-68): Added kindly chatbot
Approved-by: Linus Flood
2025-09-11 12:44:47 +00:00
Erik Tiekstra 136610a51a fix(BOOK-151): Added correct background color to all hotels section on destination overview page
Approved-by: Matilda Landström
2025-09-11 08:41:17 +00:00
Erik Tiekstra 15711cb3a4 feat(SW-2541): Adjust for ImageVault custom field return types changes
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-09-10 08:57:49 +00:00
Erik Tiekstra f04fe467da feat(SW-3151): Added original to imageSchema and added transform to a more generic image type
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-09-10 08:29:05 +00:00
Erik Tiekstra 8c21416d5a fix(BOOK-118): Added __typename to embedded reference inside accordions
Approved-by: Matilda Landström
2025-09-08 09:35:42 +00:00
Erik Tiekstra 941eb51665 feat(SW-3354): Added possibility to add heading to top campaign on campaign overview page
Approved-by: Matilda Landström
2025-09-03 10:52:50 +00:00
Erik Tiekstra 52e900bad8 fix(SW-3383): Less strict string validation for header external links
Approved-by: Matilda Landström
2025-09-02 08:39:56 +00:00
Erik Tiekstra 19063da08a feat(SW-3040): Sorting hotel listing when all hotels from a city/country are chosen
Approved-by: Matilda Landström
2025-09-01 07:52:53 +00:00
Erik Tiekstra ec66a5647a feat(SW-3173): Added support for one or two columns for the list inside the RTE
Approved-by: Matilda Landström
2025-09-01 07:52:32 +00:00
Erik Tiekstra 92cb3f3663 fix(SW-3307): Filtered out duplicate facilities from hotel response
Approved-by: Matilda Landström
2025-08-29 13:00:25 +00:00
Erik Tiekstra 2e655619d1 feat(SW-3121): Added support for campaign text inside the hero of campaign pages
* fix: making sure the cacheKey for getHotelsByHotelIds is not sorting the original array

Approved-by: Matilda Landström
2025-08-28 13:46:48 +00:00
Erik Tiekstra 997f928f2b fix(SW-3028): Using hero heading instead of heading for campaign hero on hotel pages
Approved-by: Matilda Landström
2025-08-28 08:12:52 +00:00
Erik Tiekstra fd48f86c90 feat/SW-3108 external links
* feat(SW-3108): Added external link options to shortcuts
* feat(SW-3108): Added external link options to header

Approved-by: Matilda Landström
2025-08-28 07:25:17 +00:00
Erik Tiekstra 1a10afdbad fix(SW-3305): Added preamble to carousel cards block
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2025-08-28 07:22:07 +00:00
Erik Tiekstra 4c3ddea5c0 fix(SW-2143): Fixed layout issues on destination pages, also fixed background colors
Approved-by: Matilda Landström
2025-08-26 11:38:15 +00:00
Erik Tiekstra 8180271b0f fix(SW-3203): Added property id to pointOfInterestSchema to handle identical names
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2025-08-26 05:58:25 +00:00
Erik Tiekstra 091c46f85c feat(SW-1558): Added link to static map on hotel pages
Approved-by: Matilda Landström
2025-08-26 05:58:01 +00:00
Erik Tiekstra caffa1821f feat(SW-3288): Added sort order on campaign pages to sort campaigns on hotel pages
Approved-by: Matilda Landström
2025-08-22 09:30:45 +00:00
Erik Tiekstra c7c55bd7b1 Feat/SW-3287 campaign start end
Approved-by: Matilda Landström
2025-08-22 09:18:52 +00:00
Erik Tiekstra 2064732e56 Feat/SW-3028 hotel page campaigns
* feat(SW-3028): Added query and typings to fetch campaigns by hotelUid
* feat(SW-3028): Added components for campaigns to the hotel page
* feat(SW-3028): Implemented prioritized campaigns list
* chore(SW-3028): Refactor how campaigns are fetched on hotel pages
* feat(SW-3028): Added offers/campaigns to tab navigation

Approved-by: Matilda Landström
2025-08-21 13:00:34 +00:00
Erik Tiekstra 47e5a55d13 fix(SW-3186): Replaced hash functionality for filters with query parameters
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-08-15 09:00:32 +00:00
Erik Tiekstra a362d236fb fix(SW-3084): Handle unpublished entries inside content pages
Approved-by: Matilda Landström
2025-08-14 07:24:35 +00:00
Erik Tiekstra dc483fe599 feat(SW-3061): Added block for all campaigns
Approved-by: Matilda Landström
2025-08-14 07:07:54 +00:00
Erik Tiekstra 876a9cab7f fix: only checking last part of filter on destination pages to create basePathWithoutFilters
Approved-by: Hrishikesh Vaipurkar
2025-07-17 13:07:37 +00:00
Erik Tiekstra f2716c8b5e fix(SW-3189): Fixing hash navigation when query parameters exists on hotel pages
Approved-by: Hrishikesh Vaipurkar
2025-07-17 05:08:02 +00:00
Erik TiekstraandMatilda Landström 899439ead8 Merged in fix/SW-3007-meeting-image-max-seatings (pull request #2528)
fix(SW-3007): Added fallback image and check if maxSeatings exists

* fix(SW-3007): Added fallback image and check if maxSeatings exists

* fix(SW-3007): use image fallback component

* fix(SW-3007):  change to new tokens

* fix(SW-3007): change to table structure


Approved-by: Hrishikesh Vaipurkar
Approved-by: Matilda Landström
2025-07-08 12:53:06 +00:00
Erik Tiekstra 8f8240625a fix(SW-3131): Added correct className when sidepeek includes button for Wellness page
Approved-by: Matilda Landström
2025-07-04 13:02:41 +00:00
Erik Tiekstra c7cb222088 fix(SW-3150): Adjusted z-index for the mobile map toggle button
Approved-by: Matilda Landström
2025-07-04 11:40:25 +00:00
Erik Tiekstra 903f419729 fix(SW-3081): Removed color option from hotel logos to avoid wrong colors
Approved-by: Matilda Landström
2025-07-04 11:40:09 +00:00
Erik Tiekstra 270249c6c4 feat(SW-2973): Added bookingCode if available to links inside campaign pages
* feat(SW-2973): Moved block types to trpc lib

Approved-by: Matilda Landström
2025-07-04 10:15:01 +00:00
Erik Tiekstra fa7214cb58 Feat/SW-2271 hotel list filtering
* feat(SW-2271): Changes to hotel data types in preperation for filtering
* feat(SW-2271): Added filter and sort functionality

Approved-by: Matilda Landström
2025-07-04 09:27:20 +00:00
Erik Tiekstra ea4ef9a048 fix: Added translated city name to meta title
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-07-01 09:48:18 +00:00
Erik Tiekstra 8127cfc73b feat(SW-3033): Added possibility to reference to campaign overview pages
Approved-by: Matilda Landström
2025-06-30 11:46:34 +00:00
Erik Tiekstra 0393f7b7b9 feat(SW-2270): Added hotel listing block to campaign overview page
Approved-by: Matilda Landström
2025-06-30 09:29:20 +00:00