-
+
+
+
{hotel.name}
@@ -67,7 +69,7 @@ export default function HotelListItem({ hotel, url }: HotelListItemProps) {
{IconComponent && (
)}
- {amenity.name}
+
{amenity.name}
)
})}
diff --git a/components/ContentType/DestinationPage/DestinationCityPage/CityMap/cityMap.module.css b/components/ContentType/DestinationPage/DestinationCityPage/CityMap/cityMap.module.css
new file mode 100644
index 000000000..586806063
--- /dev/null
+++ b/components/ContentType/DestinationPage/DestinationCityPage/CityMap/cityMap.module.css
@@ -0,0 +1,5 @@
+@media screen and (max-width: 949px) {
+ .title {
+ display: none;
+ }
+}
diff --git a/components/ContentType/DestinationPage/DestinationCityPage/CityMap/index.tsx b/components/ContentType/DestinationPage/DestinationCityPage/CityMap/index.tsx
index f39853815..99fc897bd 100644
--- a/components/ContentType/DestinationPage/DestinationCityPage/CityMap/index.tsx
+++ b/components/ContentType/DestinationPage/DestinationCityPage/CityMap/index.tsx
@@ -7,6 +7,8 @@ import { getIntl } from "@/i18n"
import Map from "../../Map"
import HotelList from "./HotelList"
+import styles from "./cityMap.module.css"
+
import type { CityLocation } from "@/types/trpc/routers/hotel/locations"
interface CityMapProps {
@@ -27,7 +29,12 @@ export default async function CityMap({ city, cityIdentifier }: CityMapProps) {
apiKey={env.GOOGLE_STATIC_MAP_KEY}
pageType="city"
>
-
+
{intl.formatMessage({ id: `Hotels in {city}` }, { city: city.name })}
diff --git a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityList/cityList.module.css b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityList/cityList.module.css
index fea710da0..f2f98d6e8 100644
--- a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityList/cityList.module.css
+++ b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityList/cityList.module.css
@@ -11,7 +11,23 @@
}
.cityList {
- display: grid;
+ display: flex;
+ flex-direction: column;
gap: var(--Spacing-x3);
list-style: none;
}
+
+@media screen and (max-width: 949px) {
+ .cityListWrapper {
+ overflow-x: scroll;
+ }
+
+ .cityList {
+ flex-direction: row;
+ align-items: end;
+ }
+
+ .header {
+ display: none;
+ }
+}
diff --git a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/cityListItem.module.css b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/cityListItem.module.css
index 47a7f9771..4441ab9b3 100644
--- a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/cityListItem.module.css
+++ b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/cityListItem.module.css
@@ -1,4 +1,5 @@
.cityListItem {
+ display: grid;
background-color: var(--Base-Surface-Primary-light-Normal);
border: 1px solid var(--Base-Border-Subtle);
border-radius: var(--Corner-radius-Medium);
@@ -20,3 +21,28 @@
gap: var(--Spacing-x2);
padding: var(--Spacing-x2) var(--Spacing-x3);
}
+
+@media screen and (max-width: 949px) {
+ .cityListItem {
+ width: 360px;
+ min-height: 120px;
+ grid-template-columns: 1fr 2fr;
+ }
+
+ .imageWrapper {
+ height: 100%;
+ }
+
+ .content {
+ padding: var(--Spacing-x-one-and-half);
+ gap: var(--Spacing-x1);
+ }
+
+ .experienceList {
+ display: none;
+ }
+
+ .ctaWrapper {
+ margin-top: auto;
+ }
+}
diff --git a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx
index d54c84d13..3bae65809 100644
--- a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx
+++ b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/CityListItem/index.tsx
@@ -36,15 +36,19 @@ export default async function CityListItem({ city }: CityListItemProps) {
{city.heading}
-
-
+
+
+
+
+
+
)
diff --git a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/countryMap.module.css b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/countryMap.module.css
new file mode 100644
index 000000000..586806063
--- /dev/null
+++ b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/countryMap.module.css
@@ -0,0 +1,5 @@
+@media screen and (max-width: 949px) {
+ .title {
+ display: none;
+ }
+}
diff --git a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/index.tsx b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/index.tsx
index 85332530c..14402cad6 100644
--- a/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/index.tsx
+++ b/components/ContentType/DestinationPage/DestinationCountryPage/CountryMap/index.tsx
@@ -10,6 +10,8 @@ import { getIntl } from "@/i18n"
import Map from "../../Map"
import CityList from "./CityList"
+import styles from "./countryMap.module.css"
+
import type { Country } from "@/types/enums/country"
interface CountryMapProps {
@@ -34,7 +36,12 @@ export default async function CountryMap({ country }: CountryMapProps) {
apiKey={env.GOOGLE_STATIC_MAP_KEY}
pageType="country"
>
-
+
{intl.formatMessage({ id: `Destinations in {country}` }, { country })}
diff --git a/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css b/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css
index 5e40f1fb0..48f49af1f 100644
--- a/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css
+++ b/components/ContentType/DestinationPage/Map/DynamicMap/dynamicMap.module.css
@@ -53,7 +53,7 @@
box-shadow: var(--button-box-shadow);
}
-@media screen and (min-width: 768px) {
+@media screen and (min-width: 950px) {
.ctaButtons {
top: var(--Spacing-x4);
right: var(--Spacing-x4);
@@ -63,5 +63,6 @@
.zoomButtons {
display: flex;
+ flex-direction: row-reverse;
}
}
diff --git a/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx b/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx
index 3c048237c..6a800adc4 100644
--- a/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx
+++ b/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx
@@ -100,10 +100,10 @@ export default function DynamicMap({
variant="icon"
size="small"
className={styles.zoomButton}
- onClick={zoomOut}
- aria-label={intl.formatMessage({ id: "Zoom in" })}
+ onClick={zoomIn}
+ aria-label={intl.formatMessage({ id: "Zoom out" })}
>
-
+