Merged in fix/hotel-subpages (pull request #1445)
fix: add grid * fix: add grid * fix: add undefined check Approved-by: Erik Tiekstra Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -26,7 +26,7 @@ export default async function MeetingsSidebar({
|
|||||||
<Title level="h3" as="h4">
|
<Title level="h3" as="h4">
|
||||||
{intl.formatMessage({ id: "Contact us" })}
|
{intl.formatMessage({ id: "Contact us" })}
|
||||||
</Title>
|
</Title>
|
||||||
<div>
|
<div className={styles.contactDetails}>
|
||||||
<Link href={`tel:${phoneNumber}`}>{phoneNumber}</Link>
|
<Link href={`tel:${phoneNumber}`}>{phoneNumber}</Link>
|
||||||
{country === Country.Finland ? (
|
{country === Country.Finland ? (
|
||||||
<Body>
|
<Body>
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ export default async function RestaurantSidebar({
|
|||||||
<Title level="h3" as="h4">
|
<Title level="h3" as="h4">
|
||||||
{intl.formatMessage({ id: "Contact us" })}
|
{intl.formatMessage({ id: "Contact us" })}
|
||||||
</Title>
|
</Title>
|
||||||
<div>
|
<div className={styles.contactDetails}>
|
||||||
{phoneNumber && (
|
{phoneNumber && (
|
||||||
<Link href={`tel:${phoneNumber}`}>{phoneNumber}</Link>
|
<Link href={`tel:${phoneNumber}`}>{phoneNumber}</Link>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -19,6 +19,10 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contactDetails {
|
||||||
|
display: grid;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 1367px) {
|
@media (min-width: 1367px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
|
|||||||
@@ -108,9 +108,11 @@ export default async function HotelSubpage({
|
|||||||
/>
|
/>
|
||||||
<Divider color="baseSurfaceSubtleHover" className={styles.divider} />
|
<Divider color="baseSurfaceSubtleHover" className={styles.divider} />
|
||||||
<main className={styles.mainContent}>
|
<main className={styles.mainContent}>
|
||||||
<div className={styles.intro}>
|
{pageData.elevatorPitch && (
|
||||||
<Preamble>{pageData.elevatorPitch}</Preamble>
|
<div className={styles.intro}>
|
||||||
</div>
|
<Preamble>{pageData.elevatorPitch}</Preamble>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{pageData.mainBody && <HtmlContent html={pageData.mainBody} />}
|
{pageData.mainBody && <HtmlContent html={pageData.mainBody} />}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user