diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx index a4dbf7231..49829fdc0 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx @@ -12,7 +12,6 @@ import DestinationCityPage from "@/components/ContentType/DestinationPage/Destin import DestinationCityPageSkeleton from "@/components/ContentType/DestinationPage/DestinationCityPage/DestinationCityPageSkeleton" import DestinationCountryPage from "@/components/ContentType/DestinationPage/DestinationCountryPage" import DestinationCountryPageSkeleton from "@/components/ContentType/DestinationPage/DestinationCountryPage/DestinationCountryPageSkeleton" -import DestinationOverviewPage from "@/components/ContentType/DestinationPage/DestinationOverviewPage" import HotelPage from "@/components/ContentType/HotelPage" import HotelSubpage from "@/components/ContentType/HotelSubpage" import LoyaltyPage from "@/components/ContentType/LoyaltyPage" @@ -23,8 +22,8 @@ import { getLang } from "@/i18n/serverContext" import { isValidSession } from "@/utils/session" import type { - ContentTypeParams, LangParams, + NonAppRouterContentTypeParams, PageArgs, UIDParams, } from "@/types/params" @@ -36,7 +35,7 @@ export default async function ContentTypePage({ params, searchParams, }: PageArgs< - LangParams & ContentTypeParams & UIDParams, + LangParams & NonAppRouterContentTypeParams & UIDParams, { subpage?: string; filterFromUrl?: string } >) { const pathname = headers().get("x-pathname") || "" @@ -62,11 +61,6 @@ export default async function ContentTypePage({ } case PageContentTypeEnum.loyaltyPage: return - case PageContentTypeEnum.destinationOverviewPage: - if (env.HIDE_FOR_NEXT_RELEASE) { - return notFound() - } - return case PageContentTypeEnum.destinationCountryPage: if (env.HIDE_FOR_NEXT_RELEASE) { return notFound() diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@breadcrumbs/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@breadcrumbs/page.tsx new file mode 100644 index 000000000..759bd5bc1 --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@breadcrumbs/page.tsx @@ -0,0 +1,3 @@ +export default function DestinationOverviewPageBreadcrumbs() { + return null +} diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@preview/loading.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@preview/loading.tsx new file mode 100644 index 000000000..114ae97b3 --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@preview/loading.tsx @@ -0,0 +1 @@ +export { default } from "../../../[contentType]/[uid]/@preview/loading" diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@preview/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@preview/page.tsx new file mode 100644 index 000000000..81c9d5a28 --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/@preview/page.tsx @@ -0,0 +1 @@ +export { default } from "../../../[contentType]/[uid]/@preview/page" diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/error.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/error.tsx new file mode 100644 index 000000000..357d9aec9 --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/error.tsx @@ -0,0 +1,37 @@ +"use client" + +import * as Sentry from "@sentry/nextjs" +import { useEffect } from "react" +import { useIntl } from "react-intl" + +import { DestinationOverviewPageError } from "@/components/ContentType/DestinationPage/DestinationOverviewPage/error" + +export default function Error({ + error, +}: { + error: Error & { digest?: string } +}) { + const intl = useIntl() + + useEffect(() => { + if (!error) return + + console.error(error) + Sentry.captureException(error) + }, [error]) + + return ( + +

+ + {intl.formatMessage( + { id: "An error occurred ({errorId})" }, + { + errorId: `${error.digest}@${Date.now()}`, + } + )} + +

+
+ ) +} diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/layout.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/layout.tsx new file mode 100644 index 000000000..4faada2be --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/layout.tsx @@ -0,0 +1 @@ +export { default } from "../../[contentType]/[uid]/layout" diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/loading.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/loading.tsx new file mode 100644 index 000000000..98ee83f1a --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/loading.tsx @@ -0,0 +1 @@ +export { DestinationOverviewPageLoading as default } from "@/components/ContentType/DestinationPage/DestinationOverviewPage" diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/page.tsx new file mode 100644 index 000000000..c2602bd1a --- /dev/null +++ b/apps/scandic-web/app/[lang]/(live)/(public)/destination_overview_page/[uid]/page.tsx @@ -0,0 +1,15 @@ +import { notFound } from "next/navigation" + +import { env } from "@/env/server" + +import DestinationOverviewPage from "@/components/ContentType/DestinationPage/DestinationOverviewPage" + +export { generateMetadata } from "@/utils/generateMetadata" + +export default function DestinationOverviewPagePage() { + if (env.HIDE_FOR_NEXT_RELEASE) { + return notFound() + } + + return +} diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx index 1dfcd02d6..82c4e0fe8 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx @@ -27,21 +27,23 @@ export default async function Destination({
    - {cities.map((city) => ( -
  • - {city.url ? ( - - {`${city.name} (${city.hotelCount})`} - - ) : ( - {`${city.name} (${city.hotelCount})`} - )} -
  • - ))} + {cities.map((city) => + city.hotelCount > 0 ? ( +
  • + {city.url ? ( + + {`${city.name} (${city.hotelCount})`} + + ) : ( + {`${city.name} (${city.hotelCount})`} + )} +
  • + ) : null + )}
{countryUrl && ( diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/index.tsx index d8e89631d..150472dc0 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/index.tsx @@ -7,9 +7,7 @@ import styles from "./destinationsList.module.css" import type { DestinationsListProps } from "@/types/components/destinationOverviewPage/destinationsList/destinationsData" -export default function DestinationsList({ - destinations, -}: DestinationsListProps) { +export function DestinationsList({ destinations }: DestinationsListProps) { const middleIndex = Math.ceil(destinations.length / 2) const accordionLeft = destinations.slice(0, middleIndex) const accordionRight = destinations.slice(middleIndex) @@ -17,27 +15,31 @@ export default function DestinationsList({ return (
- {accordionLeft.map((data) => ( - - ))} + {accordionLeft.map((data) => + data.numberOfHotels > 0 ? ( + + ) : null + )} - {accordionRight.map((data) => ( - - ))} + {accordionRight.map((data) => + data.numberOfHotels > 0 ? ( + + ) : null + )}
) diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/index.tsx index df0744b02..7d308a18f 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/index.tsx @@ -1,16 +1,19 @@ +import { getDestinationsList } from "@/lib/trpc/memoizedRequests" + import Title from "@/components/TempDesignSystem/Text/Title" import { getIntl } from "@/i18n" -import DestinationsList from "./DestinationsList" +import { DestinationsList } from "./DestinationsList" import styles from "./hotelsSection.module.css" -import type { HotelsSectionProps } from "@/types/components/destinationOverviewPage/destinationsList/destinationsData" - -export default async function HotelsSection({ - destinations, -}: HotelsSectionProps) { +export default async function HotelsSection() { const intl = await getIntl() + const destinations = await getDestinationsList() + + if (destinations.length === 0) { + return null + } return (
diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/OverviewMapContainer/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/OverviewMapContainer/index.tsx index 9a86a55fa..82815dfc5 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/OverviewMapContainer/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/OverviewMapContainer/index.tsx @@ -6,17 +6,8 @@ import MapContent from "../../Map/MapContent" import MapProvider from "../../Map/MapProvider" import { getHotelMapMarkers, mapMarkerDataToGeoJson } from "../../Map/utils" import ActiveMapCard from "./ActiveMapCard" -import InputForm from "./InputForm" -import type { MapLocation } from "@/types/components/mapLocation" - -interface OverviewMapContainerProps { - defaultLocation: MapLocation -} - -export default async function OverviewMapContainer({ - defaultLocation, -}: OverviewMapContainerProps) { +export default async function OverviewMapContainer() { const hotelData = await getAllHotels() if (!hotelData) { @@ -28,22 +19,13 @@ export default async function OverviewMapContainer({ const markers = getHotelMapMarkers(hotelData) const geoJson = mapMarkerDataToGeoJson(markers) - const defaultCoordinates = defaultLocation - ? { - lat: defaultLocation.latitude, - lng: defaultLocation.longitude, - } - : null - const defaultZoom = defaultLocation?.default_zoom ?? 3 return ( - diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/destinationOverviewPage.module.css b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/destinationOverviewPage.module.css index bbbced58f..5480c2186 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/destinationOverviewPage.module.css +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/destinationOverviewPage.module.css @@ -2,11 +2,21 @@ position: relative; display: grid; width: 100%; - max-width: var(--max-width); - height: 700px; + height: 610px; margin: 0 auto; } +@media screen and (min-width: 768px) { + .mapContainer { + height: 580px; + } +} +@media screen and (min-width: 1367px) { + .mapContainer { + height: 560px; + } +} + .main { display: grid; gap: var(--Spacing-x9); diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/error.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/error.tsx new file mode 100644 index 000000000..fbc1bd6ac --- /dev/null +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/error.tsx @@ -0,0 +1,13 @@ +"use client" + +import styles from "./destinationOverviewPage.module.css" + +import type { PropsWithChildren } from "react" + +export function DestinationOverviewPageError({ children }: PropsWithChildren) { + return ( +
+
{children}
+
+ ) +} diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/index.tsx index 18f7c9f65..45211192e 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/index.tsx @@ -1,9 +1,7 @@ -import { - getDestinationOverviewPage, - getDestinationsList, -} from "@/lib/trpc/memoizedRequests" +import { getDestinationOverviewPage } from "@/lib/trpc/memoizedRequests" import Blocks from "@/components/Blocks" +import SkeletonShimmer from "@/components/SkeletonShimmer" import TrackingSDK from "@/components/TrackingSDK" import HotelsSection from "./HotelsSection" @@ -12,10 +10,7 @@ import OverviewMapContainer from "./OverviewMapContainer" import styles from "./destinationOverviewPage.module.css" export default async function DestinationOverviewPage() { - const [pageData, destinationsData] = await Promise.all([ - getDestinationOverviewPage(), - getDestinationsList(), - ]) + const pageData = await getDestinationOverviewPage() if (!pageData) { return null @@ -26,21 +21,35 @@ export default async function DestinationOverviewPage() { return ( <>
- +
- {destinationsData && ( - - )} + ) } + +export function DestinationOverviewPageLoading() { + return ( + <> +
+ +
+
+
+ +
+
+ + + ) +} diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css b/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css index 6a0528d72..c3b70b434 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css +++ b/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css @@ -6,7 +6,7 @@ z-index: 0; } -.mapWrapper::after { +.mapWrapperWithCloseButton:after { content: ""; position: absolute; top: 0; diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx index d427ff89a..42e46e0c6 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx @@ -3,6 +3,7 @@ import "client-only" import { Map, type MapProps, useMap } from "@vis.gl/react-google-maps" +import { cx } from "class-variance-authority" import { type PropsWithChildren, useEffect, useRef } from "react" import { useIntl } from "react-intl" @@ -28,8 +29,8 @@ const BACKUP_COORDINATES = { interface DynamicMapProps { markers: DestinationMarker[] mapId: string - defaultCoordinates: google.maps.LatLngLiteral | null - defaultZoom: number + defaultCenter?: google.maps.LatLngLiteral + defaultZoom?: number fitBounds?: boolean gestureHandling?: "greedy" | "cooperative" | "auto" | "none" onClose?: () => void @@ -38,8 +39,8 @@ interface DynamicMapProps { export default function DynamicMap({ markers, mapId, - defaultCoordinates, - defaultZoom, + defaultCenter = BACKUP_COORDINATES, + defaultZoom = 3, fitBounds = true, onClose, gestureHandling = "auto", @@ -61,18 +62,14 @@ export default function DynamicMap({ }, [activeMarker, pageType]) useEffect(() => { - if (map && fitBounds) { - if (markers.length) { - const bounds = new google.maps.LatLngBounds() - markers.forEach((marker) => { - bounds.extend(marker.coordinates) - }) - map.fitBounds(bounds, 100) - } else if (defaultCoordinates) { - map.setCenter(defaultCoordinates) - } + if (map && fitBounds && markers?.length) { + const bounds = new google.maps.LatLngBounds() + markers.forEach((marker) => { + bounds.extend(marker.coordinates) + }) + map.fitBounds(bounds, 100) } - }, [map, markers, defaultCoordinates, fitBounds]) + }, [map, fitBounds, markers]) useHandleKeyUp((event: KeyboardEvent) => { if (event.key === "Escape" && onClose) { @@ -94,7 +91,7 @@ export default function DynamicMap({ } const mapOptions: MapProps = { - defaultCenter: defaultCoordinates || BACKUP_COORDINATES, // Default center will be overridden by the bounds + defaultCenter, // Default center will be overridden by the bounds minZoom: 3, maxZoom: 18, defaultZoom, @@ -105,7 +102,13 @@ export default function DynamicMap({ } return ( -
+
Unable to display map}> {children} diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx index 363feb9ad..5c59a4b7e 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx @@ -71,7 +71,7 @@ export default function Map({ const markers = getHotelMapMarkers(hotels) const geoJson = mapMarkerDataToGeoJson(markers) - const defaultCoordinates = activeHotel + const defaultCenter = activeHotel ? { lat: activeHotel.hotel.location.latitude, lng: activeHotel.hotel.location.longitude, @@ -81,7 +81,7 @@ export default function Map({ lat: defaultLocation.latitude, lng: defaultLocation.longitude, } - : null + : undefined const defaultZoom = activeHotel ? 15 : (defaultLocation?.default_zoom ?? (pageType === "city" ? 10 : 3)) @@ -171,7 +171,7 @@ export default function Map({ markers={markers} mapId={mapId} onClose={handleClose} - defaultCoordinates={defaultCoordinates} + defaultCenter={defaultCenter} defaultZoom={defaultZoom} fitBounds={!activeHotel} gestureHandling="greedy" diff --git a/apps/scandic-web/i18n/dictionaries/da.json b/apps/scandic-web/i18n/dictionaries/da.json index 5535e0b01..dac9ab224 100644 --- a/apps/scandic-web/i18n/dictionaries/da.json +++ b/apps/scandic-web/i18n/dictionaries/da.json @@ -57,6 +57,7 @@ "Amenities": "Faciliteter", "Amusement park": "Forlystelsespark", "An account with this email already exists. Please try signing in instead.": "Der findes allerede en konto med denne e-mailadresse. Log venligst ind i stedet.", + "An error occurred ({errorId})": "Der opstod en fejl ({errorId})", "An error occurred trying to manage your preferences, please try again later.": "Der opstod en fejl under forsøget på at administrere dine præferencer. Prøv venligst igen senere.", "An error occurred when adding a credit card, please try again later.": "Der opstod en fejl under tilføjelse af et kreditkort. Prøv venligst igen senere.", "An error occurred when trying to update profile.": "Der opstod en fejl under forsøg på at opdatere profilen.", diff --git a/apps/scandic-web/i18n/dictionaries/de.json b/apps/scandic-web/i18n/dictionaries/de.json index 5db2c633c..65e8360fa 100644 --- a/apps/scandic-web/i18n/dictionaries/de.json +++ b/apps/scandic-web/i18n/dictionaries/de.json @@ -57,6 +57,7 @@ "Amenities": "Annehmlichkeiten", "Amusement park": "Vergnügungspark", "An account with this email already exists. Please try signing in instead.": "Ein Konto mit dieser E-Mail-Adresse existiert bereits. Bitte melden Sie sich stattdessen an.", + "An error occurred ({errorId})": "Ein Fehler ist aufgetreten ({errorId})", "An error occurred trying to manage your preferences, please try again later.": "Beim Versuch, Ihre Einstellungen zu verwalten, ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.", "An error occurred when adding a credit card, please try again later.": "Beim Hinzufügen einer Kreditkarte ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.", "An error occurred when trying to update profile.": "Beim Versuch, das Profil zu aktualisieren, ist ein Fehler aufgetreten.", diff --git a/apps/scandic-web/i18n/dictionaries/en.json b/apps/scandic-web/i18n/dictionaries/en.json index b7c84528a..b0ee06a38 100644 --- a/apps/scandic-web/i18n/dictionaries/en.json +++ b/apps/scandic-web/i18n/dictionaries/en.json @@ -57,6 +57,7 @@ "Amenities": "Amenities", "Amusement park": "Amusement park", "An account with this email already exists. Please try signing in instead.": "An account with this email already exists. Please try signing in instead.", + "An error occurred ({errorId})": "An error occurred ({errorId})", "An error occurred trying to manage your preferences, please try again later.": "An error occurred trying to manage your preferences, please try again later.", "An error occurred when adding a credit card, please try again later.": "An error occurred when adding a credit card, please try again later.", "An error occurred when trying to update profile.": "An error occurred when trying to update profile.", diff --git a/apps/scandic-web/i18n/dictionaries/fi.json b/apps/scandic-web/i18n/dictionaries/fi.json index dd107b1d8..d43909a0f 100644 --- a/apps/scandic-web/i18n/dictionaries/fi.json +++ b/apps/scandic-web/i18n/dictionaries/fi.json @@ -57,6 +57,7 @@ "Amenities": "Mukavuudet", "Amusement park": "Huvipuisto", "An account with this email already exists. Please try signing in instead.": "Tällä sähköpostiosoitteella on jo olemassa tili. Joten käytä sitä kirjautuaksesi sisään.", + "An error occurred ({errorId})": "Tapahtui virhe ({errorId})", "An error occurred trying to manage your preferences, please try again later.": "Asetusten hallinnassa tapahtui virhe. Yritä myöhemmin uudelleen.", "An error occurred when adding a credit card, please try again later.": "Luottokorttia lisättäessä tapahtui virhe. Yritä myöhemmin uudelleen.", "An error occurred when trying to update profile.": "Profiilia päivitettäessä tapahtui virhe.", diff --git a/apps/scandic-web/i18n/dictionaries/no.json b/apps/scandic-web/i18n/dictionaries/no.json index 13663389b..9e5a97859 100644 --- a/apps/scandic-web/i18n/dictionaries/no.json +++ b/apps/scandic-web/i18n/dictionaries/no.json @@ -57,6 +57,7 @@ "Amenities": "Fasiliteter", "Amusement park": "Tivoli", "An account with this email already exists. Please try signing in instead.": "En konto med denne e-postadressen eksisterer allerede. Vennligst logg inn i stedet.", + "An error occurred ({errorId})": "Det oppstod en feil ({errorId})", "An error occurred trying to manage your preferences, please try again later.": "Det oppstod en feil under forsøket på å administrere innstillingene dine. Prøv igjen senere.", "An error occurred when adding a credit card, please try again later.": "Det oppstod en feil ved å legge til et kredittkort. Prøv igjen senere.", "An error occurred when trying to update profile.": "Det oppstod en feil under forsøk på å oppdatere profilen.", diff --git a/apps/scandic-web/i18n/dictionaries/sv.json b/apps/scandic-web/i18n/dictionaries/sv.json index b2de293ff..c910c5e30 100644 --- a/apps/scandic-web/i18n/dictionaries/sv.json +++ b/apps/scandic-web/i18n/dictionaries/sv.json @@ -57,6 +57,7 @@ "Amenities": "Bekvämligheter", "Amusement park": "Nöjespark", "An account with this email already exists. Please try signing in instead.": "Ett konto med denna mailadress finns redan. Vänligen försök logga in istället.", + "An error occurred ({errorId})": "Ett fel uppstod ({errorId})", "An error occurred trying to manage your preferences, please try again later.": "Ett fel uppstod när du försökte hantera dina inställningar, försök igen senare.", "An error occurred when adding a credit card, please try again later.": "Ett fel uppstod när ett kreditkort lades till, försök igen senare.", "An error occurred when trying to update profile.": "Ett fel uppstod när du försökte uppdatera profilen.", diff --git a/apps/scandic-web/lib/graphql/Query/DestinationOverviewPage/DestinationOverviewPage.graphql b/apps/scandic-web/lib/graphql/Query/DestinationOverviewPage/DestinationOverviewPage.graphql index 9fba6e74f..c0f15dd8d 100644 --- a/apps/scandic-web/lib/graphql/Query/DestinationOverviewPage/DestinationOverviewPage.graphql +++ b/apps/scandic-web/lib/graphql/Query/DestinationOverviewPage/DestinationOverviewPage.graphql @@ -4,7 +4,7 @@ query GetDestinationOverviewPage($locale: String!, $uid: String!) { destination_overview_page(uid: $uid, locale: $locale) { - title + heading url blocks { __typename diff --git a/apps/scandic-web/lib/trpc/memoizedRequests/index.ts b/apps/scandic-web/lib/trpc/memoizedRequests/index.ts index a6f84a573..e75e6336c 100644 --- a/apps/scandic-web/lib/trpc/memoizedRequests/index.ts +++ b/apps/scandic-web/lib/trpc/memoizedRequests/index.ts @@ -181,6 +181,7 @@ export const getDestinationOverviewPage = cache( return serverClient().contentstack.destinationOverviewPage.get() } ) + export const getDestinationsList = cache( async function getMemoizedDestinationsList() { return serverClient().contentstack.destinationOverviewPage.destinations.get() diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-da.json b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-da.json new file mode 100644 index 000000000..c4c58b10f --- /dev/null +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-da.json @@ -0,0 +1,1047 @@ +[ + { + "country": "Danmark", + "numberOfHotels": 29, + "cities": [ + { + "id": "a906b368-ecf6-4d9e-8796-8ad98c85bbdf", + "name": "Silkeborg", + "hotelIds": ["747"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/silkeborg" + }, + { + "id": "a845c2b3-e477-4c85-b375-205add95c9e5", + "name": "København", + "hotelIds": [ + "749", + "715", + "719", + "739", + "744", + "721", + "731", + "714", + "724", + "718", + "716", + "723", + "727" + ], + "hotelCount": 13, + "url": "/da/destinationer/danmark/kobenhavn" + }, + { + "id": "75a15b7e-5368-4b1d-9478-baf9404b478c", + "name": "Esbjerg", + "hotelIds": ["732"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/esbjerg" + }, + { + "id": "f3e43985-13ad-45e7-9997-844d06cb48d6", + "name": "Ringsted", + "hotelIds": ["733"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/ringsted" + }, + { + "id": "5dc8fe17-7588-48b3-b7a2-35c7736fdd53", + "name": "Frederikshavn", + "hotelIds": ["734"], + "hotelCount": 1 + }, + { + "id": "6a6ce6fc-78a5-4910-8d9b-88f4376fc0b6", + "name": "Herning", + "hotelIds": ["746"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/herning" + }, + { + "id": "44275ac0-578c-40b5-8970-8b7ea75e15e8", + "name": "Roskilde", + "hotelIds": ["745"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/roskilde" + }, + { + "id": "7c516f4b-a3c6-4a02-ad5b-ecf71b349a97", + "name": "Vejle", + "hotelIds": ["729"], + "hotelCount": 1 + }, + { + "id": "4fae11e6-9529-42b3-93f4-6bb293880a70", + "name": "Aalborg", + "hotelIds": ["720", "735"], + "hotelCount": 2, + "url": "/da/destinationer/danmark/aalborg" + }, + { + "id": "504c2772-43b6-414a-913b-40c05eccaddd", + "name": "Aarhus", + "hotelIds": ["726", "736", "738"], + "hotelCount": 3, + "url": "/da/destinationer/danmark/aarhus" + }, + { + "id": "a98d6ae7-5d36-4b24-95a7-5c0fc302ae83", + "name": "Sønderborg", + "hotelIds": ["728"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/sonderborg" + }, + { + "id": "81aefed1-2db9-4810-b780-1253c65e35ee", + "name": "Kolding", + "hotelIds": ["737"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/kolding" + }, + { + "id": "3cff390a-f436-4fe5-a88b-aa97db579755", + "name": "Horsens", + "hotelIds": ["713"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/horsens" + }, + { + "id": "4c4bb05e-1c45-4c3e-9503-4163f48bef5b", + "name": "Odense", + "hotelIds": ["748"], + "hotelCount": 1, + "url": "/da/destinationer/danmark/odense" + } + ] + }, + { + "country": "Finland", + "countryUrl": "/da/destinationer/finland", + "numberOfHotels": 52, + "cities": [ + { + "id": "38483bbb-a1fa-442b-9c6d-dca25afdcdfe", + "name": "Ikaalinen", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fccff360-9de9-445f-866a-48d540812b78", + "name": "Espoo", + "hotelIds": ["611"], + "hotelCount": 1, + "url": "/da/destinationer/finland/espoo" + }, + { + "id": "33ba3355-a688-47c2-aadf-efb3d233a7e0", + "name": "Jyväskylä", + "hotelIds": ["675", "676", "608"], + "hotelCount": 3, + "url": "/da/destinationer/finland/jyvaskyla" + }, + { + "id": "4a92a999-9c0a-4b1f-a70f-a5e0e25b55a5", + "name": "Kajaani", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ac31bc09-bcad-437c-b408-11f8ad460cfb", + "name": "Vantaa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "6d54cb54-30f2-48d4-860f-7217e83d47a9", + "name": "Hyvinkää", + "hotelIds": ["668"], + "hotelCount": 1, + "url": "/da/destinationer/finland/hyvinkaa" + }, + { + "id": "59c26c47-1f4c-44a6-8ab3-c5aa6222cf31", + "name": "Imatra", + "hotelIds": ["696"], + "hotelCount": 1, + "url": "/da/destinationer/finland/imatra" + }, + { + "id": "0de4cf0d-703b-4abd-a69a-690307339cd0", + "name": "Joensuu", + "hotelIds": ["688"], + "hotelCount": 1, + "url": "/da/destinationer/finland/joensuu" + }, + { + "id": "9f859093-d5c5-47e5-958b-62a8e5f5109b", + "name": "Nokia", + "hotelIds": ["679"], + "hotelCount": 1, + "url": "/da/destinationer/finland/nokia" + }, + { + "id": "e68e2ac2-b2b9-48c9-aa48-7c5b047cafb3", + "name": "Kouvola", + "hotelIds": ["672"], + "hotelCount": 1, + "url": "/da/destinationer/finland/kouvola" + }, + { + "id": "d5749fd0-fa3e-4bb9-8e0e-17a7209a2e84", + "name": "Seinäjoki", + "hotelIds": ["687"], + "hotelCount": 1, + "url": "/da/destinationer/finland/seinajoki" + }, + { + "id": "b64d8a50-9b46-49ad-baa3-464a1f0fc49f", + "name": "Lappeenranta", + "hotelIds": ["615"], + "hotelCount": 1, + "url": "/da/destinationer/finland/lappeenranta" + }, + { + "id": "d4b63ca6-96d4-4971-b88a-77281944c9fb", + "name": "Pori", + "hotelIds": ["628"], + "hotelCount": 1, + "url": "/da/destinationer/finland/pori" + }, + { + "id": "2b7f63d4-a232-4846-9dcc-c4aa3b3ce71f", + "name": "Helsinki", + "hotelIds": [ + "638", + "622", + "665", + "666", + "661", + "603", + "662", + "663", + "605", + "660", + "601", + "634", + "697", + "639", + "698", + "643" + ], + "hotelCount": 16, + "url": "/da/destinationer/finland/helsinki" + }, + { + "id": "09a332fa-fe43-4c82-be6d-302a7aa0c140", + "name": "Riihimäki", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "f42dc867-06fa-4ed1-9a7c-00df6ad591fe", + "name": "Hämeenlinna", + "hotelIds": ["669", "670"], + "hotelCount": 2, + "url": "/da/destinationer/finland/hameenlinna" + }, + { + "id": "e36d8c5a-8275-4487-97a4-2eae6be8fe42", + "name": "Forssa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ae5af1f5-a971-4f1c-88d2-0f941832b7ea", + "name": "Rauma", + "hotelIds": ["684"], + "hotelCount": 1, + "url": "/da/destinationer/finland/rauma" + }, + { + "id": "c35a8bcd-e2b7-4e7c-bb33-f4b103542363", + "name": "Siuntio", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "51920988-eed2-4c89-83fa-0960c9bb7a79", + "name": "Mikkeli", + "hotelIds": ["674"], + "hotelCount": 1, + "url": "/da/destinationer/finland/mikkeli" + }, + { + "id": "2682392b-e3cf-4b21-b3ef-a948494ed41d", + "name": "Kotka", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fd66bcc0-98c6-49a7-b95a-2af905e3263e", + "name": "Oulu", + "hotelIds": ["692", "624"], + "hotelCount": 2, + "url": "/da/destinationer/finland/oulu" + }, + { + "id": "5915950f-e55e-4c78-bb24-84495332ce35", + "name": "Vaasa", + "hotelIds": ["686", "637"], + "hotelCount": 2, + "url": "/da/destinationer/finland/vaasa" + }, + { + "id": "d2081c15-865e-4c1d-8c93-6d4bdedc8f48", + "name": "Ruka Kuusamo", + "hotelIds": ["691"], + "hotelCount": 1, + "url": "/da/destinationer/finland/ruka kuusamo" + }, + { + "id": "f3fd2e15-84ab-40e5-aabd-3d5bd04f36f2", + "name": "Rovaniemi", + "hotelIds": ["695", "694", "626"], + "hotelCount": 3, + "url": "/da/destinationer/finland/rovaniemi" + }, + { + "id": "7bc37280-2dbd-4b80-aec0-9d06968f1318", + "name": "Lahti", + "hotelIds": ["667"], + "hotelCount": 1, + "url": "/da/destinationer/finland/lahti" + }, + { + "id": "8c5c489b-b559-4e73-91a1-a4bc2eeb8b47", + "name": "Salo", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c317ab90-3416-479c-a87f-839e5a482ddf", + "name": "Järvenpää", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "9233a45a-15e7-480e-9579-09dc9209bdf6", + "name": "Kuopio", + "hotelIds": ["689", "609"], + "hotelCount": 2, + "url": "/da/destinationer/finland/kuopio" + }, + { + "id": "2a69a227-3c37-458b-82cc-fd50b16a93b8", + "name": "Tampere", + "hotelIds": ["607", "677", "617", "678", "635"], + "hotelCount": 5, + "url": "/da/destinationer/finland/tampere" + }, + { + "id": "afe01b68-a51f-4303-b86e-b84334ff09de", + "name": "Turku", + "hotelIds": ["640", "619", "629"], + "hotelCount": 3, + "url": "/da/destinationer/finland/turku" + }, + { + "id": "f78ee1ca-7567-4ff7-b346-04293314ad4b", + "name": "Kemi", + "hotelIds": ["693"], + "hotelCount": 1, + "url": "/da/destinationer/finland/kemi" + } + ] + }, + { + "country": "Norge", + "numberOfHotels": 83, + "cities": [ + { + "id": "32b14e04-9d9e-4cfd-864c-49cf6db2ba93", + "name": "Ålesund", + "hotelIds": ["368"], + "hotelCount": 1, + "url": "/da/destinationer/norge/alesund" + }, + { + "id": "23bccd2d-ebfe-459a-9b7d-cadad09d6221", + "name": "Drammen", + "hotelIds": ["786"], + "hotelCount": 1, + "url": "/da/destinationer/norge/drammen" + }, + { + "id": "4736b77d-2466-43b5-8630-54e57143ed66", + "name": "Fredrikstad", + "hotelIds": ["360"], + "hotelCount": 1, + "url": "/da/destinationer/norge/fredrikstad" + }, + { + "id": "124e1cca-91cb-4355-a8d6-afb41d70f8b1", + "name": "Mo i Rana", + "hotelIds": ["367"], + "hotelCount": 1, + "url": "/da/destinationer/norge/mo i rana" + }, + { + "id": "3b409f3b-796d-44f3-bd57-ea28100aa1e1", + "name": "Narvik", + "hotelIds": ["313"], + "hotelCount": 1, + "url": "/da/destinationer/norge/narvik" + }, + { + "id": "87b3e1f3-d01a-4375-beb0-8815bfe7267d", + "name": "Mysen", + "hotelIds": ["388"], + "hotelCount": 1, + "url": "/da/destinationer/norge/mysen" + }, + { + "id": "4a5b1a78-d296-43f0-83f2-e33c545857c4", + "name": "Elverum", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "b99b4926-4792-4535-b8e0-cefd7c23cec8", + "name": "Harstad", + "hotelIds": ["363"], + "hotelCount": 1, + "url": "/da/destinationer/norge/harstad" + }, + { + "id": "3d8de99c-2ea8-4b1b-b8a2-2d035a0d1586", + "name": "Karasjok", + "hotelIds": ["305"], + "hotelCount": 1, + "url": "/da/destinationer/norge/karasjok" + }, + { + "id": "85cf723a-be8b-4b3c-b22b-ec7e119f1f87", + "name": "Sandefjord", + "hotelIds": ["329"], + "hotelCount": 1, + "url": "/da/destinationer/norge/sandefjord" + }, + { + "id": "f2136df1-d0ca-42bf-ada7-26f8399ef3f4", + "name": "Tjøme", + "hotelIds": ["330"], + "hotelCount": 1 + }, + { + "id": "76c2d8b1-61d4-4508-b54c-4992c1c3d5d6", + "name": "Tromsø", + "hotelIds": ["362", "310", "796"], + "hotelCount": 3, + "url": "/da/destinationer/norge/tromso" + }, + { + "id": "647cb4d0-3ef3-4de2-ad49-160bc40cd10b", + "name": "Førde", + "hotelIds": ["321"], + "hotelCount": 1, + "url": "/da/destinationer/norge/forde" + }, + { + "id": "58d796e9-040d-49d5-862f-ee1625f4bb3f", + "name": "Lillehammer", + "hotelIds": ["789", "790", "343"], + "hotelCount": 3, + "url": "/da/destinationer/norge/lillehammer" + }, + { + "id": "ec27c5fa-9aec-4f43-b2f1-ba8a05d5ca49", + "name": "Oslo", + "hotelIds": [ + "340", + "339", + "751", + "766", + "776", + "390", + "342", + "337", + "333", + "391", + "332", + "784", + "773", + "336", + "760", + "759", + "765", + "334", + "774" + ], + "hotelCount": 19, + "url": "/da/destinationer/norge/oslo" + }, + { + "id": "e3c4cba6-0838-43ee-b23e-1d98ed39cf3b", + "name": "Sandnessjøen", + "hotelIds": ["365"], + "hotelCount": 1, + "url": "/da/destinationer/norge/sandnessjoen" + }, + { + "id": "40c6c796-50dc-470b-a25f-84ab1dd3e32f", + "name": "Alta", + "hotelIds": ["301"], + "hotelCount": 1, + "url": "/da/destinationer/norge/alta" + }, + { + "id": "cd5e4606-d115-4382-bb12-25a9a7f7e230", + "name": "Bodø", + "hotelIds": ["312", "314"], + "hotelCount": 2, + "url": "/da/destinationer/norge/bodo" + }, + { + "id": "eed82c19-051f-4cee-bb16-80434d398f0e", + "name": "Oppdal", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "049be5eb-e488-4b1e-b060-1cb41503d118", + "name": "Fauske", + "hotelIds": ["374"], + "hotelCount": 1, + "url": "/da/destinationer/norge/fauske" + }, + { + "id": "7faffcc8-6b6c-45b4-abf3-700621d32f16", + "name": "Fagernes", + "hotelIds": ["787"], + "hotelCount": 1, + "url": "/da/destinationer/norge/fagernes" + }, + { + "id": "2cb66d77-93cb-44a2-a67d-b9024dca5f8f", + "name": "Haugesund", + "hotelIds": ["772"], + "hotelCount": 1, + "url": "/da/destinationer/norge/haugesund" + }, + { + "id": "f8e6ed30-92e5-4693-8f86-847247c5eaa9", + "name": "Honningsvåg", + "hotelIds": ["304", "308", "303"], + "hotelCount": 3, + "url": "/da/destinationer/norge/honningsvag" + }, + { + "id": "9fad38e0-a834-4ef3-92b0-7807cf70c774", + "name": "Kristiansand", + "hotelIds": ["788", "780"], + "hotelCount": 2, + "url": "/da/destinationer/norge/kristiansand" + }, + { + "id": "33c32811-4f33-47c7-a743-a7e14a7e4002", + "name": "Lofoten", + "hotelIds": ["791", "387", "311"], + "hotelCount": 3, + "url": "/da/destinationer/norge/lofoten" + }, + { + "id": "7b95287a-3b89-467f-929e-f543c151b222", + "name": "Grimstad", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "dac1e18e-00bc-4bfa-82ac-76ebc95e154f", + "name": "Stavanger", + "hotelIds": ["795", "325", "781", "775", "323"], + "hotelCount": 5, + "url": "/da/destinationer/norge/stavanger" + }, + { + "id": "130a7705-3ef8-4d7d-bd88-7108227777b4", + "name": "Hønefoss", + "hotelIds": ["389"], + "hotelCount": 1, + "url": "/da/destinationer/norge/honefoss" + }, + { + "id": "7ff1e7db-c0d8-4a1a-ae41-133804625862", + "name": "Sarpsborg", + "hotelIds": ["345"], + "hotelCount": 1, + "url": "/da/destinationer/norge/sarpsborg" + }, + { + "id": "ced49abb-1ca9-4ed1-a4fd-f93a8ce8f2b3", + "name": "Bergen", + "hotelIds": ["785", "322", "770", "757", "778", "782", "326", "779"], + "hotelCount": 8, + "url": "/da/destinationer/norge/bergen" + }, + { + "id": "46e5d77a-7cc5-428c-84dd-e49735808782", + "name": "Molde", + "hotelIds": ["793", "317"], + "hotelCount": 2, + "url": "/da/destinationer/norge/molde" + }, + { + "id": "273b0073-631e-410e-93b4-77b19f9ff3c3", + "name": "Trondheim", + "hotelIds": ["320", "764", "315", "316", "771", "380"], + "hotelCount": 6, + "url": "/da/destinationer/norge/trondheim" + }, + { + "id": "1145e98b-2289-4459-8a8a-563f9d46f135", + "name": "Hammerfest", + "hotelIds": ["307"], + "hotelCount": 1, + "url": "/da/destinationer/norge/hammerfest" + }, + { + "id": "d2ce98f8-9220-47e7-a6fe-84ac3546a52d", + "name": "Kirkenes", + "hotelIds": ["306"], + "hotelCount": 1, + "url": "/da/destinationer/norge/kirkenes" + }, + { + "id": "d90c0b4a-c046-4951-95a5-a64a4f3a6f30", + "name": "Kristiansund", + "hotelIds": ["319"], + "hotelCount": 1, + "url": "/da/destinationer/norge/kristiansund" + }, + { + "id": "80ad8f51-9ab5-4de4-8922-2efd8fd2e4ad", + "name": "Namsos", + "hotelIds": ["318"], + "hotelCount": 1, + "url": "/da/destinationer/norge/namsos" + }, + { + "id": "d0c9f8c7-6cf6-49aa-8a1e-405ef3f453cd", + "name": "Nordfjordeid", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7ba94bd4-8923-4c11-9c9e-ad539fc5d9fa", + "name": "Vadsø", + "hotelIds": ["302"], + "hotelCount": 1, + "url": "/da/destinationer/norge/vadso" + }, + { + "id": "895648c8-7fa4-4deb-bc91-b21292f86cbc", + "name": "Sortland", + "hotelIds": ["359"], + "hotelCount": 1, + "url": "/da/destinationer/norge/sortland" + }, + { + "id": "59d334a1-41ef-4aa5-bb35-be951e17e409", + "name": "Hamar", + "hotelIds": ["344", "756"], + "hotelCount": 2, + "url": "/da/destinationer/norge/hamar" + }, + { + "id": "2854a449-6760-4a28-972d-8fd153e06555", + "name": "Voss", + "hotelIds": ["792"], + "hotelCount": 1, + "url": "/da/destinationer/norge/voss" + } + ] + }, + { + "country": "Polen", + "numberOfHotels": 2, + "cities": [ + { + "id": "1d4f8a2e-9d4e-4c56-8f32-09f11f9709b1", + "name": "Wroclaw", + "hotelIds": ["442"], + "hotelCount": 1, + "url": "/da/destinationer/polen/wroclaw" + }, + { + "id": "2f33f4f2-a6b4-4d7c-9055-8bae8cc4c771", + "name": "Gdansk", + "hotelIds": ["441"], + "hotelCount": 1, + "url": "/da/destinationer/polen/gdansk" + } + ] + }, + { + "country": "Sverige", + "numberOfHotels": 89, + "cities": [ + { + "id": "a89c239a-651f-4289-b8b9-81d4b1c0861d", + "name": "Bollnäs", + "hotelIds": ["873"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/bollnas" + }, + { + "id": "dafa384c-6262-4f0d-94f8-bd745279ca9d", + "name": "Norrköping", + "hotelIds": ["827", "852"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/norrkoping" + }, + { + "id": "8a89ef25-c073-4f92-98e9-6cbf6b376447", + "name": "Borlänge", + "hotelIds": ["824"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/borlange" + }, + { + "id": "6ce90724-4fd1-4095-b0ed-821c03ba6207", + "name": "Kalmar", + "hotelIds": ["847"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/kalmar" + }, + { + "id": "969d5c79-5263-465b-af94-2ab7b1c0b985", + "name": "Halmstad", + "hotelIds": ["839"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/halmstad" + }, + { + "id": "1d23c970-147a-4077-9403-7facecfdb7e8", + "name": "Helsingborg", + "hotelIds": ["217", "855"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/helsingborg" + }, + { + "id": "76fc5cab-b32d-4522-abd6-9e178bb251d1", + "name": "Jönköping", + "hotelIds": ["846", "856"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/jonkoping" + }, + { + "id": "86146840-41ca-4275-a4b3-4aa95b7a05ef", + "name": "Strömstad", + "hotelIds": ["888"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/stromstad" + }, + { + "id": "40d14e22-5378-4fc9-a770-7b74beb24a4e", + "name": "Arvika", + "hotelIds": ["845"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/arvika" + }, + { + "id": "75a73ca4-c51b-4eb2-a028-24279c78eb56", + "name": "Gävle", + "hotelIds": ["883", "871"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/gavle" + }, + { + "id": "c9adc640-1ff9-46fd-9eb7-335e124df6b7", + "name": "Kiruna", + "hotelIds": ["218"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/kiruna" + }, + { + "id": "49449db0-e483-4f07-ab3c-aa4ac0c2fd9e", + "name": "Malmø", + "hotelIds": ["881", "874", "818", "849", "878", "864"], + "hotelCount": 6, + "url": "/da/destinationer/sverige/malmo" + }, + { + "id": "cb7c529c-f5a2-4f57-af2a-a4398fde6704", + "name": "Västerås", + "hotelIds": ["866"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/vasteras" + }, + { + "id": "2353ff13-457f-48f2-b7c2-772cbf137ccc", + "name": "Nyköping", + "hotelIds": ["829"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/nykoping" + }, + { + "id": "3b231ad9-7d0f-4dd2-8004-beaad494fdd3", + "name": "Karlstad", + "hotelIds": ["848", "876", "832"], + "hotelCount": 3, + "url": "/da/destinationer/sverige/karlstad" + }, + { + "id": "41616a4b-eb93-4215-b920-ea26f2e347bf", + "name": "Linkøping", + "hotelIds": ["887", "872", "863"], + "hotelCount": 3, + "url": "/da/destinationer/sverige/linkoping" + }, + { + "id": "d2a28d6f-3d82-415b-be65-93cfa16a36c7", + "name": "Lund", + "hotelIds": ["858"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/lund" + }, + { + "id": "2b3c909d-2eba-4ca2-86d1-b9ba12805058", + "name": "Borås", + "hotelIds": ["840"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/boras" + }, + { + "id": "a97e0d9e-fb54-4ac9-b71b-52728de8b839", + "name": "Falun", + "hotelIds": ["844"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/falun" + }, + { + "id": "2c5b454f-b8b4-4d3c-80c1-fc3726feee16", + "name": "Luleå", + "hotelIds": ["868"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/lulea" + }, + { + "id": "8eb4ede8-3de8-49d5-87af-6fb0362cde9e", + "name": "Gøteborg", + "hotelIds": [ + "867", + "801", + "806", + "851", + "841", + "816", + "216", + "817", + "215" + ], + "hotelCount": 9, + "url": "/da/destinationer/sverige/goteborg" + }, + { + "id": "12721002-6269-4eaa-b625-02741b55b111", + "name": "Skövde", + "hotelIds": ["889"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/skovde" + }, + { + "id": "08761bd6-233c-4f88-922a-88cd3fb0dcd4", + "name": "Örebro", + "hotelIds": ["219", "869", "836"], + "hotelCount": 3, + "url": "/da/destinationer/sverige/orebro" + }, + { + "id": "e3749235-cd7a-4791-85fe-a9d5cf2cf759", + "name": "Sundsvall", + "hotelIds": ["853", "834"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/sundsvall" + }, + { + "id": "dc865a94-4b99-44f7-8ad6-9015774d0ae8", + "name": "Umeå", + "hotelIds": ["870", "882"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/umea" + }, + { + "id": "fcc62ee8-d451-462b-a37c-202155a72607", + "name": "Uppsala", + "hotelIds": ["861", "885"], + "hotelCount": 2, + "url": "/da/destinationer/sverige/uppsala" + }, + { + "id": "27eb9d85-91dc-41a1-af42-ba2bc66dc7ec", + "name": "Karlskrona", + "hotelIds": ["843"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/karlskrona" + }, + { + "id": "9ea10699-2168-4c9c-8bc4-adb945344a49", + "name": "Østersund", + "hotelIds": ["859"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/ostersund" + }, + { + "id": "28db509e-fad0-47bc-a88b-3ee7977e5631", + "name": "testtraining", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "81e32ed6-727f-48e3-9235-7d2d2cd1d14f", + "name": "Skellefteå", + "hotelIds": ["823"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/skelleftea" + }, + { + "id": "19088b11-cc40-4639-afa3-ed8a2bc35586", + "name": "Södertälje", + "hotelIds": ["854"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/sodertalje" + }, + { + "id": "5a49c811-1f94-454e-ac42-ec92d6673bdc", + "name": "Värnamo", + "hotelIds": ["842"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/varnamo" + }, + { + "id": "32dc483a-55c6-4f43-b380-4248b9331b99", + "name": "Gällivare", + "hotelIds": ["891"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/gallivare" + }, + { + "id": "0001a677-d50b-454e-aa08-f7334c5ee9dd", + "name": "Örnsköldsvik", + "hotelIds": ["828"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/ornskoldsvik" + }, + { + "id": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", + "name": "Stockholm", + "hotelIds": [ + "879", + "890", + "830", + "220", + "810", + "811", + "821", + "222", + "809", + "865", + "803", + "213", + "808", + "857", + "812", + "211", + "833", + "813", + "214", + "814", + "886", + "838", + "875", + "826", + "802", + "223", + "805" + ], + "hotelCount": 27, + "url": "/da/destinationer/sverige/stockholm" + }, + { + "id": "d1b1a499-6f3d-4527-88d4-005cef559ed6", + "name": "Trollhättan", + "hotelIds": ["850"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/trollhattan" + }, + { + "id": "7c29a63c-e3b1-4f53-a1a0-847a3f28f1de", + "name": "Växjö", + "hotelIds": ["860"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/vaxjo" + }, + { + "id": "aa290a3d-32de-4257-b7d9-7af8e5d8110e", + "name": "Visby", + "hotelIds": ["877"], + "hotelCount": 1, + "url": "/da/destinationer/sverige/visby" + } + ] + }, + { + "country": "Tyskland", + "numberOfHotels": 7, + "cities": [ + { + "id": "1c911bd9-b96f-40cf-9701-64598d6088b4", + "name": "Hamborg", + "hotelIds": ["550"], + "hotelCount": 1, + "url": "/da/destinationer/tyskland/hamborg" + }, + { + "id": "b706ebcd-5634-4a99-b97b-4de0ad680b11", + "name": "Frankfurt", + "hotelIds": ["555", "556"], + "hotelCount": 2, + "url": "/da/destinationer/tyskland/frankfurt" + }, + { + "id": "9f30e524-a179-4397-b929-4b6824aee7fa", + "name": "München", + "hotelIds": ["557"], + "hotelCount": 1, + "url": "/da/destinationer/tyskland/munchen" + }, + { + "id": "f0509318-ef8e-4513-af7a-9905cb7c4258", + "name": "Berlin", + "hotelIds": ["551", "554"], + "hotelCount": 2, + "url": "/da/destinationer/tyskland/berlin" + }, + { + "id": "7dcf1e04-ee3d-47ff-b5c3-387c5345ed67", + "name": "Nürnberg", + "hotelIds": ["558"], + "hotelCount": 1, + "url": "/da/destinationer/tyskland/nurnberg" + }, + { + "id": "6ac6a80e-1239-40b8-8abd-bea05b758ab5", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "bfe82dea-083a-44f6-8e8e-a6dd789c93ba", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + } + ] + } +] diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-de.json b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-de.json new file mode 100644 index 000000000..d929f95ae --- /dev/null +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-de.json @@ -0,0 +1,1046 @@ +[ + { + "country": "Dänemark", + "numberOfHotels": 29, + "cities": [ + { + "id": "a906b368-ecf6-4d9e-8796-8ad98c85bbdf", + "name": "Silkeborg", + "hotelIds": ["747"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/silkeborg" + }, + { + "id": "a845c2b3-e477-4c85-b375-205add95c9e5", + "name": "Kopenhagen", + "hotelIds": [ + "749", + "715", + "719", + "739", + "744", + "721", + "731", + "714", + "724", + "718", + "716", + "723", + "727" + ], + "hotelCount": 13, + "url": "/de/reiseziele/dänemark/kopenhagen" + }, + { + "id": "75a15b7e-5368-4b1d-9478-baf9404b478c", + "name": "Esbjerg", + "hotelIds": ["732"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/esbjerg" + }, + { + "id": "f3e43985-13ad-45e7-9997-844d06cb48d6", + "name": "Ringsted", + "hotelIds": ["733"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/ringsted" + }, + { + "id": "5dc8fe17-7588-48b3-b7a2-35c7736fdd53", + "name": "Frederikshavn", + "hotelIds": ["734"], + "hotelCount": 1 + }, + { + "id": "6a6ce6fc-78a5-4910-8d9b-88f4376fc0b6", + "name": "Herning", + "hotelIds": ["746"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/herning" + }, + { + "id": "44275ac0-578c-40b5-8970-8b7ea75e15e8", + "name": "Roskilde", + "hotelIds": ["745"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/roskilde" + }, + { + "id": "7c516f4b-a3c6-4a02-ad5b-ecf71b349a97", + "name": "Vejle", + "hotelIds": ["729"], + "hotelCount": 1 + }, + { + "id": "4fae11e6-9529-42b3-93f4-6bb293880a70", + "name": "Aalborg", + "hotelIds": ["720", "735"], + "hotelCount": 2, + "url": "/de/reiseziele/dänemark/aalborg" + }, + { + "id": "504c2772-43b6-414a-913b-40c05eccaddd", + "name": "Aarhus", + "hotelIds": ["726", "736", "738"], + "hotelCount": 3, + "url": "/de/reiseziele/dänemark/aarhus" + }, + { + "id": "a98d6ae7-5d36-4b24-95a7-5c0fc302ae83", + "name": "Sonderburg", + "hotelIds": ["728"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/sonderburg" + }, + { + "id": "81aefed1-2db9-4810-b780-1253c65e35ee", + "name": "Kolding", + "hotelIds": ["737"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/kolding" + }, + { + "id": "3cff390a-f436-4fe5-a88b-aa97db579755", + "name": "Horsens", + "hotelIds": ["713"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/horsens" + }, + { + "id": "4c4bb05e-1c45-4c3e-9503-4163f48bef5b", + "name": "Odense", + "hotelIds": ["748"], + "hotelCount": 1, + "url": "/de/reiseziele/dänemark/odense" + } + ] + }, + { + "country": "Deutschland", + "numberOfHotels": 7, + "cities": [ + { + "id": "1c911bd9-b96f-40cf-9701-64598d6088b4", + "name": "Hamburg", + "hotelIds": ["550"], + "hotelCount": 1, + "url": "/de/reiseziele/deutschland/hamburg" + }, + { + "id": "b706ebcd-5634-4a99-b97b-4de0ad680b11", + "name": "Frankfurt", + "hotelIds": ["555", "556"], + "hotelCount": 2, + "url": "/de/reiseziele/deutschland/frankfurt" + }, + { + "id": "9f30e524-a179-4397-b929-4b6824aee7fa", + "name": "München", + "hotelIds": ["557"], + "hotelCount": 1, + "url": "/de/reiseziele/deutschland/munchen" + }, + { + "id": "f0509318-ef8e-4513-af7a-9905cb7c4258", + "name": "Berlin", + "hotelIds": ["551", "554"], + "hotelCount": 2, + "url": "/de/reiseziele/deutschland/berlin" + }, + { + "id": "7dcf1e04-ee3d-47ff-b5c3-387c5345ed67", + "name": "Nürnberg", + "hotelIds": ["558"], + "hotelCount": 1, + "url": "/de/reiseziele/deutschland/nurnberg" + }, + { + "id": "915ee569-b223-44b0-9a13-6cc73ab9ac65", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "bfe82dea-083a-44f6-8e8e-a6dd789c93ba", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + } + ] + }, + { + "country": "Finnland", + "numberOfHotels": 52, + "cities": [ + { + "id": "38483bbb-a1fa-442b-9c6d-dca25afdcdfe", + "name": "Ikaalinen", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fccff360-9de9-445f-866a-48d540812b78", + "name": "Espoo", + "hotelIds": ["611"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/espoo" + }, + { + "id": "33ba3355-a688-47c2-aadf-efb3d233a7e0", + "name": "Jyväskylä", + "hotelIds": ["675", "676", "608"], + "hotelCount": 3, + "url": "/de/reiseziele/finnland/jyvaskyla" + }, + { + "id": "4a92a999-9c0a-4b1f-a70f-a5e0e25b55a5", + "name": "Kajaani", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ac31bc09-bcad-437c-b408-11f8ad460cfb", + "name": "Vantaa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "59c26c47-1f4c-44a6-8ab3-c5aa6222cf31", + "name": "Imatra", + "hotelIds": ["696"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/imatra" + }, + { + "id": "0de4cf0d-703b-4abd-a69a-690307339cd0", + "name": "Joensuu", + "hotelIds": ["688"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/joensuu" + }, + { + "id": "6d54cb54-30f2-48d4-860f-7217e83d47a9", + "name": "Hyvinkää", + "hotelIds": ["668"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/hyvinkaa" + }, + { + "id": "9f859093-d5c5-47e5-958b-62a8e5f5109b", + "name": "Nokia", + "hotelIds": ["679"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/nokia" + }, + { + "id": "d5749fd0-fa3e-4bb9-8e0e-17a7209a2e84", + "name": "Seinäjoki", + "hotelIds": ["687"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/seinajoki" + }, + { + "id": "b64d8a50-9b46-49ad-baa3-464a1f0fc49f", + "name": "Lappeenranta", + "hotelIds": ["615"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/lappeenranta" + }, + { + "id": "d4b63ca6-96d4-4971-b88a-77281944c9fb", + "name": "Pori", + "hotelIds": ["628"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/pori" + }, + { + "id": "e68e2ac2-b2b9-48c9-aa48-7c5b047cafb3", + "name": "Kouvola", + "hotelIds": ["672"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/kouvola" + }, + { + "id": "2b7f63d4-a232-4846-9dcc-c4aa3b3ce71f", + "name": "Helsinki", + "hotelIds": [ + "638", + "622", + "665", + "666", + "661", + "603", + "662", + "663", + "605", + "660", + "601", + "634", + "697", + "639", + "698", + "643" + ], + "hotelCount": 16, + "url": "/de/reiseziele/finnland/helsinki" + }, + { + "id": "09a332fa-fe43-4c82-be6d-302a7aa0c140", + "name": "Riihimäki", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "f42dc867-06fa-4ed1-9a7c-00df6ad591fe", + "name": "Hämeenlinna", + "hotelIds": ["669", "670"], + "hotelCount": 2, + "url": "/de/reiseziele/finnland/hameenlinna" + }, + { + "id": "2682392b-e3cf-4b21-b3ef-a948494ed41d", + "name": "Kotka", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "51920988-eed2-4c89-83fa-0960c9bb7a79", + "name": "Mikkeli", + "hotelIds": ["674"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/mikkeli" + }, + { + "id": "ae5af1f5-a971-4f1c-88d2-0f941832b7ea", + "name": "Rauma", + "hotelIds": ["684"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/rauma" + }, + { + "id": "e36d8c5a-8275-4487-97a4-2eae6be8fe42", + "name": "Forssa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c35a8bcd-e2b7-4e7c-bb33-f4b103542363", + "name": "Siuntio", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fd66bcc0-98c6-49a7-b95a-2af905e3263e", + "name": "Oulu", + "hotelIds": ["692", "624"], + "hotelCount": 2, + "url": "/de/reiseziele/finnland/oulu" + }, + { + "id": "5915950f-e55e-4c78-bb24-84495332ce35", + "name": "Vaasa", + "hotelIds": ["686", "637"], + "hotelCount": 2, + "url": "/de/reiseziele/finnland/vaasa" + }, + { + "id": "d2081c15-865e-4c1d-8c93-6d4bdedc8f48", + "name": "Ruka Kuusamo", + "hotelIds": ["691"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/ruka kuusamo" + }, + { + "id": "f3fd2e15-84ab-40e5-aabd-3d5bd04f36f2", + "name": "Rovaniemi", + "hotelIds": ["695", "694", "626"], + "hotelCount": 3, + "url": "/de/reiseziele/finnland/rovaniemi" + }, + { + "id": "8c5c489b-b559-4e73-91a1-a4bc2eeb8b47", + "name": "Salo", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c317ab90-3416-479c-a87f-839e5a482ddf", + "name": "Järvenpää", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "9233a45a-15e7-480e-9579-09dc9209bdf6", + "name": "Kuopio", + "hotelIds": ["689", "609"], + "hotelCount": 2, + "url": "/de/reiseziele/finnland/kuopio" + }, + { + "id": "7bc37280-2dbd-4b80-aec0-9d06968f1318", + "name": "Lahti", + "hotelIds": ["667"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/lahti" + }, + { + "id": "2a69a227-3c37-458b-82cc-fd50b16a93b8", + "name": "Tampere", + "hotelIds": ["607", "677", "617", "678", "635"], + "hotelCount": 5, + "url": "/de/reiseziele/finnland/tampere" + }, + { + "id": "afe01b68-a51f-4303-b86e-b84334ff09de", + "name": "Turku", + "hotelIds": ["640", "619", "629"], + "hotelCount": 3, + "url": "/de/reiseziele/finnland/turku" + }, + { + "id": "f78ee1ca-7567-4ff7-b346-04293314ad4b", + "name": "Kemi", + "hotelIds": ["693"], + "hotelCount": 1, + "url": "/de/reiseziele/finnland/kemi" + } + ] + }, + { + "country": "Norwegen", + "numberOfHotels": 83, + "cities": [ + { + "id": "32b14e04-9d9e-4cfd-864c-49cf6db2ba93", + "name": "Ålesund", + "hotelIds": ["368"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/alesund" + }, + { + "id": "23bccd2d-ebfe-459a-9b7d-cadad09d6221", + "name": "Drammen", + "hotelIds": ["786"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/drammen" + }, + { + "id": "4736b77d-2466-43b5-8630-54e57143ed66", + "name": "Fredrikstad", + "hotelIds": ["360"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/fredrikstad" + }, + { + "id": "124e1cca-91cb-4355-a8d6-afb41d70f8b1", + "name": "Mo i Rana", + "hotelIds": ["367"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/mo i rana" + }, + { + "id": "3b409f3b-796d-44f3-bd57-ea28100aa1e1", + "name": "Narvik", + "hotelIds": ["313"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/narvik" + }, + { + "id": "87b3e1f3-d01a-4375-beb0-8815bfe7267d", + "name": "Mysen", + "hotelIds": ["388"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/mysen" + }, + { + "id": "4a5b1a78-d296-43f0-83f2-e33c545857c4", + "name": "Elverum", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "b99b4926-4792-4535-b8e0-cefd7c23cec8", + "name": "Harstad", + "hotelIds": ["363"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/harstad" + }, + { + "id": "3d8de99c-2ea8-4b1b-b8a2-2d035a0d1586", + "name": "Karasjok", + "hotelIds": ["305"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/karasjok" + }, + { + "id": "85cf723a-be8b-4b3c-b22b-ec7e119f1f87", + "name": "Sandefjord", + "hotelIds": ["329"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/sandefjord" + }, + { + "id": "f2136df1-d0ca-42bf-ada7-26f8399ef3f4", + "name": "Tjome", + "hotelIds": ["330"], + "hotelCount": 1 + }, + { + "id": "76c2d8b1-61d4-4508-b54c-4992c1c3d5d6", + "name": "Tromso", + "hotelIds": ["362", "310", "796"], + "hotelCount": 3, + "url": "/de/reiseziele/norwegen/tromso" + }, + { + "id": "647cb4d0-3ef3-4de2-ad49-160bc40cd10b", + "name": "Forde", + "hotelIds": ["321"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/forde" + }, + { + "id": "58d796e9-040d-49d5-862f-ee1625f4bb3f", + "name": "Lillehammer", + "hotelIds": ["789", "790", "343"], + "hotelCount": 3, + "url": "/de/reiseziele/norwegen/lillehammer" + }, + { + "id": "ec27c5fa-9aec-4f43-b2f1-ba8a05d5ca49", + "name": "Oslo", + "hotelIds": [ + "340", + "339", + "751", + "766", + "776", + "390", + "342", + "337", + "333", + "391", + "332", + "784", + "773", + "336", + "760", + "759", + "765", + "334", + "774" + ], + "hotelCount": 19, + "url": "/de/reiseziele/norwegen/oslo" + }, + { + "id": "e3c4cba6-0838-43ee-b23e-1d98ed39cf3b", + "name": "Sandnessjöen", + "hotelIds": ["365"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/sandnessjoen" + }, + { + "id": "40c6c796-50dc-470b-a25f-84ab1dd3e32f", + "name": "Alta", + "hotelIds": ["301"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/alta" + }, + { + "id": "cd5e4606-d115-4382-bb12-25a9a7f7e230", + "name": "Bodø", + "hotelIds": ["312", "314"], + "hotelCount": 2, + "url": "/de/reiseziele/norwegen/bodo" + }, + { + "id": "eed82c19-051f-4cee-bb16-80434d398f0e", + "name": "Oppdal", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "049be5eb-e488-4b1e-b060-1cb41503d118", + "name": "Fauske", + "hotelIds": ["374"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/fauske" + }, + { + "id": "7faffcc8-6b6c-45b4-abf3-700621d32f16", + "name": "Fagernes", + "hotelIds": ["787"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/fagernes" + }, + { + "id": "2cb66d77-93cb-44a2-a67d-b9024dca5f8f", + "name": "Haugesund", + "hotelIds": ["772"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/haugesund" + }, + { + "id": "f8e6ed30-92e5-4693-8f86-847247c5eaa9", + "name": "Honningsvag", + "hotelIds": ["304", "308", "303"], + "hotelCount": 3, + "url": "/de/reiseziele/norwegen/honningsvag" + }, + { + "id": "9fad38e0-a834-4ef3-92b0-7807cf70c774", + "name": "Kristiansand", + "hotelIds": ["788", "780"], + "hotelCount": 2, + "url": "/de/reiseziele/norwegen/kristiansand" + }, + { + "id": "33c32811-4f33-47c7-a743-a7e14a7e4002", + "name": "Lofoten", + "hotelIds": ["791", "387", "311"], + "hotelCount": 3, + "url": "/de/reiseziele/norwegen/lofoten" + }, + { + "id": "7b95287a-3b89-467f-929e-f543c151b222", + "name": "Grimstad", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "dac1e18e-00bc-4bfa-82ac-76ebc95e154f", + "name": "Stavanger", + "hotelIds": ["795", "325", "781", "775", "323"], + "hotelCount": 5, + "url": "/de/reiseziele/norwegen/stavanger" + }, + { + "id": "130a7705-3ef8-4d7d-bd88-7108227777b4", + "name": "Hønefoss", + "hotelIds": ["389"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/honefoss" + }, + { + "id": "7ff1e7db-c0d8-4a1a-ae41-133804625862", + "name": "Sarpsborg", + "hotelIds": ["345"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/sarpsborg" + }, + { + "id": "ced49abb-1ca9-4ed1-a4fd-f93a8ce8f2b3", + "name": "Bergen", + "hotelIds": ["785", "322", "770", "757", "778", "782", "326", "779"], + "hotelCount": 8, + "url": "/de/reiseziele/norwegen/bergen" + }, + { + "id": "273b0073-631e-410e-93b4-77b19f9ff3c3", + "name": "Trondheim", + "hotelIds": ["320", "764", "315", "316", "771", "380"], + "hotelCount": 6, + "url": "/de/reiseziele/norwegen/trondheim" + }, + { + "id": "46e5d77a-7cc5-428c-84dd-e49735808782", + "name": "Molde", + "hotelIds": ["793", "317"], + "hotelCount": 2, + "url": "/de/reiseziele/norwegen/molde" + }, + { + "id": "1145e98b-2289-4459-8a8a-563f9d46f135", + "name": "Hammerfest", + "hotelIds": ["307"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/hammerfest" + }, + { + "id": "d2ce98f8-9220-47e7-a6fe-84ac3546a52d", + "name": "Kirkenes", + "hotelIds": ["306"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/kirkenes" + }, + { + "id": "d90c0b4a-c046-4951-95a5-a64a4f3a6f30", + "name": "Kristiansund", + "hotelIds": ["319"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/kristiansund" + }, + { + "id": "80ad8f51-9ab5-4de4-8922-2efd8fd2e4ad", + "name": "Namsos", + "hotelIds": ["318"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/namsos" + }, + { + "id": "d0c9f8c7-6cf6-49aa-8a1e-405ef3f453cd", + "name": "Nordfjordeid", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7ba94bd4-8923-4c11-9c9e-ad539fc5d9fa", + "name": "Vadsø", + "hotelIds": ["302"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/vadso" + }, + { + "id": "895648c8-7fa4-4deb-bc91-b21292f86cbc", + "name": "Sortland", + "hotelIds": ["359"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/sortland" + }, + { + "id": "59d334a1-41ef-4aa5-bb35-be951e17e409", + "name": "Hamar", + "hotelIds": ["344", "756"], + "hotelCount": 2, + "url": "/de/reiseziele/norwegen/hamar" + }, + { + "id": "2854a449-6760-4a28-972d-8fd153e06555", + "name": "Voss", + "hotelIds": ["792"], + "hotelCount": 1, + "url": "/de/reiseziele/norwegen/voss" + } + ] + }, + { + "country": "Polen", + "numberOfHotels": 2, + "cities": [ + { + "id": "1d4f8a2e-9d4e-4c56-8f32-09f11f9709b1", + "name": "Breslau", + "hotelIds": ["442"], + "hotelCount": 1, + "url": "/de/reiseziele/polen/breslau" + }, + { + "id": "2f33f4f2-a6b4-4d7c-9055-8bae8cc4c771", + "name": "Danzig", + "hotelIds": ["441"], + "hotelCount": 1, + "url": "/de/reiseziele/polen/danzig" + } + ] + }, + { + "country": "Schweden", + "numberOfHotels": 89, + "cities": [ + { + "id": "a89c239a-651f-4289-b8b9-81d4b1c0861d", + "name": "Bollnäs", + "hotelIds": ["873"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/bollnas" + }, + { + "id": "dafa384c-6262-4f0d-94f8-bd745279ca9d", + "name": "Norrköping", + "hotelIds": ["827", "852"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/norrkoping" + }, + { + "id": "8a89ef25-c073-4f92-98e9-6cbf6b376447", + "name": "Borlänge", + "hotelIds": ["824"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/borlange" + }, + { + "id": "6ce90724-4fd1-4095-b0ed-821c03ba6207", + "name": "Kalmar", + "hotelIds": ["847"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/kalmar" + }, + { + "id": "969d5c79-5263-465b-af94-2ab7b1c0b985", + "name": "Halmstad", + "hotelIds": ["839"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/halmstad" + }, + { + "id": "1d23c970-147a-4077-9403-7facecfdb7e8", + "name": "Helsingborg", + "hotelIds": ["217", "855"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/helsingborg" + }, + { + "id": "76fc5cab-b32d-4522-abd6-9e178bb251d1", + "name": "Jonkoping", + "hotelIds": ["846", "856"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/jonkoping" + }, + { + "id": "86146840-41ca-4275-a4b3-4aa95b7a05ef", + "name": "Strömstad", + "hotelIds": ["888"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/stromstad" + }, + { + "id": "40d14e22-5378-4fc9-a770-7b74beb24a4e", + "name": "Arvika", + "hotelIds": ["845"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/arvika" + }, + { + "id": "75a73ca4-c51b-4eb2-a028-24279c78eb56", + "name": "Gävle", + "hotelIds": ["883", "871"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/gavle" + }, + { + "id": "c9adc640-1ff9-46fd-9eb7-335e124df6b7", + "name": "Kiruna", + "hotelIds": ["218"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/kiruna" + }, + { + "id": "49449db0-e483-4f07-ab3c-aa4ac0c2fd9e", + "name": "Malmö", + "hotelIds": ["881", "874", "818", "849", "878", "864"], + "hotelCount": 6, + "url": "/de/reiseziele/schweden/malmo" + }, + { + "id": "cb7c529c-f5a2-4f57-af2a-a4398fde6704", + "name": "Vasteras", + "hotelIds": ["866"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/vasteras" + }, + { + "id": "3b231ad9-7d0f-4dd2-8004-beaad494fdd3", + "name": "Karlstad", + "hotelIds": ["848", "876", "832"], + "hotelCount": 3, + "url": "/de/reiseziele/schweden/karlstad" + }, + { + "id": "2353ff13-457f-48f2-b7c2-772cbf137ccc", + "name": "Nyköping", + "hotelIds": ["829"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/nykoping" + }, + { + "id": "41616a4b-eb93-4215-b920-ea26f2e347bf", + "name": "Linköping", + "hotelIds": ["887", "872", "863"], + "hotelCount": 3, + "url": "/de/reiseziele/schweden/linkoping" + }, + { + "id": "d2a28d6f-3d82-415b-be65-93cfa16a36c7", + "name": "Lund", + "hotelIds": ["858"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/lund" + }, + { + "id": "2b3c909d-2eba-4ca2-86d1-b9ba12805058", + "name": "Borås", + "hotelIds": ["840"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/boras" + }, + { + "id": "a97e0d9e-fb54-4ac9-b71b-52728de8b839", + "name": "Falun", + "hotelIds": ["844"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/falun" + }, + { + "id": "08761bd6-233c-4f88-922a-88cd3fb0dcd4", + "name": "Örebro", + "hotelIds": ["219", "869", "836"], + "hotelCount": 3, + "url": "/de/reiseziele/schweden/orebro" + }, + { + "id": "8eb4ede8-3de8-49d5-87af-6fb0362cde9e", + "name": "Göteborg", + "hotelIds": [ + "867", + "801", + "806", + "851", + "841", + "816", + "216", + "817", + "215" + ], + "hotelCount": 9, + "url": "/de/reiseziele/schweden/goteborg" + }, + { + "id": "12721002-6269-4eaa-b625-02741b55b111", + "name": "Skovde", + "hotelIds": ["889"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/skovde" + }, + { + "id": "2c5b454f-b8b4-4d3c-80c1-fc3726feee16", + "name": "Lulea", + "hotelIds": ["868"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/lulea" + }, + { + "id": "e3749235-cd7a-4791-85fe-a9d5cf2cf759", + "name": "Sundsvall", + "hotelIds": ["853", "834"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/sundsvall" + }, + { + "id": "dc865a94-4b99-44f7-8ad6-9015774d0ae8", + "name": "Umeå", + "hotelIds": ["870", "882"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/umea" + }, + { + "id": "fcc62ee8-d451-462b-a37c-202155a72607", + "name": "Uppsala", + "hotelIds": ["861", "885"], + "hotelCount": 2, + "url": "/de/reiseziele/schweden/uppsala" + }, + { + "id": "9ea10699-2168-4c9c-8bc4-adb945344a49", + "name": "Östersund", + "hotelIds": ["859"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/ostersund" + }, + { + "id": "27eb9d85-91dc-41a1-af42-ba2bc66dc7ec", + "name": "Karlskrona", + "hotelIds": ["843"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/karlskrona" + }, + { + "id": "28db509e-fad0-47bc-a88b-3ee7977e5631", + "name": "testtraining", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "81e32ed6-727f-48e3-9235-7d2d2cd1d14f", + "name": "Skellefteå", + "hotelIds": ["823"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/skelleftea" + }, + { + "id": "19088b11-cc40-4639-afa3-ed8a2bc35586", + "name": "Södertälje", + "hotelIds": ["854"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/sodertalje" + }, + { + "id": "5a49c811-1f94-454e-ac42-ec92d6673bdc", + "name": "Värnamo", + "hotelIds": ["842"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/varnamo" + }, + { + "id": "32dc483a-55c6-4f43-b380-4248b9331b99", + "name": "Gällivare", + "hotelIds": ["891"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/gallivare" + }, + { + "id": "0001a677-d50b-454e-aa08-f7334c5ee9dd", + "name": "Örnsköldsvik", + "hotelIds": ["828"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/ornskoldsvik" + }, + { + "id": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", + "name": "Stockholm", + "hotelIds": [ + "879", + "890", + "830", + "220", + "810", + "811", + "821", + "222", + "809", + "865", + "803", + "213", + "808", + "857", + "812", + "211", + "833", + "813", + "214", + "814", + "886", + "838", + "875", + "826", + "802", + "223", + "805" + ], + "hotelCount": 27, + "url": "/de/reiseziele/schweden/stockholm" + }, + { + "id": "d1b1a499-6f3d-4527-88d4-005cef559ed6", + "name": "Trollhättan", + "hotelIds": ["850"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/trollhattan" + }, + { + "id": "7c29a63c-e3b1-4f53-a1a0-847a3f28f1de", + "name": "Växjö", + "hotelIds": ["860"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/vaxjo" + }, + { + "id": "aa290a3d-32de-4257-b7d9-7af8e5d8110e", + "name": "Visby", + "hotelIds": ["877"], + "hotelCount": 1, + "url": "/de/reiseziele/schweden/visby" + } + ] + } +] diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-en.json b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-en.json new file mode 100644 index 000000000..99f8373b5 --- /dev/null +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-en.json @@ -0,0 +1,1046 @@ +[ + { + "country": "Denmark", + "countryUrl": "/en/destinations/denmark", + "numberOfHotels": 29, + "cities": [ + { + "id": "a906b368-ecf6-4d9e-8796-8ad98c85bbdf", + "name": "Silkeborg", + "hotelIds": ["747"], + "hotelCount": 1, + "url": "/en/destinations/denmark/silkeborg" + }, + { + "id": "a845c2b3-e477-4c85-b375-205add95c9e5", + "name": "Copenhagen", + "hotelIds": [ + "749", + "715", + "719", + "739", + "744", + "721", + "731", + "714", + "724", + "718", + "716", + "723", + "727" + ], + "hotelCount": 13, + "url": "/en/destinations/denmark/copenhagen" + }, + { + "id": "75a15b7e-5368-4b1d-9478-baf9404b478c", + "name": "Esbjerg", + "hotelIds": ["732"], + "hotelCount": 1, + "url": "/en/destinations/denmark/esbjerg" + }, + { + "id": "f3e43985-13ad-45e7-9997-844d06cb48d6", + "name": "Ringsted", + "hotelIds": ["733"], + "hotelCount": 1, + "url": "/en/destinations/denmark/ringsted" + }, + { + "id": "5dc8fe17-7588-48b3-b7a2-35c7736fdd53", + "name": "Frederikshavn", + "hotelIds": ["734"], + "hotelCount": 1 + }, + { + "id": "6a6ce6fc-78a5-4910-8d9b-88f4376fc0b6", + "name": "Herning", + "hotelIds": ["746"], + "hotelCount": 1, + "url": "/en/destinations/denmark/herning" + }, + { + "id": "44275ac0-578c-40b5-8970-8b7ea75e15e8", + "name": "Roskilde", + "hotelIds": ["745"], + "hotelCount": 1, + "url": "/en/destinations/denmark/roskilde" + }, + { + "id": "7c516f4b-a3c6-4a02-ad5b-ecf71b349a97", + "name": "Vejle", + "hotelIds": ["729"], + "hotelCount": 1 + }, + { + "id": "4fae11e6-9529-42b3-93f4-6bb293880a70", + "name": "Aalborg", + "hotelIds": ["720", "735"], + "hotelCount": 2, + "url": "/en/destinations/denmark/aalborg" + }, + { + "id": "504c2772-43b6-414a-913b-40c05eccaddd", + "name": "Aarhus", + "hotelIds": ["726", "736", "738"], + "hotelCount": 3, + "url": "/en/destinations/denmark/aarhus" + }, + { + "id": "a98d6ae7-5d36-4b24-95a7-5c0fc302ae83", + "name": "Sønderborg", + "hotelIds": ["728"], + "hotelCount": 1, + "url": "/en/destinations/denmark/sonderborg" + }, + { + "id": "81aefed1-2db9-4810-b780-1253c65e35ee", + "name": "Kolding", + "hotelIds": ["737"], + "hotelCount": 1, + "url": "/en/destinations/denmark/kolding" + }, + { + "id": "3cff390a-f436-4fe5-a88b-aa97db579755", + "name": "Horsens", + "hotelIds": ["713"], + "hotelCount": 1, + "url": "/en/destinations/denmark/horsens" + }, + { + "id": "4c4bb05e-1c45-4c3e-9503-4163f48bef5b", + "name": "Odense", + "hotelIds": ["748"], + "hotelCount": 1, + "url": "/en/destinations/denmark/odense" + } + ] + }, + { + "country": "Finland", + "countryUrl": "/en/destinations/finland", + "numberOfHotels": 52, + "cities": [ + { + "id": "38483bbb-a1fa-442b-9c6d-dca25afdcdfe", + "name": "Ikaalinen", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fccff360-9de9-445f-866a-48d540812b78", + "name": "Espoo", + "hotelIds": ["611"], + "hotelCount": 1, + "url": "/en/destinations/finland/espoo" + }, + { + "id": "33ba3355-a688-47c2-aadf-efb3d233a7e0", + "name": "Jyväskylä", + "hotelIds": ["675", "676", "608"], + "hotelCount": 3, + "url": "/en/destinations/finland/jyvaskyla" + }, + { + "id": "4a92a999-9c0a-4b1f-a70f-a5e0e25b55a5", + "name": "Kajaani", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ac31bc09-bcad-437c-b408-11f8ad460cfb", + "name": "Vantaa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "6d54cb54-30f2-48d4-860f-7217e83d47a9", + "name": "Hyvinkää", + "hotelIds": ["668"], + "hotelCount": 1, + "url": "/en/destinations/finland/hyvinkaa" + }, + { + "id": "59c26c47-1f4c-44a6-8ab3-c5aa6222cf31", + "name": "Imatra", + "hotelIds": ["696"], + "hotelCount": 1, + "url": "/en/destinations/finland/imatra" + }, + { + "id": "0de4cf0d-703b-4abd-a69a-690307339cd0", + "name": "Joensuu", + "hotelIds": ["688"], + "hotelCount": 1, + "url": "/en/destinations/finland/joensuu" + }, + { + "id": "9f859093-d5c5-47e5-958b-62a8e5f5109b", + "name": "Nokia", + "hotelIds": ["679"], + "hotelCount": 1, + "url": "/en/destinations/finland/nokia" + }, + { + "id": "e68e2ac2-b2b9-48c9-aa48-7c5b047cafb3", + "name": "Kouvola", + "hotelIds": ["672"], + "hotelCount": 1, + "url": "/en/destinations/finland/kouvola" + }, + { + "id": "b64d8a50-9b46-49ad-baa3-464a1f0fc49f", + "name": "Lappeenranta", + "hotelIds": ["615"], + "hotelCount": 1, + "url": "/en/destinations/finland/lappeenranta" + }, + { + "id": "d4b63ca6-96d4-4971-b88a-77281944c9fb", + "name": "Pori", + "hotelIds": ["628"], + "hotelCount": 1, + "url": "/en/destinations/finland/pori" + }, + { + "id": "d5749fd0-fa3e-4bb9-8e0e-17a7209a2e84", + "name": "Seinäjoki", + "hotelIds": ["687"], + "hotelCount": 1, + "url": "/en/destinations/finland/seinajoki" + }, + { + "id": "2b7f63d4-a232-4846-9dcc-c4aa3b3ce71f", + "name": "Helsinki", + "hotelIds": [ + "638", + "622", + "665", + "666", + "661", + "603", + "662", + "663", + "605", + "660", + "601", + "634", + "697", + "639", + "698", + "643" + ], + "hotelCount": 16, + "url": "/en/destinations/finland/helsinki" + }, + { + "id": "09a332fa-fe43-4c82-be6d-302a7aa0c140", + "name": "Riihimaki", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "f42dc867-06fa-4ed1-9a7c-00df6ad591fe", + "name": "Hämeenlinna", + "hotelIds": ["669", "670"], + "hotelCount": 2, + "url": "/en/destinations/finland/hameenlinna" + }, + { + "id": "2682392b-e3cf-4b21-b3ef-a948494ed41d", + "name": "Kotka", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "e36d8c5a-8275-4487-97a4-2eae6be8fe42", + "name": "Forssa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ae5af1f5-a971-4f1c-88d2-0f941832b7ea", + "name": "Rauma", + "hotelIds": ["684"], + "hotelCount": 1, + "url": "/en/destinations/finland/rauma" + }, + { + "id": "c35a8bcd-e2b7-4e7c-bb33-f4b103542363", + "name": "Siuntio", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "51920988-eed2-4c89-83fa-0960c9bb7a79", + "name": "Mikkeli", + "hotelIds": ["674"], + "hotelCount": 1, + "url": "/en/destinations/finland/mikkeli" + }, + { + "id": "fd66bcc0-98c6-49a7-b95a-2af905e3263e", + "name": "Oulu", + "hotelIds": ["692", "624"], + "hotelCount": 2, + "url": "/en/destinations/finland/oulu" + }, + { + "id": "d2081c15-865e-4c1d-8c93-6d4bdedc8f48", + "name": "Ruka Kuusamo", + "hotelIds": ["691"], + "hotelCount": 1, + "url": "/en/destinations/finland/ruka kuusamo" + }, + { + "id": "5915950f-e55e-4c78-bb24-84495332ce35", + "name": "Vaasa", + "hotelIds": ["686", "637"], + "hotelCount": 2, + "url": "/en/destinations/finland/vaasa" + }, + { + "id": "f3fd2e15-84ab-40e5-aabd-3d5bd04f36f2", + "name": "Rovaniemi", + "hotelIds": ["695", "694", "626"], + "hotelCount": 3, + "url": "/en/destinations/finland/rovaniemi" + }, + { + "id": "8c5c489b-b559-4e73-91a1-a4bc2eeb8b47", + "name": "Salo", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7bc37280-2dbd-4b80-aec0-9d06968f1318", + "name": "Lahti", + "hotelIds": ["667"], + "hotelCount": 1, + "url": "/en/destinations/finland/lahti" + }, + { + "id": "c317ab90-3416-479c-a87f-839e5a482ddf", + "name": "Järvenpää", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "9233a45a-15e7-480e-9579-09dc9209bdf6", + "name": "Kuopio", + "hotelIds": ["689", "609"], + "hotelCount": 2, + "url": "/en/destinations/finland/kuopio" + }, + { + "id": "2a69a227-3c37-458b-82cc-fd50b16a93b8", + "name": "Tampere", + "hotelIds": ["607", "677", "617", "678", "635"], + "hotelCount": 5, + "url": "/en/destinations/finland/tampere" + }, + { + "id": "afe01b68-a51f-4303-b86e-b84334ff09de", + "name": "Turku", + "hotelIds": ["640", "619", "629"], + "hotelCount": 3, + "url": "/en/destinations/finland/turku" + }, + { + "id": "f78ee1ca-7567-4ff7-b346-04293314ad4b", + "name": "Kemi", + "hotelIds": ["693"], + "hotelCount": 1, + "url": "/en/destinations/finland/kemi" + } + ] + }, + { + "country": "Germany", + "countryUrl": "/en/destinations/germany", + "numberOfHotels": 7, + "cities": [ + { + "id": "b706ebcd-5634-4a99-b97b-4de0ad680b11", + "name": "Frankfurt", + "hotelIds": ["555", "556"], + "hotelCount": 2, + "url": "/en/destinations/germany/frankfurt" + }, + { + "id": "1c911bd9-b96f-40cf-9701-64598d6088b4", + "name": "Hamburg", + "hotelIds": ["550"], + "hotelCount": 1, + "url": "/en/destinations/germany/hamburg" + }, + { + "id": "9f30e524-a179-4397-b929-4b6824aee7fa", + "name": "Munich", + "hotelIds": ["557"], + "hotelCount": 1, + "url": "/en/destinations/germany/munich" + }, + { + "id": "f0509318-ef8e-4513-af7a-9905cb7c4258", + "name": "Berlin", + "hotelIds": ["551", "554"], + "hotelCount": 2, + "url": "/en/destinations/germany/berlin" + }, + { + "id": "7dcf1e04-ee3d-47ff-b5c3-387c5345ed67", + "name": "Nuremberg", + "hotelIds": ["558"], + "hotelCount": 1, + "url": "/en/destinations/germany/nuremberg" + }, + { + "id": "bfe82dea-083a-44f6-8e8e-a6dd789c93ba", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + } + ] + }, + { + "country": "Norway", + "countryUrl": "/en/destinations/norway", + "numberOfHotels": 83, + "cities": [ + { + "id": "32b14e04-9d9e-4cfd-864c-49cf6db2ba93", + "name": "Alesund", + "hotelIds": ["368"], + "hotelCount": 1, + "url": "/en/destinations/norway/alesund" + }, + { + "id": "23bccd2d-ebfe-459a-9b7d-cadad09d6221", + "name": "Drammen", + "hotelIds": ["786"], + "hotelCount": 1, + "url": "/en/destinations/norway/drammen" + }, + { + "id": "4736b77d-2466-43b5-8630-54e57143ed66", + "name": "Fredrikstad", + "hotelIds": ["360"], + "hotelCount": 1, + "url": "/en/destinations/norway/fredrikstad" + }, + { + "id": "124e1cca-91cb-4355-a8d6-afb41d70f8b1", + "name": "Mo i Rana", + "hotelIds": ["367"], + "hotelCount": 1, + "url": "/en/destinations/norway/mo i rana" + }, + { + "id": "3b409f3b-796d-44f3-bd57-ea28100aa1e1", + "name": "Narvik", + "hotelIds": ["313"], + "hotelCount": 1, + "url": "/en/destinations/norway/narvik" + }, + { + "id": "87b3e1f3-d01a-4375-beb0-8815bfe7267d", + "name": "Mysen", + "hotelIds": ["388"], + "hotelCount": 1, + "url": "/en/destinations/norway/mysen" + }, + { + "id": "4a5b1a78-d296-43f0-83f2-e33c545857c4", + "name": "Elverum", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "b99b4926-4792-4535-b8e0-cefd7c23cec8", + "name": "Harstad", + "hotelIds": ["363"], + "hotelCount": 1, + "url": "/en/destinations/norway/harstad" + }, + { + "id": "3d8de99c-2ea8-4b1b-b8a2-2d035a0d1586", + "name": "Karasjok", + "hotelIds": ["305"], + "hotelCount": 1, + "url": "/en/destinations/norway/karasjok" + }, + { + "id": "85cf723a-be8b-4b3c-b22b-ec7e119f1f87", + "name": "Sandefjord", + "hotelIds": ["329"], + "hotelCount": 1, + "url": "/en/destinations/norway/sandefjord" + }, + { + "id": "f2136df1-d0ca-42bf-ada7-26f8399ef3f4", + "name": "Tjome", + "hotelIds": ["330"], + "hotelCount": 1 + }, + { + "id": "76c2d8b1-61d4-4508-b54c-4992c1c3d5d6", + "name": "Tromso", + "hotelIds": ["362", "310", "796"], + "hotelCount": 3, + "url": "/en/destinations/norway/tromso" + }, + { + "id": "647cb4d0-3ef3-4de2-ad49-160bc40cd10b", + "name": "Forde", + "hotelIds": ["321"], + "hotelCount": 1, + "url": "/en/destinations/norway/forde" + }, + { + "id": "58d796e9-040d-49d5-862f-ee1625f4bb3f", + "name": "Lillehammer", + "hotelIds": ["789", "790", "343"], + "hotelCount": 3, + "url": "/en/destinations/norway/lillehammer" + }, + { + "id": "ec27c5fa-9aec-4f43-b2f1-ba8a05d5ca49", + "name": "Oslo", + "hotelIds": [ + "340", + "339", + "751", + "766", + "776", + "390", + "342", + "337", + "333", + "391", + "332", + "784", + "773", + "336", + "760", + "759", + "765", + "334", + "774" + ], + "hotelCount": 19, + "url": "/en/destinations/norway/oslo" + }, + { + "id": "e3c4cba6-0838-43ee-b23e-1d98ed39cf3b", + "name": "Sandnessjoen", + "hotelIds": ["365"], + "hotelCount": 1, + "url": "/en/destinations/norway/sandnessjoen" + }, + { + "id": "40c6c796-50dc-470b-a25f-84ab1dd3e32f", + "name": "Alta", + "hotelIds": ["301"], + "hotelCount": 1, + "url": "/en/destinations/norway/alta" + }, + { + "id": "cd5e4606-d115-4382-bb12-25a9a7f7e230", + "name": "Bodo", + "hotelIds": ["312", "314"], + "hotelCount": 2, + "url": "/en/destinations/norway/bodo" + }, + { + "id": "049be5eb-e488-4b1e-b060-1cb41503d118", + "name": "Fauske", + "hotelIds": ["374"], + "hotelCount": 1, + "url": "/en/destinations/norway/fauske" + }, + { + "id": "eed82c19-051f-4cee-bb16-80434d398f0e", + "name": "Oppdal", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7faffcc8-6b6c-45b4-abf3-700621d32f16", + "name": "Fagernes", + "hotelIds": ["787"], + "hotelCount": 1, + "url": "/en/destinations/norway/fagernes" + }, + { + "id": "2cb66d77-93cb-44a2-a67d-b9024dca5f8f", + "name": "Haugesund", + "hotelIds": ["772"], + "hotelCount": 1, + "url": "/en/destinations/norway/haugesund" + }, + { + "id": "f8e6ed30-92e5-4693-8f86-847247c5eaa9", + "name": "Honningsvag", + "hotelIds": ["304", "308", "303"], + "hotelCount": 3, + "url": "/en/destinations/norway/honningsvag" + }, + { + "id": "9fad38e0-a834-4ef3-92b0-7807cf70c774", + "name": "Kristiansand", + "hotelIds": ["788", "780"], + "hotelCount": 2, + "url": "/en/destinations/norway/kristiansand" + }, + { + "id": "33c32811-4f33-47c7-a743-a7e14a7e4002", + "name": "Lofoten", + "hotelIds": ["791", "387", "311"], + "hotelCount": 3, + "url": "/en/destinations/norway/lofoten" + }, + { + "id": "7b95287a-3b89-467f-929e-f543c151b222", + "name": "Grimstad", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "dac1e18e-00bc-4bfa-82ac-76ebc95e154f", + "name": "Stavanger", + "hotelIds": ["795", "325", "781", "775", "323"], + "hotelCount": 5, + "url": "/en/destinations/norway/stavanger" + }, + { + "id": "130a7705-3ef8-4d7d-bd88-7108227777b4", + "name": "Hønefoss", + "hotelIds": ["389"], + "hotelCount": 1, + "url": "/en/destinations/norway/honefoss" + }, + { + "id": "7ff1e7db-c0d8-4a1a-ae41-133804625862", + "name": "Sarpsborg", + "hotelIds": ["345"], + "hotelCount": 1, + "url": "/en/destinations/norway/sarpsborg" + }, + { + "id": "ced49abb-1ca9-4ed1-a4fd-f93a8ce8f2b3", + "name": "Bergen", + "hotelIds": ["785", "322", "770", "757", "778", "782", "326", "779"], + "hotelCount": 8, + "url": "/en/destinations/norway/bergen" + }, + { + "id": "46e5d77a-7cc5-428c-84dd-e49735808782", + "name": "Molde", + "hotelIds": ["793", "317"], + "hotelCount": 2, + "url": "/en/destinations/norway/molde" + }, + { + "id": "273b0073-631e-410e-93b4-77b19f9ff3c3", + "name": "Trondheim", + "hotelIds": ["320", "764", "315", "316", "771", "380"], + "hotelCount": 6, + "url": "/en/destinations/norway/trondheim" + }, + { + "id": "1145e98b-2289-4459-8a8a-563f9d46f135", + "name": "Hammerfest", + "hotelIds": ["307"], + "hotelCount": 1, + "url": "/en/destinations/norway/hammerfest" + }, + { + "id": "d2ce98f8-9220-47e7-a6fe-84ac3546a52d", + "name": "Kirkenes", + "hotelIds": ["306"], + "hotelCount": 1, + "url": "/en/destinations/norway/kirkenes" + }, + { + "id": "d90c0b4a-c046-4951-95a5-a64a4f3a6f30", + "name": "Kristiansund", + "hotelIds": ["319"], + "hotelCount": 1, + "url": "/en/destinations/norway/kristiansund" + }, + { + "id": "80ad8f51-9ab5-4de4-8922-2efd8fd2e4ad", + "name": "Namsos", + "hotelIds": ["318"], + "hotelCount": 1, + "url": "/en/destinations/norway/namsos" + }, + { + "id": "d0c9f8c7-6cf6-49aa-8a1e-405ef3f453cd", + "name": "Nordfjordeid", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7ba94bd4-8923-4c11-9c9e-ad539fc5d9fa", + "name": "Vadsø", + "hotelIds": ["302"], + "hotelCount": 1, + "url": "/en/destinations/norway/vadso" + }, + { + "id": "895648c8-7fa4-4deb-bc91-b21292f86cbc", + "name": "Sortland", + "hotelIds": ["359"], + "hotelCount": 1, + "url": "/en/destinations/norway/sortland" + }, + { + "id": "59d334a1-41ef-4aa5-bb35-be951e17e409", + "name": "Hamar", + "hotelIds": ["344", "756"], + "hotelCount": 2, + "url": "/en/destinations/norway/hamar" + }, + { + "id": "2854a449-6760-4a28-972d-8fd153e06555", + "name": "Voss", + "hotelIds": ["792"], + "hotelCount": 1, + "url": "/en/destinations/norway/voss" + } + ] + }, + { + "country": "Poland", + "countryUrl": "/en/destinations/poland", + "numberOfHotels": 2, + "cities": [ + { + "id": "1d4f8a2e-9d4e-4c56-8f32-09f11f9709b1", + "name": "Wroclaw", + "hotelIds": ["442"], + "hotelCount": 1, + "url": "/en/destinations/poland/wroclaw" + }, + { + "id": "2f33f4f2-a6b4-4d7c-9055-8bae8cc4c771", + "name": "Gdansk", + "hotelIds": ["441"], + "hotelCount": 1, + "url": "/en/destinations/poland/gdansk" + } + ] + }, + { + "country": "Sweden", + "countryUrl": "/en/destinations/sweden", + "numberOfHotels": 89, + "cities": [ + { + "id": "a89c239a-651f-4289-b8b9-81d4b1c0861d", + "name": "Bollnas", + "hotelIds": ["873"], + "hotelCount": 1, + "url": "/en/destinations/sweden/bollnas" + }, + { + "id": "dafa384c-6262-4f0d-94f8-bd745279ca9d", + "name": "Norrkoping", + "hotelIds": ["827", "852"], + "hotelCount": 2, + "url": "/en/destinations/sweden/norrkoping" + }, + { + "id": "8a89ef25-c073-4f92-98e9-6cbf6b376447", + "name": "Borlange", + "hotelIds": ["824"], + "hotelCount": 1, + "url": "/en/destinations/sweden/borlange" + }, + { + "id": "6ce90724-4fd1-4095-b0ed-821c03ba6207", + "name": "Kalmar", + "hotelIds": ["847"], + "hotelCount": 1, + "url": "/en/destinations/sweden/kalmar" + }, + { + "id": "969d5c79-5263-465b-af94-2ab7b1c0b985", + "name": "Halmstad", + "hotelIds": ["839"], + "hotelCount": 1, + "url": "/en/destinations/sweden/halmstad" + }, + { + "id": "1d23c970-147a-4077-9403-7facecfdb7e8", + "name": "Helsingborg", + "hotelIds": ["217", "855"], + "hotelCount": 2, + "url": "/en/destinations/sweden/helsingborg" + }, + { + "id": "76fc5cab-b32d-4522-abd6-9e178bb251d1", + "name": "Jonkoping", + "hotelIds": ["846", "856"], + "hotelCount": 2, + "url": "/en/destinations/sweden/jonkoping" + }, + { + "id": "86146840-41ca-4275-a4b3-4aa95b7a05ef", + "name": "Stromstad", + "hotelIds": ["888"], + "hotelCount": 1, + "url": "/en/destinations/sweden/stromstad" + }, + { + "id": "40d14e22-5378-4fc9-a770-7b74beb24a4e", + "name": "Arvika", + "hotelIds": ["845"], + "hotelCount": 1, + "url": "/en/destinations/sweden/arvika" + }, + { + "id": "75a73ca4-c51b-4eb2-a028-24279c78eb56", + "name": "Gavle", + "hotelIds": ["883", "871"], + "hotelCount": 2, + "url": "/en/destinations/sweden/gavle" + }, + { + "id": "c9adc640-1ff9-46fd-9eb7-335e124df6b7", + "name": "Kiruna", + "hotelIds": ["218"], + "hotelCount": 1, + "url": "/en/destinations/sweden/kiruna" + }, + { + "id": "49449db0-e483-4f07-ab3c-aa4ac0c2fd9e", + "name": "Malmo", + "hotelIds": ["881", "874", "818", "849", "878", "864"], + "hotelCount": 6, + "url": "/en/destinations/sweden/malmo" + }, + { + "id": "cb7c529c-f5a2-4f57-af2a-a4398fde6704", + "name": "Vasteras", + "hotelIds": ["866"], + "hotelCount": 1, + "url": "/en/destinations/sweden/vasteras" + }, + { + "id": "2353ff13-457f-48f2-b7c2-772cbf137ccc", + "name": "Nykoping", + "hotelIds": ["829"], + "hotelCount": 1, + "url": "/en/destinations/sweden/nykoping" + }, + { + "id": "3b231ad9-7d0f-4dd2-8004-beaad494fdd3", + "name": "Karlstad", + "hotelIds": ["848", "876", "832"], + "hotelCount": 3, + "url": "/en/destinations/sweden/karlstad" + }, + { + "id": "41616a4b-eb93-4215-b920-ea26f2e347bf", + "name": "Linkoping", + "hotelIds": ["887", "872", "863"], + "hotelCount": 3, + "url": "/en/destinations/sweden/linkoping" + }, + { + "id": "2c5b454f-b8b4-4d3c-80c1-fc3726feee16", + "name": "Lulea", + "hotelIds": ["868"], + "hotelCount": 1, + "url": "/en/destinations/sweden/lulea" + }, + { + "id": "2b3c909d-2eba-4ca2-86d1-b9ba12805058", + "name": "Boras", + "hotelIds": ["840"], + "hotelCount": 1, + "url": "/en/destinations/sweden/boras" + }, + { + "id": "a97e0d9e-fb54-4ac9-b71b-52728de8b839", + "name": "Falun", + "hotelIds": ["844"], + "hotelCount": 1, + "url": "/en/destinations/sweden/falun" + }, + { + "id": "08761bd6-233c-4f88-922a-88cd3fb0dcd4", + "name": "Orebro", + "hotelIds": ["219", "869", "836"], + "hotelCount": 3, + "url": "/en/destinations/sweden/orebro" + }, + { + "id": "d2a28d6f-3d82-415b-be65-93cfa16a36c7", + "name": "Lund", + "hotelIds": ["858"], + "hotelCount": 1, + "url": "/en/destinations/sweden/lund" + }, + { + "id": "12721002-6269-4eaa-b625-02741b55b111", + "name": "Skovde", + "hotelIds": ["889"], + "hotelCount": 1, + "url": "/en/destinations/sweden/skovde" + }, + { + "id": "8eb4ede8-3de8-49d5-87af-6fb0362cde9e", + "name": "Gothenburg", + "hotelIds": [ + "867", + "801", + "806", + "851", + "841", + "816", + "216", + "817", + "215" + ], + "hotelCount": 9, + "url": "/en/destinations/sweden/gothenburg" + }, + { + "id": "e3749235-cd7a-4791-85fe-a9d5cf2cf759", + "name": "Sundsvall", + "hotelIds": ["853", "834"], + "hotelCount": 2, + "url": "/en/destinations/sweden/sundsvall" + }, + { + "id": "dc865a94-4b99-44f7-8ad6-9015774d0ae8", + "name": "Umea", + "hotelIds": ["870", "882"], + "hotelCount": 2, + "url": "/en/destinations/sweden/umea" + }, + { + "id": "fcc62ee8-d451-462b-a37c-202155a72607", + "name": "Uppsala", + "hotelIds": ["861", "885"], + "hotelCount": 2, + "url": "/en/destinations/sweden/uppsala" + }, + { + "id": "27eb9d85-91dc-41a1-af42-ba2bc66dc7ec", + "name": "Karlskrona", + "hotelIds": ["843"], + "hotelCount": 1, + "url": "/en/destinations/sweden/karlskrona" + }, + { + "id": "28db509e-fad0-47bc-a88b-3ee7977e5631", + "name": "testtraining", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "9ea10699-2168-4c9c-8bc4-adb945344a49", + "name": "Ostersund", + "hotelIds": ["859"], + "hotelCount": 1, + "url": "/en/destinations/sweden/ostersund" + }, + { + "id": "81e32ed6-727f-48e3-9235-7d2d2cd1d14f", + "name": "Skelleftea", + "hotelIds": ["823"], + "hotelCount": 1, + "url": "/en/destinations/sweden/skelleftea" + }, + { + "id": "19088b11-cc40-4639-afa3-ed8a2bc35586", + "name": "Södertälje", + "hotelIds": ["854"], + "hotelCount": 1, + "url": "/en/destinations/sweden/sodertalje" + }, + { + "id": "5a49c811-1f94-454e-ac42-ec92d6673bdc", + "name": "Varnamo", + "hotelIds": ["842"], + "hotelCount": 1, + "url": "/en/destinations/sweden/varnamo" + }, + { + "id": "32dc483a-55c6-4f43-b380-4248b9331b99", + "name": "Gällivare", + "hotelIds": ["891"], + "hotelCount": 1, + "url": "/en/destinations/sweden/gallivare" + }, + { + "id": "0001a677-d50b-454e-aa08-f7334c5ee9dd", + "name": "Ornskoldsvik", + "hotelIds": ["828"], + "hotelCount": 1, + "url": "/en/destinations/sweden/ornskoldsvik" + }, + { + "id": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", + "name": "Stockholm", + "hotelIds": [ + "879", + "890", + "830", + "220", + "810", + "811", + "821", + "222", + "809", + "865", + "803", + "213", + "808", + "857", + "812", + "211", + "833", + "813", + "214", + "814", + "886", + "838", + "875", + "826", + "802", + "223", + "805" + ], + "hotelCount": 27, + "url": "/en/destinations/sweden/stockholm" + }, + { + "id": "d1b1a499-6f3d-4527-88d4-005cef559ed6", + "name": "Trollhattan", + "hotelIds": ["850"], + "hotelCount": 1, + "url": "/en/destinations/sweden/trollhattan" + }, + { + "id": "7c29a63c-e3b1-4f53-a1a0-847a3f28f1de", + "name": "Vaxjo", + "hotelIds": ["860"], + "hotelCount": 1, + "url": "/en/destinations/sweden/vaxjo" + }, + { + "id": "aa290a3d-32de-4257-b7d9-7af8e5d8110e", + "name": "Visby", + "hotelIds": ["877"], + "hotelCount": 1, + "url": "/en/destinations/sweden/visby" + } + ] + } +] diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-fi.json b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-fi.json new file mode 100644 index 000000000..4154e89c1 --- /dev/null +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-fi.json @@ -0,0 +1,1046 @@ +[ + { + "country": "Norja", + "numberOfHotels": 83, + "cities": [ + { + "id": "32b14e04-9d9e-4cfd-864c-49cf6db2ba93", + "name": "Ålesund", + "hotelIds": ["368"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/alesund" + }, + { + "id": "23bccd2d-ebfe-459a-9b7d-cadad09d6221", + "name": "Drammen", + "hotelIds": ["786"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/drammen" + }, + { + "id": "4736b77d-2466-43b5-8630-54e57143ed66", + "name": "Fredrikstad", + "hotelIds": ["360"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/fredrikstad" + }, + { + "id": "124e1cca-91cb-4355-a8d6-afb41d70f8b1", + "name": "Mo i Rana", + "hotelIds": ["367"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/mo i rana" + }, + { + "id": "3b409f3b-796d-44f3-bd57-ea28100aa1e1", + "name": "Narvik", + "hotelIds": ["313"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/narvik" + }, + { + "id": "87b3e1f3-d01a-4375-beb0-8815bfe7267d", + "name": "Mysen", + "hotelIds": ["388"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/mysen" + }, + { + "id": "4a5b1a78-d296-43f0-83f2-e33c545857c4", + "name": "Elverum", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "b99b4926-4792-4535-b8e0-cefd7c23cec8", + "name": "Harstad", + "hotelIds": ["363"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/harstad" + }, + { + "id": "3d8de99c-2ea8-4b1b-b8a2-2d035a0d1586", + "name": "Kaarasjoki", + "hotelIds": ["305"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/kaarasjoki" + }, + { + "id": "85cf723a-be8b-4b3c-b22b-ec7e119f1f87", + "name": "Sandefjord", + "hotelIds": ["329"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/sandefjord" + }, + { + "id": "f2136df1-d0ca-42bf-ada7-26f8399ef3f4", + "name": "Tjøme", + "hotelIds": ["330"], + "hotelCount": 1 + }, + { + "id": "76c2d8b1-61d4-4508-b54c-4992c1c3d5d6", + "name": "Tromssa", + "hotelIds": ["362", "310", "796"], + "hotelCount": 3, + "url": "/fi/kohteet/norja/tromssa" + }, + { + "id": "647cb4d0-3ef3-4de2-ad49-160bc40cd10b", + "name": "Forde", + "hotelIds": ["321"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/forde" + }, + { + "id": "58d796e9-040d-49d5-862f-ee1625f4bb3f", + "name": "Lillehammer", + "hotelIds": ["789", "790", "343"], + "hotelCount": 3, + "url": "/fi/kohteet/norja/lillehammer" + }, + { + "id": "ec27c5fa-9aec-4f43-b2f1-ba8a05d5ca49", + "name": "Oslo", + "hotelIds": [ + "340", + "339", + "751", + "766", + "776", + "390", + "342", + "337", + "333", + "391", + "332", + "784", + "773", + "336", + "760", + "759", + "765", + "334", + "774" + ], + "hotelCount": 19, + "url": "/fi/kohteet/norja/oslo" + }, + { + "id": "e3c4cba6-0838-43ee-b23e-1d98ed39cf3b", + "name": "Sandnessjoen", + "hotelIds": ["365"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/sandnessjoen" + }, + { + "id": "40c6c796-50dc-470b-a25f-84ab1dd3e32f", + "name": "Alta", + "hotelIds": ["301"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/alta" + }, + { + "id": "eed82c19-051f-4cee-bb16-80434d398f0e", + "name": "Oppdal", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "cd5e4606-d115-4382-bb12-25a9a7f7e230", + "name": "Bodø", + "hotelIds": ["312", "314"], + "hotelCount": 2, + "url": "/fi/kohteet/norja/bodo" + }, + { + "id": "049be5eb-e488-4b1e-b060-1cb41503d118", + "name": "Fauske", + "hotelIds": ["374"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/fauske" + }, + { + "id": "7faffcc8-6b6c-45b4-abf3-700621d32f16", + "name": "Fagernes", + "hotelIds": ["787"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/fagernes" + }, + { + "id": "2cb66d77-93cb-44a2-a67d-b9024dca5f8f", + "name": "Haugesund", + "hotelIds": ["772"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/haugesund" + }, + { + "id": "f8e6ed30-92e5-4693-8f86-847247c5eaa9", + "name": "Honningsvåg", + "hotelIds": ["304", "308", "303"], + "hotelCount": 3, + "url": "/fi/kohteet/norja/honningsvag" + }, + { + "id": "9fad38e0-a834-4ef3-92b0-7807cf70c774", + "name": "Kristiansand", + "hotelIds": ["788", "780"], + "hotelCount": 2, + "url": "/fi/kohteet/norja/kristiansand" + }, + { + "id": "33c32811-4f33-47c7-a743-a7e14a7e4002", + "name": "Lofootit", + "hotelIds": ["791", "387", "311"], + "hotelCount": 3, + "url": "/fi/kohteet/norja/lofootit" + }, + { + "id": "7b95287a-3b89-467f-929e-f543c151b222", + "name": "Grimstad", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "dac1e18e-00bc-4bfa-82ac-76ebc95e154f", + "name": "Stavanger", + "hotelIds": ["795", "325", "781", "775", "323"], + "hotelCount": 5, + "url": "/fi/kohteet/norja/stavanger" + }, + { + "id": "7ff1e7db-c0d8-4a1a-ae41-133804625862", + "name": "Sarpsborg", + "hotelIds": ["345"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/sarpsborg" + }, + { + "id": "130a7705-3ef8-4d7d-bd88-7108227777b4", + "name": "Hønefoss", + "hotelIds": ["389"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/honefoss" + }, + { + "id": "ced49abb-1ca9-4ed1-a4fd-f93a8ce8f2b3", + "name": "Bergen", + "hotelIds": ["785", "322", "770", "757", "778", "782", "326", "779"], + "hotelCount": 8, + "url": "/fi/kohteet/norja/bergen" + }, + { + "id": "273b0073-631e-410e-93b4-77b19f9ff3c3", + "name": "Trondheim", + "hotelIds": ["320", "764", "315", "316", "771", "380"], + "hotelCount": 6, + "url": "/fi/kohteet/norja/trondheim" + }, + { + "id": "46e5d77a-7cc5-428c-84dd-e49735808782", + "name": "Molde", + "hotelIds": ["793", "317"], + "hotelCount": 2, + "url": "/fi/kohteet/norja/molde" + }, + { + "id": "1145e98b-2289-4459-8a8a-563f9d46f135", + "name": "Hammerfest", + "hotelIds": ["307"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/hammerfest" + }, + { + "id": "d2ce98f8-9220-47e7-a6fe-84ac3546a52d", + "name": "Kirkkoniemi", + "hotelIds": ["306"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/kirkkoniemi" + }, + { + "id": "d90c0b4a-c046-4951-95a5-a64a4f3a6f30", + "name": "Kristiansund", + "hotelIds": ["319"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/kristiansund" + }, + { + "id": "80ad8f51-9ab5-4de4-8922-2efd8fd2e4ad", + "name": "Namsos", + "hotelIds": ["318"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/namsos" + }, + { + "id": "d0c9f8c7-6cf6-49aa-8a1e-405ef3f453cd", + "name": "Nordfjordeid", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7ba94bd4-8923-4c11-9c9e-ad539fc5d9fa", + "name": "Vadso", + "hotelIds": ["302"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/vadso" + }, + { + "id": "895648c8-7fa4-4deb-bc91-b21292f86cbc", + "name": "Sortland", + "hotelIds": ["359"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/sortland" + }, + { + "id": "59d334a1-41ef-4aa5-bb35-be951e17e409", + "name": "Hamar", + "hotelIds": ["344", "756"], + "hotelCount": 2, + "url": "/fi/kohteet/norja/hamar" + }, + { + "id": "2854a449-6760-4a28-972d-8fd153e06555", + "name": "Voss", + "hotelIds": ["792"], + "hotelCount": 1, + "url": "/fi/kohteet/norja/voss" + } + ] + }, + { + "country": "Puola", + "numberOfHotels": 2, + "cities": [ + { + "id": "1d4f8a2e-9d4e-4c56-8f32-09f11f9709b1", + "name": "Wroclaw", + "hotelIds": ["442"], + "hotelCount": 1, + "url": "/fi/kohteet/puola/wroclaw" + }, + { + "id": "2f33f4f2-a6b4-4d7c-9055-8bae8cc4c771", + "name": "Gdansk", + "hotelIds": ["441"], + "hotelCount": 1, + "url": "/fi/kohteet/Puola/gdansk" + } + ] + }, + { + "country": "Ruotsi", + "numberOfHotels": 89, + "cities": [ + { + "id": "a89c239a-651f-4289-b8b9-81d4b1c0861d", + "name": "Bollnas", + "hotelIds": ["873"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/bollnas" + }, + { + "id": "dafa384c-6262-4f0d-94f8-bd745279ca9d", + "name": "Norrköping", + "hotelIds": ["827", "852"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/norrkoping" + }, + { + "id": "6ce90724-4fd1-4095-b0ed-821c03ba6207", + "name": "Kalmar", + "hotelIds": ["847"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/kalmar" + }, + { + "id": "8a89ef25-c073-4f92-98e9-6cbf6b376447", + "name": "Borlänge", + "hotelIds": ["824"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/borlange" + }, + { + "id": "969d5c79-5263-465b-af94-2ab7b1c0b985", + "name": "Halmstad", + "hotelIds": ["839"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/halmstad" + }, + { + "id": "1d23c970-147a-4077-9403-7facecfdb7e8", + "name": "Helsingborg", + "hotelIds": ["217", "855"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/helsingborg" + }, + { + "id": "76fc5cab-b32d-4522-abd6-9e178bb251d1", + "name": "Jönköping", + "hotelIds": ["846", "856"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/jonkoping" + }, + { + "id": "86146840-41ca-4275-a4b3-4aa95b7a05ef", + "name": "Strömstad", + "hotelIds": ["888"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/stromstad" + }, + { + "id": "40d14e22-5378-4fc9-a770-7b74beb24a4e", + "name": "Arvika", + "hotelIds": ["845"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/arvika" + }, + { + "id": "75a73ca4-c51b-4eb2-a028-24279c78eb56", + "name": "Gävle", + "hotelIds": ["883", "871"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/gavle" + }, + { + "id": "c9adc640-1ff9-46fd-9eb7-335e124df6b7", + "name": "Kiiruna", + "hotelIds": ["218"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/kiiruna" + }, + { + "id": "49449db0-e483-4f07-ab3c-aa4ac0c2fd9e", + "name": "Malmo", + "hotelIds": ["881", "874", "818", "849", "878", "864"], + "hotelCount": 6, + "url": "/fi/kohteet/ruotsi/malmo" + }, + { + "id": "cb7c529c-f5a2-4f57-af2a-a4398fde6704", + "name": "Västerås", + "hotelIds": ["866"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/vasteras" + }, + { + "id": "3b231ad9-7d0f-4dd2-8004-beaad494fdd3", + "name": "Karlstad", + "hotelIds": ["848", "876", "832"], + "hotelCount": 3, + "url": "/fi/kohteet/ruotsi/karlstad" + }, + { + "id": "2353ff13-457f-48f2-b7c2-772cbf137ccc", + "name": "Nyköping", + "hotelIds": ["829"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/nykoping" + }, + { + "id": "8eb4ede8-3de8-49d5-87af-6fb0362cde9e", + "name": "Göteborg", + "hotelIds": [ + "867", + "801", + "806", + "851", + "841", + "816", + "216", + "817", + "215" + ], + "hotelCount": 9, + "url": "/fi/kohteet/ruotsi/goteborg" + }, + { + "id": "41616a4b-eb93-4215-b920-ea26f2e347bf", + "name": "Linköping", + "hotelIds": ["887", "872", "863"], + "hotelCount": 3, + "url": "/fi/kohteet/ruotsi/linkoping" + }, + { + "id": "d2a28d6f-3d82-415b-be65-93cfa16a36c7", + "name": "Lund", + "hotelIds": ["858"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/lund" + }, + { + "id": "2b3c909d-2eba-4ca2-86d1-b9ba12805058", + "name": "Borås", + "hotelIds": ["840"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/boras" + }, + { + "id": "2c5b454f-b8b4-4d3c-80c1-fc3726feee16", + "name": "Luulaja", + "hotelIds": ["868"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/luulaja" + }, + { + "id": "08761bd6-233c-4f88-922a-88cd3fb0dcd4", + "name": "Örebro", + "hotelIds": ["219", "869", "836"], + "hotelCount": 3, + "url": "/fi/kohteet/ruotsi/orebro" + }, + { + "id": "a97e0d9e-fb54-4ac9-b71b-52728de8b839", + "name": "Falun", + "hotelIds": ["844"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/falun" + }, + { + "id": "12721002-6269-4eaa-b625-02741b55b111", + "name": "Skövde", + "hotelIds": ["889"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/skovde" + }, + { + "id": "e3749235-cd7a-4791-85fe-a9d5cf2cf759", + "name": "Sundsvall", + "hotelIds": ["853", "834"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/sundsvall" + }, + { + "id": "dc865a94-4b99-44f7-8ad6-9015774d0ae8", + "name": "Uumaja", + "hotelIds": ["870", "882"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/uumaja" + }, + { + "id": "fcc62ee8-d451-462b-a37c-202155a72607", + "name": "Uppsala", + "hotelIds": ["861", "885"], + "hotelCount": 2, + "url": "/fi/kohteet/ruotsi/uppsala" + }, + { + "id": "9ea10699-2168-4c9c-8bc4-adb945344a49", + "name": "Östersund", + "hotelIds": ["859"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/ostersund" + }, + { + "id": "28db509e-fad0-47bc-a88b-3ee7977e5631", + "name": "testtraining", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "27eb9d85-91dc-41a1-af42-ba2bc66dc7ec", + "name": "Karlskrona", + "hotelIds": ["843"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/karlskrona" + }, + { + "id": "81e32ed6-727f-48e3-9235-7d2d2cd1d14f", + "name": "Skellefteå", + "hotelIds": ["823"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/skelleftea" + }, + { + "id": "19088b11-cc40-4639-afa3-ed8a2bc35586", + "name": "Södertälje", + "hotelIds": ["854"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/sodertalje" + }, + { + "id": "5a49c811-1f94-454e-ac42-ec92d6673bdc", + "name": "Värnamo", + "hotelIds": ["842"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/varnamo" + }, + { + "id": "32dc483a-55c6-4f43-b380-4248b9331b99", + "name": "Gällivare", + "hotelIds": ["891"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/gallivare" + }, + { + "id": "0001a677-d50b-454e-aa08-f7334c5ee9dd", + "name": "Örnsköldsvik", + "hotelIds": ["828"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/ornskoldsvik" + }, + { + "id": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", + "name": "Tukholma", + "hotelIds": [ + "879", + "890", + "830", + "220", + "810", + "811", + "821", + "222", + "809", + "865", + "803", + "213", + "808", + "857", + "812", + "211", + "833", + "813", + "214", + "814", + "886", + "838", + "875", + "826", + "802", + "223", + "805" + ], + "hotelCount": 27, + "url": "/fi/kohteet/ruotsi/tukholma" + }, + { + "id": "d1b1a499-6f3d-4527-88d4-005cef559ed6", + "name": "Trollhättan", + "hotelIds": ["850"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/trollhattan" + }, + { + "id": "7c29a63c-e3b1-4f53-a1a0-847a3f28f1de", + "name": "Växjö", + "hotelIds": ["860"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/vaxjo" + }, + { + "id": "aa290a3d-32de-4257-b7d9-7af8e5d8110e", + "name": "Visby", + "hotelIds": ["877"], + "hotelCount": 1, + "url": "/fi/kohteet/ruotsi/visby" + } + ] + }, + { + "country": "Saksa", + "numberOfHotels": 7, + "cities": [ + { + "id": "1c911bd9-b96f-40cf-9701-64598d6088b4", + "name": "Hampuri", + "hotelIds": ["550"], + "hotelCount": 1, + "url": "/fi/kohteet/saksa/hampuri" + }, + { + "id": "b706ebcd-5634-4a99-b97b-4de0ad680b11", + "name": "Frankfurt", + "hotelIds": ["555", "556"], + "hotelCount": 2, + "url": "/fi/kohteet/saksa/frankfurt" + }, + { + "id": "9f30e524-a179-4397-b929-4b6824aee7fa", + "name": "München", + "hotelIds": ["557"], + "hotelCount": 1, + "url": "/fi/kohteet/saksa/munchen" + }, + { + "id": "f0509318-ef8e-4513-af7a-9905cb7c4258", + "name": "Berliini", + "hotelIds": ["551", "554"], + "hotelCount": 2, + "url": "/fi/kohteet/saksa/berliini" + }, + { + "id": "7dcf1e04-ee3d-47ff-b5c3-387c5345ed67", + "name": "Nürnberg", + "hotelIds": ["558"], + "hotelCount": 1, + "url": "/fi/kohteet/saksa/nurnberg" + }, + { + "id": "1d5a42df-0fc6-4f85-9e83-3f7a94d063e5", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "bfe82dea-083a-44f6-8e8e-a6dd789c93ba", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + } + ] + }, + { + "country": "Suomi", + "numberOfHotels": 52, + "cities": [ + { + "id": "38483bbb-a1fa-442b-9c6d-dca25afdcdfe", + "name": "Ikaalinen", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fccff360-9de9-445f-866a-48d540812b78", + "name": "Espoo", + "hotelIds": ["611"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/espoo" + }, + { + "id": "33ba3355-a688-47c2-aadf-efb3d233a7e0", + "name": "Jyväskylä", + "hotelIds": ["675", "676", "608"], + "hotelCount": 3, + "url": "/fi/kohteet/suomi/jyvaskyla" + }, + { + "id": "4a92a999-9c0a-4b1f-a70f-a5e0e25b55a5", + "name": "Kajaani", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ac31bc09-bcad-437c-b408-11f8ad460cfb", + "name": "Vantaa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "59c26c47-1f4c-44a6-8ab3-c5aa6222cf31", + "name": "Imatra", + "hotelIds": ["696"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/imatra" + }, + { + "id": "0de4cf0d-703b-4abd-a69a-690307339cd0", + "name": "Joensuu", + "hotelIds": ["688"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/joensuu" + }, + { + "id": "6d54cb54-30f2-48d4-860f-7217e83d47a9", + "name": "Hyvinkää", + "hotelIds": ["668"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/hyvinkaa" + }, + { + "id": "9f859093-d5c5-47e5-958b-62a8e5f5109b", + "name": "Nokia", + "hotelIds": ["679"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/nokia" + }, + { + "id": "e68e2ac2-b2b9-48c9-aa48-7c5b047cafb3", + "name": "Kouvola", + "hotelIds": ["672"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/kouvola" + }, + { + "id": "d5749fd0-fa3e-4bb9-8e0e-17a7209a2e84", + "name": "Seinäjoki", + "hotelIds": ["687"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/seinajoki" + }, + { + "id": "b64d8a50-9b46-49ad-baa3-464a1f0fc49f", + "name": "Lappeenranta", + "hotelIds": ["615"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/lappeenranta" + }, + { + "id": "d4b63ca6-96d4-4971-b88a-77281944c9fb", + "name": "Pori", + "hotelIds": ["628"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/pori" + }, + { + "id": "2b7f63d4-a232-4846-9dcc-c4aa3b3ce71f", + "name": "Helsinki", + "hotelIds": [ + "638", + "622", + "665", + "666", + "661", + "603", + "662", + "663", + "605", + "660", + "601", + "634", + "697", + "639", + "698", + "643" + ], + "hotelCount": 16, + "url": "/fi/kohteet/suomi/helsinki" + }, + { + "id": "09a332fa-fe43-4c82-be6d-302a7aa0c140", + "name": "Riihimäki", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "f42dc867-06fa-4ed1-9a7c-00df6ad591fe", + "name": "Hämeenlinna", + "hotelIds": ["669", "670"], + "hotelCount": 2, + "url": "/fi/kohteet/suomi/hameenlinna" + }, + { + "id": "51920988-eed2-4c89-83fa-0960c9bb7a79", + "name": "Mikkeli", + "hotelIds": ["674"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/mikkeli" + }, + { + "id": "ae5af1f5-a971-4f1c-88d2-0f941832b7ea", + "name": "Rauma", + "hotelIds": ["684"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/rauma" + }, + { + "id": "2682392b-e3cf-4b21-b3ef-a948494ed41d", + "name": "Kotka", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c35a8bcd-e2b7-4e7c-bb33-f4b103542363", + "name": "Siuntio", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "e36d8c5a-8275-4487-97a4-2eae6be8fe42", + "name": "Forssa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "5915950f-e55e-4c78-bb24-84495332ce35", + "name": "Vaasa", + "hotelIds": ["686", "637"], + "hotelCount": 2, + "url": "/fi/kohteet/suomi/vaasa" + }, + { + "id": "fd66bcc0-98c6-49a7-b95a-2af905e3263e", + "name": "Oulu", + "hotelIds": ["692", "624"], + "hotelCount": 2, + "url": "/fi/kohteet/suomi/oulu" + }, + { + "id": "d2081c15-865e-4c1d-8c93-6d4bdedc8f48", + "name": "Ruka Kuusamo", + "hotelIds": ["691"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/ruka kuusamo" + }, + { + "id": "f3fd2e15-84ab-40e5-aabd-3d5bd04f36f2", + "name": "Rovaniemi", + "hotelIds": ["695", "694", "626"], + "hotelCount": 3, + "url": "/fi/kohteet/suomi/rovaniemi" + }, + { + "id": "9233a45a-15e7-480e-9579-09dc9209bdf6", + "name": "Kuopio", + "hotelIds": ["689", "609"], + "hotelCount": 2, + "url": "/fi/kohteet/suomi/kuopio" + }, + { + "id": "8c5c489b-b559-4e73-91a1-a4bc2eeb8b47", + "name": "Salo", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c317ab90-3416-479c-a87f-839e5a482ddf", + "name": "Järvenpää", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7bc37280-2dbd-4b80-aec0-9d06968f1318", + "name": "Lahti", + "hotelIds": ["667"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/lahti" + }, + { + "id": "2a69a227-3c37-458b-82cc-fd50b16a93b8", + "name": "Tampere", + "hotelIds": ["607", "677", "617", "678", "635"], + "hotelCount": 5, + "url": "/fi/kohteet/suomi/tampere" + }, + { + "id": "afe01b68-a51f-4303-b86e-b84334ff09de", + "name": "Turku", + "hotelIds": ["640", "619", "629"], + "hotelCount": 3, + "url": "/fi/kohteet/suomi/turku" + }, + { + "id": "f78ee1ca-7567-4ff7-b346-04293314ad4b", + "name": "Kemi", + "hotelIds": ["693"], + "hotelCount": 1, + "url": "/fi/kohteet/suomi/kemi" + } + ] + }, + { + "country": "Tanska", + "numberOfHotels": 29, + "cities": [ + { + "id": "a906b368-ecf6-4d9e-8796-8ad98c85bbdf", + "name": "Silkeborg", + "hotelIds": ["747"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/silkeborg" + }, + { + "id": "a845c2b3-e477-4c85-b375-205add95c9e5", + "name": "Kööpenhamina", + "hotelIds": [ + "749", + "715", + "719", + "739", + "744", + "721", + "731", + "714", + "724", + "718", + "716", + "723", + "727" + ], + "hotelCount": 13, + "url": "/fi/kohteet/tanska/koopenhamina" + }, + { + "id": "75a15b7e-5368-4b1d-9478-baf9404b478c", + "name": "Esbjerg", + "hotelIds": ["732"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/esbjerg" + }, + { + "id": "f3e43985-13ad-45e7-9997-844d06cb48d6", + "name": "Ringsted", + "hotelIds": ["733"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/ringsted" + }, + { + "id": "5dc8fe17-7588-48b3-b7a2-35c7736fdd53", + "name": "Frederikshavn", + "hotelIds": ["734"], + "hotelCount": 1 + }, + { + "id": "6a6ce6fc-78a5-4910-8d9b-88f4376fc0b6", + "name": "Herning", + "hotelIds": ["746"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/herning" + }, + { + "id": "44275ac0-578c-40b5-8970-8b7ea75e15e8", + "name": "Roskilde", + "hotelIds": ["745"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/roskilde" + }, + { + "id": "7c516f4b-a3c6-4a02-ad5b-ecf71b349a97", + "name": "Vejle", + "hotelIds": ["729"], + "hotelCount": 1 + }, + { + "id": "4fae11e6-9529-42b3-93f4-6bb293880a70", + "name": "Aalborg", + "hotelIds": ["720", "735"], + "hotelCount": 2, + "url": "/fi/kohteet/tanska/aalborg" + }, + { + "id": "504c2772-43b6-414a-913b-40c05eccaddd", + "name": "Aarhus", + "hotelIds": ["726", "736", "738"], + "hotelCount": 3, + "url": "/fi/kohteet/tanska/aarhus" + }, + { + "id": "a98d6ae7-5d36-4b24-95a7-5c0fc302ae83", + "name": "Sønderborg", + "hotelIds": ["728"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/sonderborg" + }, + { + "id": "81aefed1-2db9-4810-b780-1253c65e35ee", + "name": "Kolding", + "hotelIds": ["737"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/kolding" + }, + { + "id": "3cff390a-f436-4fe5-a88b-aa97db579755", + "name": "Horsens", + "hotelIds": ["713"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/horsens" + }, + { + "id": "4c4bb05e-1c45-4c3e-9503-4163f48bef5b", + "name": "Odense", + "hotelIds": ["748"], + "hotelCount": 1, + "url": "/fi/kohteet/tanska/odense" + } + ] + } +] diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-no.json b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-no.json new file mode 100644 index 000000000..6102eb7a0 --- /dev/null +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-no.json @@ -0,0 +1,1047 @@ +[ + { + "country": "Danmark", + "numberOfHotels": 29, + "cities": [ + { + "id": "a906b368-ecf6-4d9e-8796-8ad98c85bbdf", + "name": "Silkeborg", + "hotelIds": ["747"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/silkeborg" + }, + { + "id": "a845c2b3-e477-4c85-b375-205add95c9e5", + "name": "København", + "hotelIds": [ + "749", + "715", + "719", + "739", + "744", + "721", + "731", + "714", + "724", + "718", + "716", + "723", + "727" + ], + "hotelCount": 13, + "url": "/no/destinasjoner/danmark/kobenhavn" + }, + { + "id": "75a15b7e-5368-4b1d-9478-baf9404b478c", + "name": "Esbjerg", + "hotelIds": ["732"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/esbjerg" + }, + { + "id": "f3e43985-13ad-45e7-9997-844d06cb48d6", + "name": "Ringsted", + "hotelIds": ["733"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/ringsted" + }, + { + "id": "5dc8fe17-7588-48b3-b7a2-35c7736fdd53", + "name": "Frederikshavn", + "hotelIds": ["734"], + "hotelCount": 1 + }, + { + "id": "6a6ce6fc-78a5-4910-8d9b-88f4376fc0b6", + "name": "Herning", + "hotelIds": ["746"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/herning" + }, + { + "id": "44275ac0-578c-40b5-8970-8b7ea75e15e8", + "name": "Roskilde", + "hotelIds": ["745"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/roskilde" + }, + { + "id": "7c516f4b-a3c6-4a02-ad5b-ecf71b349a97", + "name": "Vejle", + "hotelIds": ["729"], + "hotelCount": 1 + }, + { + "id": "4fae11e6-9529-42b3-93f4-6bb293880a70", + "name": "Aalborg", + "hotelIds": ["720", "735"], + "hotelCount": 2, + "url": "/no/destinasjoner/danmark/aalborg" + }, + { + "id": "504c2772-43b6-414a-913b-40c05eccaddd", + "name": "Aarhus", + "hotelIds": ["726", "736", "738"], + "hotelCount": 3, + "url": "/no/destinasjoner/danmark/aarhus" + }, + { + "id": "a98d6ae7-5d36-4b24-95a7-5c0fc302ae83", + "name": "Sønderborg", + "hotelIds": ["728"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/sonderborg" + }, + { + "id": "81aefed1-2db9-4810-b780-1253c65e35ee", + "name": "Kolding", + "hotelIds": ["737"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/kolding" + }, + { + "id": "3cff390a-f436-4fe5-a88b-aa97db579755", + "name": "Horsens", + "hotelIds": ["713"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/horsens" + }, + { + "id": "4c4bb05e-1c45-4c3e-9503-4163f48bef5b", + "name": "Odense", + "hotelIds": ["748"], + "hotelCount": 1, + "url": "/no/destinasjoner/danmark/odense" + } + ] + }, + { + "country": "Finland", + "countryUrl": "/no/destinasjoner/finland", + "numberOfHotels": 52, + "cities": [ + { + "id": "38483bbb-a1fa-442b-9c6d-dca25afdcdfe", + "name": "Ikaalinen", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fccff360-9de9-445f-866a-48d540812b78", + "name": "Espoo", + "hotelIds": ["611"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/espoo" + }, + { + "id": "33ba3355-a688-47c2-aadf-efb3d233a7e0", + "name": "Jyväskylä", + "hotelIds": ["675", "676", "608"], + "hotelCount": 3, + "url": "/no/destinasjoner/finland/jyvaskyla" + }, + { + "id": "4a92a999-9c0a-4b1f-a70f-a5e0e25b55a5", + "name": "Kajaani", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ac31bc09-bcad-437c-b408-11f8ad460cfb", + "name": "Vantaa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "59c26c47-1f4c-44a6-8ab3-c5aa6222cf31", + "name": "Imatra", + "hotelIds": ["696"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/imatra" + }, + { + "id": "0de4cf0d-703b-4abd-a69a-690307339cd0", + "name": "Joensuu", + "hotelIds": ["688"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/joensuu" + }, + { + "id": "6d54cb54-30f2-48d4-860f-7217e83d47a9", + "name": "Hyvinkää", + "hotelIds": ["668"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/hyvinkaa" + }, + { + "id": "9f859093-d5c5-47e5-958b-62a8e5f5109b", + "name": "Nokia", + "hotelIds": ["679"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/nokia" + }, + { + "id": "e68e2ac2-b2b9-48c9-aa48-7c5b047cafb3", + "name": "Kouvola", + "hotelIds": ["672"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/kouvola" + }, + { + "id": "d5749fd0-fa3e-4bb9-8e0e-17a7209a2e84", + "name": "Seinäjoki", + "hotelIds": ["687"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/seinajoki" + }, + { + "id": "b64d8a50-9b46-49ad-baa3-464a1f0fc49f", + "name": "Lappeenranta", + "hotelIds": ["615"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/lappeenranta" + }, + { + "id": "d4b63ca6-96d4-4971-b88a-77281944c9fb", + "name": "Pori", + "hotelIds": ["628"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/pori" + }, + { + "id": "2b7f63d4-a232-4846-9dcc-c4aa3b3ce71f", + "name": "Helsinki", + "hotelIds": [ + "638", + "622", + "665", + "666", + "661", + "603", + "662", + "663", + "605", + "660", + "601", + "634", + "697", + "639", + "698", + "643" + ], + "hotelCount": 16, + "url": "/no/destinasjoner/finland/helsinki" + }, + { + "id": "09a332fa-fe43-4c82-be6d-302a7aa0c140", + "name": "Riihimaki", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "f42dc867-06fa-4ed1-9a7c-00df6ad591fe", + "name": "Hämeenlinna", + "hotelIds": ["669", "670"], + "hotelCount": 2, + "url": "/no/destinasjoner/finland/hameenlinna" + }, + { + "id": "2682392b-e3cf-4b21-b3ef-a948494ed41d", + "name": "Kotka", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "51920988-eed2-4c89-83fa-0960c9bb7a79", + "name": "Mikkeli", + "hotelIds": ["674"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/mikkeli" + }, + { + "id": "ae5af1f5-a971-4f1c-88d2-0f941832b7ea", + "name": "Rauma", + "hotelIds": ["684"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/rauma" + }, + { + "id": "c35a8bcd-e2b7-4e7c-bb33-f4b103542363", + "name": "Siuntio", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "e36d8c5a-8275-4487-97a4-2eae6be8fe42", + "name": "Forssa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fd66bcc0-98c6-49a7-b95a-2af905e3263e", + "name": "Oulu", + "hotelIds": ["692", "624"], + "hotelCount": 2, + "url": "/no/destinasjoner/finland/oulu" + }, + { + "id": "5915950f-e55e-4c78-bb24-84495332ce35", + "name": "Vaasa", + "hotelIds": ["686", "637"], + "hotelCount": 2, + "url": "/no/destinasjoner/finland/vaasa" + }, + { + "id": "d2081c15-865e-4c1d-8c93-6d4bdedc8f48", + "name": "Ruka Kuusamo", + "hotelIds": ["691"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/ruka kuusamo" + }, + { + "id": "f3fd2e15-84ab-40e5-aabd-3d5bd04f36f2", + "name": "Rovaniemi", + "hotelIds": ["695", "694", "626"], + "hotelCount": 3, + "url": "/no/destinasjoner/finland/rovaniemi" + }, + { + "id": "9233a45a-15e7-480e-9579-09dc9209bdf6", + "name": "Kuopio", + "hotelIds": ["689", "609"], + "hotelCount": 2, + "url": "/no/destinasjoner/finland/kuopio" + }, + { + "id": "8c5c489b-b559-4e73-91a1-a4bc2eeb8b47", + "name": "Salo", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c317ab90-3416-479c-a87f-839e5a482ddf", + "name": "Järvenpää", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7bc37280-2dbd-4b80-aec0-9d06968f1318", + "name": "Lahti", + "hotelIds": ["667"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/lahti" + }, + { + "id": "2a69a227-3c37-458b-82cc-fd50b16a93b8", + "name": "Tampere", + "hotelIds": ["607", "677", "617", "678", "635"], + "hotelCount": 5, + "url": "/no/destinasjoner/finland/tampere" + }, + { + "id": "afe01b68-a51f-4303-b86e-b84334ff09de", + "name": "Turku", + "hotelIds": ["640", "619", "629"], + "hotelCount": 3, + "url": "/no/destinasjoner/finland/turku" + }, + { + "id": "f78ee1ca-7567-4ff7-b346-04293314ad4b", + "name": "Kemi", + "hotelIds": ["693"], + "hotelCount": 1, + "url": "/no/destinasjoner/finland/kemi" + } + ] + }, + { + "country": "Norge", + "numberOfHotels": 83, + "cities": [ + { + "id": "32b14e04-9d9e-4cfd-864c-49cf6db2ba93", + "name": "Ålesund", + "hotelIds": ["368"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/alesund" + }, + { + "id": "23bccd2d-ebfe-459a-9b7d-cadad09d6221", + "name": "Drammen", + "hotelIds": ["786"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/drammen" + }, + { + "id": "4736b77d-2466-43b5-8630-54e57143ed66", + "name": "Fredrikstad", + "hotelIds": ["360"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/fredrikstad" + }, + { + "id": "124e1cca-91cb-4355-a8d6-afb41d70f8b1", + "name": "Mo i Rana", + "hotelIds": ["367"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/mo i rana" + }, + { + "id": "3b409f3b-796d-44f3-bd57-ea28100aa1e1", + "name": "Narvik", + "hotelIds": ["313"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/narvik" + }, + { + "id": "87b3e1f3-d01a-4375-beb0-8815bfe7267d", + "name": "Mysen", + "hotelIds": ["388"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/mysen" + }, + { + "id": "4a5b1a78-d296-43f0-83f2-e33c545857c4", + "name": "Elverum", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "b99b4926-4792-4535-b8e0-cefd7c23cec8", + "name": "Harstad", + "hotelIds": ["363"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/harstad" + }, + { + "id": "3d8de99c-2ea8-4b1b-b8a2-2d035a0d1586", + "name": "Karasjok", + "hotelIds": ["305"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/karasjok" + }, + { + "id": "85cf723a-be8b-4b3c-b22b-ec7e119f1f87", + "name": "Sandefjord", + "hotelIds": ["329"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/sandefjord" + }, + { + "id": "f2136df1-d0ca-42bf-ada7-26f8399ef3f4", + "name": "Tjøme", + "hotelIds": ["330"], + "hotelCount": 1 + }, + { + "id": "76c2d8b1-61d4-4508-b54c-4992c1c3d5d6", + "name": "Tromsø", + "hotelIds": ["362", "310", "796"], + "hotelCount": 3, + "url": "/no/destinasjoner/norge/tromso" + }, + { + "id": "647cb4d0-3ef3-4de2-ad49-160bc40cd10b", + "name": "Førde", + "hotelIds": ["321"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/forde" + }, + { + "id": "58d796e9-040d-49d5-862f-ee1625f4bb3f", + "name": "Lillehammer", + "hotelIds": ["789", "790", "343"], + "hotelCount": 3, + "url": "/no/destinasjoner/norge/lillehammer" + }, + { + "id": "ec27c5fa-9aec-4f43-b2f1-ba8a05d5ca49", + "name": "Oslo", + "hotelIds": [ + "340", + "339", + "751", + "766", + "776", + "390", + "342", + "337", + "333", + "391", + "332", + "784", + "773", + "336", + "760", + "759", + "765", + "334", + "774" + ], + "hotelCount": 19, + "url": "/no/destinasjoner/norge/oslo" + }, + { + "id": "e3c4cba6-0838-43ee-b23e-1d98ed39cf3b", + "name": "Sandnessjøen", + "hotelIds": ["365"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/sandnessjoen" + }, + { + "id": "40c6c796-50dc-470b-a25f-84ab1dd3e32f", + "name": "Alta", + "hotelIds": ["301"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/alta" + }, + { + "id": "eed82c19-051f-4cee-bb16-80434d398f0e", + "name": "Oppdal", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "cd5e4606-d115-4382-bb12-25a9a7f7e230", + "name": "Bodø", + "hotelIds": ["312", "314"], + "hotelCount": 2, + "url": "/no/destinasjoner/norge/bodo" + }, + { + "id": "049be5eb-e488-4b1e-b060-1cb41503d118", + "name": "Fauske", + "hotelIds": ["374"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/fauske" + }, + { + "id": "7faffcc8-6b6c-45b4-abf3-700621d32f16", + "name": "Fagernes", + "hotelIds": ["787"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/fagernes" + }, + { + "id": "2cb66d77-93cb-44a2-a67d-b9024dca5f8f", + "name": "Haugesund", + "hotelIds": ["772"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/haugesund" + }, + { + "id": "f8e6ed30-92e5-4693-8f86-847247c5eaa9", + "name": "Honningsvåg", + "hotelIds": ["304", "308", "303"], + "hotelCount": 3, + "url": "/no/destinasjoner/norge/honningsvag" + }, + { + "id": "9fad38e0-a834-4ef3-92b0-7807cf70c774", + "name": "Kristiansand", + "hotelIds": ["788", "780"], + "hotelCount": 2, + "url": "/no/destinasjoner/norge/kristiansand" + }, + { + "id": "33c32811-4f33-47c7-a743-a7e14a7e4002", + "name": "Lofoten", + "hotelIds": ["791", "387", "311"], + "hotelCount": 3, + "url": "/no/destinasjoner/norge/lofoten" + }, + { + "id": "7b95287a-3b89-467f-929e-f543c151b222", + "name": "Grimstad", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "dac1e18e-00bc-4bfa-82ac-76ebc95e154f", + "name": "Stavanger", + "hotelIds": ["795", "325", "781", "775", "323"], + "hotelCount": 5, + "url": "/no/destinasjoner/norge/stavanger" + }, + { + "id": "130a7705-3ef8-4d7d-bd88-7108227777b4", + "name": "Hønefoss", + "hotelIds": ["389"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/honefoss" + }, + { + "id": "7ff1e7db-c0d8-4a1a-ae41-133804625862", + "name": "Sarpsborg", + "hotelIds": ["345"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/sarpsborg" + }, + { + "id": "ced49abb-1ca9-4ed1-a4fd-f93a8ce8f2b3", + "name": "Bergen", + "hotelIds": ["785", "322", "770", "757", "778", "782", "326", "779"], + "hotelCount": 8, + "url": "/no/destinasjoner/norge/bergen" + }, + { + "id": "273b0073-631e-410e-93b4-77b19f9ff3c3", + "name": "Trondheim", + "hotelIds": ["320", "764", "315", "316", "771", "380"], + "hotelCount": 6, + "url": "/no/destinasjoner/norge/trondheim" + }, + { + "id": "46e5d77a-7cc5-428c-84dd-e49735808782", + "name": "Molde", + "hotelIds": ["793", "317"], + "hotelCount": 2, + "url": "/no/destinasjoner/norge/molde" + }, + { + "id": "1145e98b-2289-4459-8a8a-563f9d46f135", + "name": "Hammerfest", + "hotelIds": ["307"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/hammerfest" + }, + { + "id": "d2ce98f8-9220-47e7-a6fe-84ac3546a52d", + "name": "Kirkenes", + "hotelIds": ["306"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/kirkenes" + }, + { + "id": "d90c0b4a-c046-4951-95a5-a64a4f3a6f30", + "name": "Kristiansund", + "hotelIds": ["319"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/kristiansund" + }, + { + "id": "80ad8f51-9ab5-4de4-8922-2efd8fd2e4ad", + "name": "Namsos", + "hotelIds": ["318"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/namsos" + }, + { + "id": "d0c9f8c7-6cf6-49aa-8a1e-405ef3f453cd", + "name": "Nordfjordeid", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7ba94bd4-8923-4c11-9c9e-ad539fc5d9fa", + "name": "Vadsø", + "hotelIds": ["302"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/vadso" + }, + { + "id": "895648c8-7fa4-4deb-bc91-b21292f86cbc", + "name": "Sortland", + "hotelIds": ["359"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/sortland" + }, + { + "id": "59d334a1-41ef-4aa5-bb35-be951e17e409", + "name": "Hamar", + "hotelIds": ["344", "756"], + "hotelCount": 2, + "url": "/no/destinasjoner/norge/hamar" + }, + { + "id": "2854a449-6760-4a28-972d-8fd153e06555", + "name": "Voss", + "hotelIds": ["792"], + "hotelCount": 1, + "url": "/no/destinasjoner/norge/voss" + } + ] + }, + { + "country": "Polen", + "numberOfHotels": 2, + "cities": [ + { + "id": "1d4f8a2e-9d4e-4c56-8f32-09f11f9709b1", + "name": "Wroclaw", + "hotelIds": ["442"], + "hotelCount": 1, + "url": "/no/destinasjoner/polen/wroclaw" + }, + { + "id": "2f33f4f2-a6b4-4d7c-9055-8bae8cc4c771", + "name": "Gdansk", + "hotelIds": ["441"], + "hotelCount": 1, + "url": "/no/destinasjoner/polen/gdansk" + } + ] + }, + { + "country": "Sverige", + "numberOfHotels": 89, + "cities": [ + { + "id": "dafa384c-6262-4f0d-94f8-bd745279ca9d", + "name": "Norrköping", + "hotelIds": ["827", "852"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/norrkoping" + }, + { + "id": "a89c239a-651f-4289-b8b9-81d4b1c0861d", + "name": "Bollnas", + "hotelIds": ["873"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/bollnas" + }, + { + "id": "8a89ef25-c073-4f92-98e9-6cbf6b376447", + "name": "Borlange", + "hotelIds": ["824"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/borlange" + }, + { + "id": "6ce90724-4fd1-4095-b0ed-821c03ba6207", + "name": "Kalmar", + "hotelIds": ["847"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/kalmar" + }, + { + "id": "969d5c79-5263-465b-af94-2ab7b1c0b985", + "name": "Halmstad", + "hotelIds": ["839"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/halmstad" + }, + { + "id": "1d23c970-147a-4077-9403-7facecfdb7e8", + "name": "Helsingborg", + "hotelIds": ["217", "855"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/helsingborg" + }, + { + "id": "76fc5cab-b32d-4522-abd6-9e178bb251d1", + "name": "Jönköping", + "hotelIds": ["846", "856"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/jonkoping" + }, + { + "id": "86146840-41ca-4275-a4b3-4aa95b7a05ef", + "name": "Strømstad", + "hotelIds": ["888"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/stromstad" + }, + { + "id": "40d14e22-5378-4fc9-a770-7b74beb24a4e", + "name": "Arvika", + "hotelIds": ["845"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/arvika" + }, + { + "id": "75a73ca4-c51b-4eb2-a028-24279c78eb56", + "name": "Gävle", + "hotelIds": ["883", "871"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/gavle" + }, + { + "id": "c9adc640-1ff9-46fd-9eb7-335e124df6b7", + "name": "Kiruna", + "hotelIds": ["218"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/kiruna" + }, + { + "id": "49449db0-e483-4f07-ab3c-aa4ac0c2fd9e", + "name": "Malmö", + "hotelIds": ["881", "874", "818", "849", "878", "864"], + "hotelCount": 6, + "url": "/no/destinasjoner/sverige/malmo" + }, + { + "id": "cb7c529c-f5a2-4f57-af2a-a4398fde6704", + "name": "Västerås", + "hotelIds": ["866"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/vasteras" + }, + { + "id": "3b231ad9-7d0f-4dd2-8004-beaad494fdd3", + "name": "Karlstad", + "hotelIds": ["848", "876", "832"], + "hotelCount": 3, + "url": "/no/destinasjoner/sverige/karlstad" + }, + { + "id": "2353ff13-457f-48f2-b7c2-772cbf137ccc", + "name": "Nyköping", + "hotelIds": ["829"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/nykoping" + }, + { + "id": "8eb4ede8-3de8-49d5-87af-6fb0362cde9e", + "name": "Gøteborg", + "hotelIds": [ + "867", + "801", + "806", + "851", + "841", + "816", + "216", + "817", + "215" + ], + "hotelCount": 9, + "url": "/no/destinasjoner/sverige/goteborg" + }, + { + "id": "41616a4b-eb93-4215-b920-ea26f2e347bf", + "name": "Linköping", + "hotelIds": ["887", "872", "863"], + "hotelCount": 3, + "url": "/no/destinasjoner/sverige/linkoping" + }, + { + "id": "d2a28d6f-3d82-415b-be65-93cfa16a36c7", + "name": "Lund", + "hotelIds": ["858"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/lund" + }, + { + "id": "2b3c909d-2eba-4ca2-86d1-b9ba12805058", + "name": "Borås", + "hotelIds": ["840"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/boras" + }, + { + "id": "a97e0d9e-fb54-4ac9-b71b-52728de8b839", + "name": "Falun", + "hotelIds": ["844"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/falun" + }, + { + "id": "2c5b454f-b8b4-4d3c-80c1-fc3726feee16", + "name": "Luleå", + "hotelIds": ["868"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/lulea" + }, + { + "id": "08761bd6-233c-4f88-922a-88cd3fb0dcd4", + "name": "Örebro", + "hotelIds": ["219", "869", "836"], + "hotelCount": 3, + "url": "/no/destinasjoner/sverige/orebro" + }, + { + "id": "12721002-6269-4eaa-b625-02741b55b111", + "name": "Skovde", + "hotelIds": ["889"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/skovde" + }, + { + "id": "e3749235-cd7a-4791-85fe-a9d5cf2cf759", + "name": "Sundsvall", + "hotelIds": ["853", "834"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/sundsvall" + }, + { + "id": "dc865a94-4b99-44f7-8ad6-9015774d0ae8", + "name": "Umeå", + "hotelIds": ["870", "882"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/umea" + }, + { + "id": "fcc62ee8-d451-462b-a37c-202155a72607", + "name": "Uppsala", + "hotelIds": ["861", "885"], + "hotelCount": 2, + "url": "/no/destinasjoner/sverige/uppsala" + }, + { + "id": "9ea10699-2168-4c9c-8bc4-adb945344a49", + "name": "Östersund", + "hotelIds": ["859"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/ostersund" + }, + { + "id": "28db509e-fad0-47bc-a88b-3ee7977e5631", + "name": "testtraining", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "27eb9d85-91dc-41a1-af42-ba2bc66dc7ec", + "name": "Karlskrona", + "hotelIds": ["843"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/karlskrona" + }, + { + "id": "81e32ed6-727f-48e3-9235-7d2d2cd1d14f", + "name": "Skellefteå", + "hotelIds": ["823"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/skelleftea" + }, + { + "id": "19088b11-cc40-4639-afa3-ed8a2bc35586", + "name": "Södertälje", + "hotelIds": ["854"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/sodertalje" + }, + { + "id": "5a49c811-1f94-454e-ac42-ec92d6673bdc", + "name": "Varnamo", + "hotelIds": ["842"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/varnamo" + }, + { + "id": "32dc483a-55c6-4f43-b380-4248b9331b99", + "name": "Gällivare", + "hotelIds": ["891"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/gallivare" + }, + { + "id": "0001a677-d50b-454e-aa08-f7334c5ee9dd", + "name": "Örnsköldsvik", + "hotelIds": ["828"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/ornskoldsvik" + }, + { + "id": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", + "name": "Stockholm", + "hotelIds": [ + "879", + "890", + "830", + "220", + "810", + "811", + "821", + "222", + "809", + "865", + "803", + "213", + "808", + "857", + "812", + "211", + "833", + "813", + "214", + "814", + "886", + "838", + "875", + "826", + "802", + "223", + "805" + ], + "hotelCount": 27, + "url": "/no/destinasjoner/sverige/stockholm" + }, + { + "id": "d1b1a499-6f3d-4527-88d4-005cef559ed6", + "name": "Trollhättan", + "hotelIds": ["850"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/trollhattan" + }, + { + "id": "7c29a63c-e3b1-4f53-a1a0-847a3f28f1de", + "name": "Växjö", + "hotelIds": ["860"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/vaxjo" + }, + { + "id": "aa290a3d-32de-4257-b7d9-7af8e5d8110e", + "name": "Visby", + "hotelIds": ["877"], + "hotelCount": 1, + "url": "/no/destinasjoner/sverige/visby" + } + ] + }, + { + "country": "Tyskland", + "numberOfHotels": 7, + "cities": [ + { + "id": "1c911bd9-b96f-40cf-9701-64598d6088b4", + "name": "Hamburg", + "hotelIds": ["550"], + "hotelCount": 1, + "url": "/no/destinasjoner/tyskland/hamburg" + }, + { + "id": "b706ebcd-5634-4a99-b97b-4de0ad680b11", + "name": "Frankfurt", + "hotelIds": ["555", "556"], + "hotelCount": 2, + "url": "/no/destinasjoner/tyskland/frankfurt" + }, + { + "id": "9f30e524-a179-4397-b929-4b6824aee7fa", + "name": "München", + "hotelIds": ["557"], + "hotelCount": 1, + "url": "/no/destinasjoner/tyskland/munchen" + }, + { + "id": "f0509318-ef8e-4513-af7a-9905cb7c4258", + "name": "Berlin", + "hotelIds": ["551", "554"], + "hotelCount": 2, + "url": "/no/destinasjoner/tyskland/berlin" + }, + { + "id": "7dcf1e04-ee3d-47ff-b5c3-387c5345ed67", + "name": "Nürnberg", + "hotelIds": ["558"], + "hotelCount": 1, + "url": "/no/destinasjoner/tyskland/nurnberg" + }, + { + "id": "e60f2a65-63df-4871-bf63-a2f3953d59e1", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "bfe82dea-083a-44f6-8e8e-a6dd789c93ba", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + } + ] + } +] diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-sv.json b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-sv.json new file mode 100644 index 000000000..4cc71bdc2 --- /dev/null +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/destinations-sv.json @@ -0,0 +1,1047 @@ +[ + { + "country": "Danmark", + "numberOfHotels": 29, + "cities": [ + { + "id": "a906b368-ecf6-4d9e-8796-8ad98c85bbdf", + "name": "Silkeborg", + "hotelIds": ["747"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/silkeborg" + }, + { + "id": "a845c2b3-e477-4c85-b375-205add95c9e5", + "name": "Köpenhamn", + "hotelIds": [ + "749", + "715", + "719", + "739", + "744", + "721", + "731", + "714", + "724", + "718", + "716", + "723", + "727" + ], + "hotelCount": 13, + "url": "/sv/destinationer/danmark/kopenhamn" + }, + { + "id": "75a15b7e-5368-4b1d-9478-baf9404b478c", + "name": "Esbjerg", + "hotelIds": ["732"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/esbjerg" + }, + { + "id": "f3e43985-13ad-45e7-9997-844d06cb48d6", + "name": "Ringsted", + "hotelIds": ["733"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/ringsted" + }, + { + "id": "5dc8fe17-7588-48b3-b7a2-35c7736fdd53", + "name": "Fredrikshamn", + "hotelIds": ["734"], + "hotelCount": 1 + }, + { + "id": "6a6ce6fc-78a5-4910-8d9b-88f4376fc0b6", + "name": "Herning", + "hotelIds": ["746"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/herning" + }, + { + "id": "44275ac0-578c-40b5-8970-8b7ea75e15e8", + "name": "Roskilde", + "hotelIds": ["745"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/roskilde" + }, + { + "id": "7c516f4b-a3c6-4a02-ad5b-ecf71b349a97", + "name": "Vejle", + "hotelIds": ["729"], + "hotelCount": 1 + }, + { + "id": "4fae11e6-9529-42b3-93f4-6bb293880a70", + "name": "Ålborg", + "hotelIds": ["720", "735"], + "hotelCount": 2, + "url": "/sv/destinationer/danmark/alborg" + }, + { + "id": "504c2772-43b6-414a-913b-40c05eccaddd", + "name": "Århus", + "hotelIds": ["726", "736", "738"], + "hotelCount": 3, + "url": "/sv/destinationer/danmark/arhus" + }, + { + "id": "a98d6ae7-5d36-4b24-95a7-5c0fc302ae83", + "name": "Sønderborg", + "hotelIds": ["728"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/sonderborg" + }, + { + "id": "81aefed1-2db9-4810-b780-1253c65e35ee", + "name": "Kolding", + "hotelIds": ["737"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/kolding" + }, + { + "id": "3cff390a-f436-4fe5-a88b-aa97db579755", + "name": "Horsens", + "hotelIds": ["713"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/horsens" + }, + { + "id": "4c4bb05e-1c45-4c3e-9503-4163f48bef5b", + "name": "Odense", + "hotelIds": ["748"], + "hotelCount": 1, + "url": "/sv/destinationer/danmark/odense" + } + ] + }, + { + "country": "Finland", + "countryUrl": "/sv/destinationer/finland", + "numberOfHotels": 52, + "cities": [ + { + "id": "38483bbb-a1fa-442b-9c6d-dca25afdcdfe", + "name": "Ikalis", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "fccff360-9de9-445f-866a-48d540812b78", + "name": "Esbo", + "hotelIds": ["611"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/esbo" + }, + { + "id": "33ba3355-a688-47c2-aadf-efb3d233a7e0", + "name": "Jyväskylä", + "hotelIds": ["675", "676", "608"], + "hotelCount": 3, + "url": "/sv/destinationer/finland/jyvaskyla" + }, + { + "id": "4a92a999-9c0a-4b1f-a70f-a5e0e25b55a5", + "name": "Kajana", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ac31bc09-bcad-437c-b408-11f8ad460cfb", + "name": "Vantaa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "6d54cb54-30f2-48d4-860f-7217e83d47a9", + "name": "Hyvinge", + "hotelIds": ["668"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/hyvinge" + }, + { + "id": "59c26c47-1f4c-44a6-8ab3-c5aa6222cf31", + "name": "Imatra", + "hotelIds": ["696"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/imatra" + }, + { + "id": "0de4cf0d-703b-4abd-a69a-690307339cd0", + "name": "Joensuu", + "hotelIds": ["688"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/joensuu" + }, + { + "id": "9f859093-d5c5-47e5-958b-62a8e5f5109b", + "name": "Nokia", + "hotelIds": ["679"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/nokia" + }, + { + "id": "e68e2ac2-b2b9-48c9-aa48-7c5b047cafb3", + "name": "Kouvola", + "hotelIds": ["672"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/kouvola" + }, + { + "id": "b64d8a50-9b46-49ad-baa3-464a1f0fc49f", + "name": "Villmanstrand", + "hotelIds": ["615"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/villmanstrand" + }, + { + "id": "d4b63ca6-96d4-4971-b88a-77281944c9fb", + "name": "Björneborg", + "hotelIds": ["628"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/bjorneborg" + }, + { + "id": "d5749fd0-fa3e-4bb9-8e0e-17a7209a2e84", + "name": "Seinäjoki", + "hotelIds": ["687"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/seinajoki" + }, + { + "id": "2b7f63d4-a232-4846-9dcc-c4aa3b3ce71f", + "name": "Helsingfors", + "hotelIds": [ + "638", + "622", + "665", + "666", + "661", + "603", + "662", + "663", + "605", + "660", + "601", + "634", + "697", + "639", + "698", + "643" + ], + "hotelCount": 16, + "url": "/sv/destinationer/finland/helsingfors" + }, + { + "id": "09a332fa-fe43-4c82-be6d-302a7aa0c140", + "name": "Riihimäki", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "f42dc867-06fa-4ed1-9a7c-00df6ad591fe", + "name": "Tavastehus", + "hotelIds": ["669", "670"], + "hotelCount": 2, + "url": "/sv/destinationer/finland/tavastehus" + }, + { + "id": "2682392b-e3cf-4b21-b3ef-a948494ed41d", + "name": "Kotka", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "e36d8c5a-8275-4487-97a4-2eae6be8fe42", + "name": "Forssa", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "ae5af1f5-a971-4f1c-88d2-0f941832b7ea", + "name": "Raumo", + "hotelIds": ["684"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/raumo" + }, + { + "id": "c35a8bcd-e2b7-4e7c-bb33-f4b103542363", + "name": "Sjundeå", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "51920988-eed2-4c89-83fa-0960c9bb7a79", + "name": "Mikkeli", + "hotelIds": ["674"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/mikkeli" + }, + { + "id": "fd66bcc0-98c6-49a7-b95a-2af905e3263e", + "name": "Uleåborg", + "hotelIds": ["692", "624"], + "hotelCount": 2, + "url": "/sv/destinationer/finland/uleaborg" + }, + { + "id": "5915950f-e55e-4c78-bb24-84495332ce35", + "name": "Vasa", + "hotelIds": ["686", "637"], + "hotelCount": 2, + "url": "/sv/destinationer/finland/vasa" + }, + { + "id": "d2081c15-865e-4c1d-8c93-6d4bdedc8f48", + "name": "Ruka Kuusamo", + "hotelIds": ["691"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/ruka kuusamo" + }, + { + "id": "f3fd2e15-84ab-40e5-aabd-3d5bd04f36f2", + "name": "Rovaniemi", + "hotelIds": ["695", "694", "626"], + "hotelCount": 3, + "url": "/sv/destinationer/finland/rovaniemi" + }, + { + "id": "7bc37280-2dbd-4b80-aec0-9d06968f1318", + "name": "Lahtis", + "hotelIds": ["667"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/lahtis" + }, + { + "id": "8c5c489b-b559-4e73-91a1-a4bc2eeb8b47", + "name": "Salo", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "c317ab90-3416-479c-a87f-839e5a482ddf", + "name": "Träskända", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "2a69a227-3c37-458b-82cc-fd50b16a93b8", + "name": "Tammerfors", + "hotelIds": ["607", "677", "617", "678", "635"], + "hotelCount": 5, + "url": "/sv/destinationer/finland/tammerfors" + }, + { + "id": "afe01b68-a51f-4303-b86e-b84334ff09de", + "name": "Åbo", + "hotelIds": ["640", "619", "629"], + "hotelCount": 3, + "url": "/sv/destinationer/finland/abo" + }, + { + "id": "f78ee1ca-7567-4ff7-b346-04293314ad4b", + "name": "Kemi", + "hotelIds": ["693"], + "hotelCount": 1, + "url": "/sv/destinationer/finland/kemi" + }, + { + "id": "9233a45a-15e7-480e-9579-09dc9209bdf6", + "name": "Kuopio", + "hotelIds": ["689", "609"], + "hotelCount": 2, + "url": "/sv/destinationer/finland/kuopio" + } + ] + }, + { + "country": "Norge", + "numberOfHotels": 83, + "cities": [ + { + "id": "32b14e04-9d9e-4cfd-864c-49cf6db2ba93", + "name": "Ålesund", + "hotelIds": ["368"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/alesund" + }, + { + "id": "23bccd2d-ebfe-459a-9b7d-cadad09d6221", + "name": "Drammen", + "hotelIds": ["786"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/drammen" + }, + { + "id": "4736b77d-2466-43b5-8630-54e57143ed66", + "name": "Fredrikstad", + "hotelIds": ["360"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/fredrikstad" + }, + { + "id": "124e1cca-91cb-4355-a8d6-afb41d70f8b1", + "name": "Mo i Rana", + "hotelIds": ["367"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/mo i rana" + }, + { + "id": "3b409f3b-796d-44f3-bd57-ea28100aa1e1", + "name": "Narvik", + "hotelIds": ["313"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/narvik" + }, + { + "id": "87b3e1f3-d01a-4375-beb0-8815bfe7267d", + "name": "Mysen", + "hotelIds": ["388"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/mysen" + }, + { + "id": "4a5b1a78-d296-43f0-83f2-e33c545857c4", + "name": "Elverum", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "b99b4926-4792-4535-b8e0-cefd7c23cec8", + "name": "Harstad", + "hotelIds": ["363"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/harstad" + }, + { + "id": "3d8de99c-2ea8-4b1b-b8a2-2d035a0d1586", + "name": "Karasjok", + "hotelIds": ["305"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/karasjok" + }, + { + "id": "85cf723a-be8b-4b3c-b22b-ec7e119f1f87", + "name": "Sandefjord", + "hotelIds": ["329"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/sandefjord" + }, + { + "id": "f2136df1-d0ca-42bf-ada7-26f8399ef3f4", + "name": "Tjöme", + "hotelIds": ["330"], + "hotelCount": 1 + }, + { + "id": "76c2d8b1-61d4-4508-b54c-4992c1c3d5d6", + "name": "Tromsø", + "hotelIds": ["362", "310", "796"], + "hotelCount": 3, + "url": "/sv/destinationer/norge/tromso" + }, + { + "id": "647cb4d0-3ef3-4de2-ad49-160bc40cd10b", + "name": "Förde", + "hotelIds": ["321"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/forde" + }, + { + "id": "58d796e9-040d-49d5-862f-ee1625f4bb3f", + "name": "Lillehammer", + "hotelIds": ["789", "790", "343"], + "hotelCount": 3, + "url": "/sv/destinationer/norge/lillehammer" + }, + { + "id": "ec27c5fa-9aec-4f43-b2f1-ba8a05d5ca49", + "name": "Oslo", + "hotelIds": [ + "340", + "339", + "751", + "766", + "776", + "390", + "342", + "337", + "333", + "391", + "332", + "784", + "773", + "336", + "760", + "759", + "765", + "334", + "774" + ], + "hotelCount": 19, + "url": "/sv/destinationer/norge/oslo" + }, + { + "id": "e3c4cba6-0838-43ee-b23e-1d98ed39cf3b", + "name": "Sandnessjöen", + "hotelIds": ["365"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/sandnessjoen" + }, + { + "id": "40c6c796-50dc-470b-a25f-84ab1dd3e32f", + "name": "Alta", + "hotelIds": ["301"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/alta" + }, + { + "id": "cd5e4606-d115-4382-bb12-25a9a7f7e230", + "name": "Bodø", + "hotelIds": ["312", "314"], + "hotelCount": 2, + "url": "/sv/destinationer/norge/bodo" + }, + { + "id": "eed82c19-051f-4cee-bb16-80434d398f0e", + "name": "Oppdal", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "049be5eb-e488-4b1e-b060-1cb41503d118", + "name": "Fauske", + "hotelIds": ["374"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/fauske" + }, + { + "id": "7faffcc8-6b6c-45b4-abf3-700621d32f16", + "name": "Fagernes", + "hotelIds": ["787"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/fagernes" + }, + { + "id": "2cb66d77-93cb-44a2-a67d-b9024dca5f8f", + "name": "Haugesund", + "hotelIds": ["772"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/haugesund" + }, + { + "id": "f8e6ed30-92e5-4693-8f86-847247c5eaa9", + "name": "Honningsvåg", + "hotelIds": ["304", "308", "303"], + "hotelCount": 3, + "url": "/sv/destinationer/norge/honningsvag" + }, + { + "id": "9fad38e0-a834-4ef3-92b0-7807cf70c774", + "name": "Kristiansand", + "hotelIds": ["788", "780"], + "hotelCount": 2, + "url": "/sv/destinationer/norge/kristiansand" + }, + { + "id": "33c32811-4f33-47c7-a743-a7e14a7e4002", + "name": "Lofoten", + "hotelIds": ["791", "387", "311"], + "hotelCount": 3, + "url": "/sv/destinationer/norge/lofoten" + }, + { + "id": "7b95287a-3b89-467f-929e-f543c151b222", + "name": "Grimstad", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "dac1e18e-00bc-4bfa-82ac-76ebc95e154f", + "name": "Stavanger", + "hotelIds": ["795", "325", "781", "775", "323"], + "hotelCount": 5, + "url": "/sv/destinationer/norge/stavanger" + }, + { + "id": "130a7705-3ef8-4d7d-bd88-7108227777b4", + "name": "Hønefoss", + "hotelIds": ["389"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/honefoss" + }, + { + "id": "7ff1e7db-c0d8-4a1a-ae41-133804625862", + "name": "Sarpsborg", + "hotelIds": ["345"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/sarpsborg" + }, + { + "id": "ced49abb-1ca9-4ed1-a4fd-f93a8ce8f2b3", + "name": "Bergen", + "hotelIds": ["785", "322", "770", "757", "778", "782", "326", "779"], + "hotelCount": 8, + "url": "/sv/destinationer/norge/bergen" + }, + { + "id": "46e5d77a-7cc5-428c-84dd-e49735808782", + "name": "Molde", + "hotelIds": ["793", "317"], + "hotelCount": 2, + "url": "/sv/destinationer/norge/molde" + }, + { + "id": "273b0073-631e-410e-93b4-77b19f9ff3c3", + "name": "Trondheim", + "hotelIds": ["320", "764", "315", "316", "771", "380"], + "hotelCount": 6, + "url": "/sv/destinationer/norge/trondheim" + }, + { + "id": "1145e98b-2289-4459-8a8a-563f9d46f135", + "name": "Hammerfest", + "hotelIds": ["307"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/hammerfest" + }, + { + "id": "d2ce98f8-9220-47e7-a6fe-84ac3546a52d", + "name": "Kirkenes", + "hotelIds": ["306"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/kirkenes" + }, + { + "id": "d90c0b4a-c046-4951-95a5-a64a4f3a6f30", + "name": "Kristiansund", + "hotelIds": ["319"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/kristiansund" + }, + { + "id": "80ad8f51-9ab5-4de4-8922-2efd8fd2e4ad", + "name": "Namsos", + "hotelIds": ["318"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/namsos" + }, + { + "id": "d0c9f8c7-6cf6-49aa-8a1e-405ef3f453cd", + "name": "Nordfjordeid", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "7ba94bd4-8923-4c11-9c9e-ad539fc5d9fa", + "name": "Vadsö", + "hotelIds": ["302"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/vadso" + }, + { + "id": "895648c8-7fa4-4deb-bc91-b21292f86cbc", + "name": "Sortland", + "hotelIds": ["359"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/sortland" + }, + { + "id": "59d334a1-41ef-4aa5-bb35-be951e17e409", + "name": "Hamar", + "hotelIds": ["344", "756"], + "hotelCount": 2, + "url": "/sv/destinationer/norge/hamar" + }, + { + "id": "2854a449-6760-4a28-972d-8fd153e06555", + "name": "Voss", + "hotelIds": ["792"], + "hotelCount": 1, + "url": "/sv/destinationer/norge/voss" + } + ] + }, + { + "country": "Polen", + "numberOfHotels": 2, + "cities": [ + { + "id": "1d4f8a2e-9d4e-4c56-8f32-09f11f9709b1", + "name": "Wroclaw", + "hotelIds": ["442"], + "hotelCount": 1, + "url": "/sv/destinationer/polen/wroclaw" + }, + { + "id": "2f33f4f2-a6b4-4d7c-9055-8bae8cc4c771", + "name": "Gdansk", + "hotelIds": ["441"], + "hotelCount": 1, + "url": "/sv/destinationer/polen/gdansk" + } + ] + }, + { + "country": "Sverige", + "numberOfHotels": 89, + "cities": [ + { + "id": "a89c239a-651f-4289-b8b9-81d4b1c0861d", + "name": "Bollnäs", + "hotelIds": ["873"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/bollnas" + }, + { + "id": "dafa384c-6262-4f0d-94f8-bd745279ca9d", + "name": "Norrköping", + "hotelIds": ["827", "852"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/norrkoping" + }, + { + "id": "8a89ef25-c073-4f92-98e9-6cbf6b376447", + "name": "Borlänge", + "hotelIds": ["824"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/borlange" + }, + { + "id": "6ce90724-4fd1-4095-b0ed-821c03ba6207", + "name": "Kalmar", + "hotelIds": ["847"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/kalmar" + }, + { + "id": "969d5c79-5263-465b-af94-2ab7b1c0b985", + "name": "Halmstad", + "hotelIds": ["839"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/halmstad" + }, + { + "id": "1d23c970-147a-4077-9403-7facecfdb7e8", + "name": "Helsingborg", + "hotelIds": ["217", "855"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/helsingborg" + }, + { + "id": "76fc5cab-b32d-4522-abd6-9e178bb251d1", + "name": "Jönköping", + "hotelIds": ["846", "856"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/jonkoping" + }, + { + "id": "86146840-41ca-4275-a4b3-4aa95b7a05ef", + "name": "Strömstad", + "hotelIds": ["888"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/stromstad" + }, + { + "id": "40d14e22-5378-4fc9-a770-7b74beb24a4e", + "name": "Arvika", + "hotelIds": ["845"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/arvika" + }, + { + "id": "75a73ca4-c51b-4eb2-a028-24279c78eb56", + "name": "Gävle", + "hotelIds": ["883", "871"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/gavle" + }, + { + "id": "c9adc640-1ff9-46fd-9eb7-335e124df6b7", + "name": "Kiruna", + "hotelIds": ["218"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/kiruna" + }, + { + "id": "49449db0-e483-4f07-ab3c-aa4ac0c2fd9e", + "name": "Malmö", + "hotelIds": ["881", "874", "818", "849", "878", "864"], + "hotelCount": 6, + "url": "/sv/destinationer/sverige/malmo" + }, + { + "id": "cb7c529c-f5a2-4f57-af2a-a4398fde6704", + "name": "Västerås", + "hotelIds": ["866"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/vasteras" + }, + { + "id": "2353ff13-457f-48f2-b7c2-772cbf137ccc", + "name": "Nyköping", + "hotelIds": ["829"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/nykoping" + }, + { + "id": "3b231ad9-7d0f-4dd2-8004-beaad494fdd3", + "name": "Karlstad", + "hotelIds": ["848", "876", "832"], + "hotelCount": 3, + "url": "/sv/destinationer/sverige/karlstad" + }, + { + "id": "41616a4b-eb93-4215-b920-ea26f2e347bf", + "name": "Linköping", + "hotelIds": ["887", "872", "863"], + "hotelCount": 3, + "url": "/sv/destinationer/sverige/linkoping" + }, + { + "id": "d2a28d6f-3d82-415b-be65-93cfa16a36c7", + "name": "Lund", + "hotelIds": ["858"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/lund" + }, + { + "id": "2b3c909d-2eba-4ca2-86d1-b9ba12805058", + "name": "Borås", + "hotelIds": ["840"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/boras" + }, + { + "id": "a97e0d9e-fb54-4ac9-b71b-52728de8b839", + "name": "Falun", + "hotelIds": ["844"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/falun" + }, + { + "id": "08761bd6-233c-4f88-922a-88cd3fb0dcd4", + "name": "Örebro", + "hotelIds": ["219", "869", "836"], + "hotelCount": 3, + "url": "/sv/destinationer/sverige/orebro" + }, + { + "id": "2c5b454f-b8b4-4d3c-80c1-fc3726feee16", + "name": "Luleå", + "hotelIds": ["868"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/lulea" + }, + { + "id": "8eb4ede8-3de8-49d5-87af-6fb0362cde9e", + "name": "Göteborg", + "hotelIds": [ + "867", + "801", + "806", + "851", + "841", + "816", + "216", + "817", + "215" + ], + "hotelCount": 9, + "url": "/sv/destinationer/sverige/goteborg" + }, + { + "id": "12721002-6269-4eaa-b625-02741b55b111", + "name": "Skövde", + "hotelIds": ["889"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/skovde" + }, + { + "id": "e3749235-cd7a-4791-85fe-a9d5cf2cf759", + "name": "Sundsvall", + "hotelIds": ["853", "834"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/sundsvall" + }, + { + "id": "dc865a94-4b99-44f7-8ad6-9015774d0ae8", + "name": "Umeå", + "hotelIds": ["870", "882"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/umea" + }, + { + "id": "fcc62ee8-d451-462b-a37c-202155a72607", + "name": "Uppsala", + "hotelIds": ["861", "885"], + "hotelCount": 2, + "url": "/sv/destinationer/sverige/uppsala" + }, + { + "id": "28db509e-fad0-47bc-a88b-3ee7977e5631", + "name": "testtraining", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "27eb9d85-91dc-41a1-af42-ba2bc66dc7ec", + "name": "Karlskrona", + "hotelIds": ["843"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/karlskrona" + }, + { + "id": "9ea10699-2168-4c9c-8bc4-adb945344a49", + "name": "Östersund", + "hotelIds": ["859"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/ostersund" + }, + { + "id": "81e32ed6-727f-48e3-9235-7d2d2cd1d14f", + "name": "Skellefteå", + "hotelIds": ["823"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/skelleftea" + }, + { + "id": "19088b11-cc40-4639-afa3-ed8a2bc35586", + "name": "Södertälje", + "hotelIds": ["854"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/sodertalje" + }, + { + "id": "5a49c811-1f94-454e-ac42-ec92d6673bdc", + "name": "Värnamo", + "hotelIds": ["842"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/varnamo" + }, + { + "id": "0001a677-d50b-454e-aa08-f7334c5ee9dd", + "name": "Örnsköldsvik", + "hotelIds": ["828"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/ornskoldsvik" + }, + { + "id": "8ec4bba3-1c38-4606-82d1-bbe3f6738e54", + "name": "Stockholm", + "hotelIds": [ + "879", + "890", + "830", + "220", + "810", + "811", + "821", + "222", + "809", + "865", + "803", + "213", + "808", + "857", + "812", + "211", + "833", + "813", + "214", + "814", + "886", + "838", + "875", + "826", + "802", + "223", + "805" + ], + "hotelCount": 27, + "url": "/sv/destinationer/sverige/stockholm" + }, + { + "id": "32dc483a-55c6-4f43-b380-4248b9331b99", + "name": "Gällivare", + "hotelIds": ["891"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/gallivare" + }, + { + "id": "d1b1a499-6f3d-4527-88d4-005cef559ed6", + "name": "Trollhättan", + "hotelIds": ["850"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/trollhattan" + }, + { + "id": "7c29a63c-e3b1-4f53-a1a0-847a3f28f1de", + "name": "Växjö", + "hotelIds": ["860"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/vaxjo" + }, + { + "id": "aa290a3d-32de-4257-b7d9-7af8e5d8110e", + "name": "Visby", + "hotelIds": ["877"], + "hotelCount": 1, + "url": "/sv/destinationer/sverige/visby" + } + ] + }, + { + "country": "Tyskland", + "numberOfHotels": 7, + "cities": [ + { + "id": "b706ebcd-5634-4a99-b97b-4de0ad680b11", + "name": "Frankfurt", + "hotelIds": ["555", "556"], + "hotelCount": 2, + "url": "/sv/destinationer/tyskland/frankfurt" + }, + { + "id": "1c911bd9-b96f-40cf-9701-64598d6088b4", + "name": "Hamburg", + "hotelIds": ["550"], + "hotelCount": 1, + "url": "/sv/destinationer/tyskland/hamburg" + }, + { + "id": "9f30e524-a179-4397-b929-4b6824aee7fa", + "name": "München", + "hotelIds": ["557"], + "hotelCount": 1, + "url": "/sv/destinationer/tyskland/munchen" + }, + { + "id": "f0509318-ef8e-4513-af7a-9905cb7c4258", + "name": "Berlin", + "hotelIds": ["551", "554"], + "hotelCount": 2, + "url": "/sv/destinationer/tyskland/berlin" + }, + { + "id": "7dcf1e04-ee3d-47ff-b5c3-387c5345ed67", + "name": "Nürnberg", + "hotelIds": ["558"], + "hotelCount": 1, + "url": "/sv/destinationer/tyskland/nurnberg" + }, + { + "id": "e5470b7b-c02a-4ac9-9534-644539ad31cd", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + }, + { + "id": "bfe82dea-083a-44f6-8e8e-a6dd789c93ba", + "name": "Stuttgart", + "hotelIds": [], + "hotelCount": 0 + } + ] + } +] diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/output.ts b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/output.ts index 49df3b7c4..dd1621f17 100644 --- a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/output.ts +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/output.ts @@ -25,7 +25,7 @@ export const blocksSchema = z.discriminatedUnion("__typename", [ export const destinationOverviewPageSchema = z.object({ destination_overview_page: z.object({ - title: z.string(), + heading: z.string().nullish(), blocks: discriminatedUnionArray(blocksSchema.options), location: mapLocationSchema, system: systemSchema.merge( diff --git a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/query.ts b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/query.ts index 633a84f77..32102f7a0 100644 --- a/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/query.ts +++ b/apps/scandic-web/server/routers/contentstack/destinationOverviewPage/query.ts @@ -1,3 +1,4 @@ +import { Lang } from "@/constants/languages" import { GetDestinationOverviewPage, GetDestinationOverviewPageRefs, @@ -20,6 +21,12 @@ import { } from "../../hotels/utils" import { getCityPageUrls } from "../destinationCityPage/utils" import { getCountryPageUrls } from "../destinationCountryPage/utils" +import destinationsDataDa from "./destinations-da.json" with { assert: "json" } +import destinationsDataDe from "./destinations-de.json" with { assert: "json" } +import destinationsDataEn from "./destinations-en.json" with { assert: "json" } +import destinationsDataFi from "./destinations-fi.json" with { assert: "json" } +import destinationsDataNo from "./destinations-no.json" with { assert: "json" } +import destinationsDataSv from "./destinations-sv.json" with { assert: "json" } import { destinationOverviewPageRefsSchema, destinationOverviewPageSchema, @@ -200,80 +207,123 @@ export const destinationOverviewPageQueryRouter = router({ } }), destinations: router({ - get: serviceProcedure.query(async function ({ ctx }) { - const countries = await getCountries({ - lang: ctx.lang, - serviceToken: ctx.serviceToken, - }) + get: serviceProcedure.query(async function ({ + ctx, + }): Promise { + // For go live we are using static data here, as it rarely changes. + // This also improves operational reliance as we are not hammering + // a lot of endpoints for a lot of data. + // Re-implement once we have better API support and established caching + // patterns and mechanisms. - const countryPages = await getCountryPageUrls(ctx.lang) + // NOTE: To update the static data set `useStaticData = false`. + // Then go to the "Hotels & Destinations" page and visit every language. + // At the time of commit http://localhost:3000/en/destinations. + // This will update the JSON file locally, each page load for each language, + // if all data loads correctly. + // Set back `useStaticData = true` again and test with the updated JSON file. + // Add, commit and push the updated JSON files with useStaticData = true here. + const useStaticData = true - if (!countries) { - return null + if (useStaticData) { + switch (ctx.lang) { + case Lang.da: + return destinationsDataDa + case Lang.de: + return destinationsDataDe + case Lang.fi: + return destinationsDataFi + case Lang.en: + return destinationsDataEn + case Lang.no: + return destinationsDataNo + case Lang.sv: + return destinationsDataSv + default: + return [] + } + } else { + return await updateJSONOnDisk() } - const countryNames = countries.data.map((country) => country.name) + async function updateJSONOnDisk() { + const { lang } = ctx - const citiesByCountry = await getCitiesByCountry({ - lang: ctx.lang, - countries: countryNames, - serviceToken: ctx.serviceToken, - onlyPublished: true, - }) + const countries = await getCountries({ + lang, + serviceToken: ctx.serviceToken, + }) - const cityPages = await getCityPageUrls(ctx.lang) + if (!countries) { + return [] + } - const destinations: DestinationsData = await Promise.all( - Object.entries(citiesByCountry).map(async ([country, cities]) => { - const citiesWithHotelCount = await Promise.all( - cities.map(async (city) => { - const [hotels] = await safeTry( - getHotelIdsByCityId({ - cityId: city.id, - serviceToken: ctx.serviceToken, - }) - ) + const countryNames = countries.data.map((country) => country.name) - const cityPage = cityPages.find( - (cityPage) => cityPage.city === city.cityIdentifier - ) + const citiesByCountry = await getCitiesByCountry({ + lang, + countries: countryNames, + serviceToken: ctx.serviceToken, + onlyPublished: true, + }) - if (!cityPage) { - return null - } + const cityPages = await getCityPageUrls(lang) - return { - id: city.id, - name: city.name, - hotelIds: hotels || [], - hotelCount: hotels?.length ?? 0, - url: cityPage.url, - } - }) - ) + const destinations = await Promise.all( + Object.entries(citiesByCountry).map(async ([country, cities]) => { + const activeCitiesWithHotelCount: Cities = await Promise.all( + cities.map(async (city) => { + const [hotels] = await safeTry( + getHotelIdsByCityId({ + cityId: city.id, + serviceToken: ctx.serviceToken, + }) + ) - const activeCitiesWithHotelCount: Cities = - citiesWithHotelCount.filter( - (city): city is Cities[number] => !!city + const cityPage = cityPages.find( + (cityPage) => cityPage.city === city.cityIdentifier + ) + + return { + id: city.id, + name: city.name, + hotelIds: hotels || [], + hotelCount: hotels ? hotels.length : 0, + url: cityPage?.url, + } + }) ) - const countryPage = countryPages.find( - (countryPage) => countryPage.country === country - ) + const countryPages = await getCountryPageUrls(lang) + const countryPage = countryPages.find( + (countryPage) => countryPage.country === country + ) - return { - country, - countryUrl: countryPage?.url, - numberOfHotels: activeCitiesWithHotelCount.reduce( - (acc, city) => acc + city.hotelCount, - 0 - ), - cities: activeCitiesWithHotelCount, + return { + country, + countryUrl: countryPage?.url, + numberOfHotels: activeCitiesWithHotelCount.reduce( + (acc, city) => acc + city.hotelCount, + 0 + ), + cities: activeCitiesWithHotelCount, + } + }) + ) + + const data = destinations.sort((a, b) => + a.country.localeCompare(b.country) + ) + const fs = await import("node:fs") + fs.writeFileSync( + `./server/routers/contentstack/destinationOverviewPage/destinations-${lang}.json`, + JSON.stringify(data), + { + encoding: "utf-8", } - }) - ) - - return destinations.sort((a, b) => a.country.localeCompare(b.country)) + ) + return data + } }), }), }) diff --git a/apps/scandic-web/server/routers/hotels/query.ts b/apps/scandic-web/server/routers/hotels/query.ts index d3c1b7334..76fa462e4 100644 --- a/apps/scandic-web/server/routers/hotels/query.ts +++ b/apps/scandic-web/server/routers/hotels/query.ts @@ -1,4 +1,5 @@ import { CancellationRuleEnum } from "@/constants/booking" +import { Lang } from "@/constants/languages" import { env } from "@/env/server" import * as api from "@/lib/api" import { dt } from "@/lib/dt" @@ -79,7 +80,6 @@ import type { } from "@/types/trpc/routers/hotel/availability" import type { HotelInput } from "@/types/trpc/routers/hotel/hotel" import type { CityLocation } from "@/types/trpc/routers/hotel/locations" -import type { Lang } from "@/constants/routes/hotelReservation" export const getHotel = cache( async (input: HotelInput, serviceToken: string) => { @@ -1198,7 +1198,9 @@ export const hotelQueryRouter = router({ }) { const lang = input?.lang ?? ctx.lang const countries = await getCountries({ - lang: lang, + // Countries need to be in English regardless of incoming lang because + // we use the names as input for API endpoints. + lang: Lang.en, serviceToken: ctx.serviceToken, }) diff --git a/apps/scandic-web/types/components/destinationOverviewPage/destinationsList/destinationsData.ts b/apps/scandic-web/types/components/destinationOverviewPage/destinationsList/destinationsData.ts index ff331f069..24a93a5dd 100644 --- a/apps/scandic-web/types/components/destinationOverviewPage/destinationsList/destinationsData.ts +++ b/apps/scandic-web/types/components/destinationOverviewPage/destinationsList/destinationsData.ts @@ -1,17 +1,21 @@ -export type DestinationsData = { - country: string - countryUrl: string | undefined - numberOfHotels: number - cities: { - id: string - name: string - hotelIds: string[] - hotelCount: number - url: string - }[] -}[] +export type City = { + id: string + name: string + hotelIds: string[] + hotelCount: number + url?: string +} -export type Cities = DestinationsData[number]["cities"] +export type DestinationCountry = { + country: string + countryUrl?: string + numberOfHotels: number + cities: City[] +} + +export type DestinationsData = DestinationCountry[] + +export type Cities = DestinationCountry["cities"] export type HotelsSectionProps = { destinations: DestinationsData diff --git a/apps/scandic-web/types/params.ts b/apps/scandic-web/types/params.ts index ae2a69fcc..cf35f41bf 100644 --- a/apps/scandic-web/types/params.ts +++ b/apps/scandic-web/types/params.ts @@ -29,6 +29,21 @@ export type ContentTypeParams = { | PageContentTypeEnum.startPage } +// This is purely for use in `apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx` +// It is meant as an interim solution while we move away from the switch-case +// approach into routing these based on App router. +// Folders in `apps/scandic-web/app/[lang]/(live)/(public)` should not be in this type. +export type NonAppRouterContentTypeParams = { + contentType: + | PageContentTypeEnum.loyaltyPage + | PageContentTypeEnum.contentPage + | PageContentTypeEnum.hotelPage + | PageContentTypeEnum.collectionPage + | PageContentTypeEnum.destinationCountryPage + | PageContentTypeEnum.destinationCityPage + | PageContentTypeEnum.startPage +} + export type ContentTypeWebviewParams = { contentType: "loyalty-page" | "account-page" }