diff --git a/apps/partner-sas/public/_static/fonts/material-symbols/rounded-9290efcd.woff2 b/apps/partner-sas/public/_static/fonts/material-symbols/rounded-9290efcd.woff2 new file mode 100644 index 000000000..8c6f275f4 Binary files /dev/null and b/apps/partner-sas/public/_static/fonts/material-symbols/rounded-9290efcd.woff2 differ diff --git a/apps/partner-sas/public/_static/fonts/material-symbols/rounded-e6bd32d5.woff2 b/apps/partner-sas/public/_static/fonts/material-symbols/rounded-e6bd32d5.woff2 deleted file mode 100644 index e1a52f61c..000000000 Binary files a/apps/partner-sas/public/_static/fonts/material-symbols/rounded-e6bd32d5.woff2 and /dev/null differ diff --git a/apps/scandic-web/components/ContentType/HotelMapPage/Sidebar/index.tsx b/apps/scandic-web/components/ContentType/HotelMapPage/Sidebar/index.tsx index 57565a637..555c67961 100644 --- a/apps/scandic-web/components/ContentType/HotelMapPage/Sidebar/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelMapPage/Sidebar/index.tsx @@ -6,12 +6,12 @@ import { useState } from "react" import { Button as ButtonRAC } from "react-aria-components" import { useIntl } from "react-intl" -import { logger } from "@scandic-hotels/common/logger" import { Typography } from "@scandic-hotels/design-system/Typography" -import { PointOfInterestGroupEnum } from "@scandic-hotels/trpc/enums/pointOfInterest" import PoiMarker from "@/components/Maps/Markers/Poi" +import { translatePOIGroup } from "./util" + import styles from "./sidebar.module.css" import type { SidebarProps } from "@/types/components/hotelPage/map/sidebar" @@ -93,42 +93,6 @@ export default function Sidebar({ defaultMessage: "View as list", }) - function translatePOIGroup(group: PointOfInterestGroupEnum) { - switch (group) { - case PointOfInterestGroupEnum.PUBLIC_TRANSPORT: - return intl.formatMessage({ - defaultMessage: "Public transport", - }) - case PointOfInterestGroupEnum.ATTRACTIONS: - return intl.formatMessage({ - defaultMessage: "Attractions", - }) - case PointOfInterestGroupEnum.BUSINESS: - return intl.formatMessage({ - defaultMessage: "Business", - }) - case PointOfInterestGroupEnum.LOCATION: - return intl.formatMessage({ - defaultMessage: "Location", - }) - case PointOfInterestGroupEnum.PARKING: - return intl.formatMessage({ - defaultMessage: "Parking", - }) - case PointOfInterestGroupEnum.SHOPPING_DINING: - return intl.formatMessage({ - defaultMessage: "Shopping & Dining", - }) - default: - const option: never = group - logger.warn(`Unsupported group given: ${option}`) - - return intl.formatMessage({ - defaultMessage: "N/A", - }) - } - } - return ( <>