diff --git a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx
index 80a38ea70..576468f5d 100644
--- a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx
+++ b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx
@@ -30,7 +30,7 @@ interface IntroSectionProps {
hotelName: Hotel["name"]
location: HotelLocation
tripAdvisor: HotelTripAdvisor
- phoneNumber: string
+ contactInformation: Hotel["contactInformation"]
}
export default async function IntroSection({
@@ -39,7 +39,7 @@ export default async function IntroSection({
location,
address,
tripAdvisor,
- phoneNumber,
+ contactInformation,
}: IntroSectionProps) {
const intl = await getIntl()
const { streetAddress, city, country } = address
@@ -50,7 +50,7 @@ export default async function IntroSection({
},
{ number: getSingleDecimal(distanceToCentre / 1000) }
)
-
+ const { phoneNumber, email } = contactInformation
const formattedLocationText = `${streetAddress}, ${city} (${formattedDistanceText})`
const showLocalCharges = country === Country.Finland
@@ -70,19 +70,35 @@ export default async function IntroSection({
{hotelName}
-
+
-
-
-
- {formattedLocationText}
-
-
+
+
+ {formattedLocationText}
+
+
+
+
+
+
+ {phoneNumber}
+
+
+
{!showLocalCharges && (
)}
-
-
-
-
- {phoneNumber}
+
+ {email}
-
diff --git a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/introSection.module.css b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/introSection.module.css
index b63ff3ae4..f4c4a599c 100644
--- a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/introSection.module.css
+++ b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/introSection.module.css
@@ -6,7 +6,7 @@
}
.localCharges::before {
- content: "(";
+ content: " (";
}
.localCharges::after {
@@ -39,60 +39,44 @@
gap: var(--Space-x2);
}
-.addressPhoneNumber {
- font-style: normal;
+.contactAddress,
+.contactInformation {
display: grid;
- gap: var(--Space-x15);
- align-items: center;
+ gap: var(--Space-x1);
}
-.address {
- color: var(--Text-Secondary);
- gap: var(--Space-x05);
- align-items: flex-start;
- display: flex;
+.contactAddress {
+ font-style: normal;
}
.location {
display: flex;
- gap: var(--Space-x2);
- height: 100%;
+ gap: var(--Space-x05);
+ align-items: center;
+ color: var(--Text-Secondary);
}
-.divider {
- display: none;
-}
-
-.phoneWrapper {
+.phoneNumber {
display: flex;
flex-direction: column;
gap: var(--Space-x15);
}
-@media screen and (min-width: 767px) {
- .addressPhoneNumber {
+@media screen and (max-width: 767px) {
+ .divider {
+ display: none;
+ }
+}
+
+@media screen and (min-width: 768px) {
+ .contactInformation:not(.stacked) {
display: flex;
flex-direction: row;
gap: var(--Space-x2);
}
- .addressPhoneNumber.stacked {
- display: grid;
- gap: var(--Space-x15);
- align-items: center;
- }
-
- .address {
- align-items: center;
- }
-
- .phoneWrapper {
+ .phoneNumber {
flex-direction: row;
gap: var(--Space-x1);
- align-items: center;
- }
-
- .divider {
- display: block;
}
}
diff --git a/apps/scandic-web/components/ContentType/HotelPage/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/index.tsx
index a421242b6..bfdc3c1d8 100644
--- a/apps/scandic-web/components/ContentType/HotelPage/index.tsx
+++ b/apps/scandic-web/components/ContentType/HotelPage/index.tsx
@@ -174,7 +174,7 @@ export default async function HotelPage({
location={location}
address={address}
tripAdvisor={ratings?.tripAdvisor}
- phoneNumber={contactInformation.phoneNumber}
+ contactInformation={contactInformation}
/>