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">
|
||||
{intl.formatMessage({ id: "Contact us" })}
|
||||
</Title>
|
||||
<div>
|
||||
<div className={styles.contactDetails}>
|
||||
<Link href={`tel:${phoneNumber}`}>{phoneNumber}</Link>
|
||||
{country === Country.Finland ? (
|
||||
<Body>
|
||||
|
||||
@@ -86,7 +86,7 @@ export default async function RestaurantSidebar({
|
||||
<Title level="h3" as="h4">
|
||||
{intl.formatMessage({ id: "Contact us" })}
|
||||
</Title>
|
||||
<div>
|
||||
<div className={styles.contactDetails}>
|
||||
{phoneNumber && (
|
||||
<Link href={`tel:${phoneNumber}`}>{phoneNumber}</Link>
|
||||
)}
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contactDetails {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
@media (min-width: 1367px) {
|
||||
.sidebar {
|
||||
grid-column: 2;
|
||||
|
||||
@@ -108,9 +108,11 @@ export default async function HotelSubpage({
|
||||
/>
|
||||
<Divider color="baseSurfaceSubtleHover" className={styles.divider} />
|
||||
<main className={styles.mainContent}>
|
||||
<div className={styles.intro}>
|
||||
<Preamble>{pageData.elevatorPitch}</Preamble>
|
||||
</div>
|
||||
{pageData.elevatorPitch && (
|
||||
<div className={styles.intro}>
|
||||
<Preamble>{pageData.elevatorPitch}</Preamble>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{pageData.mainBody && <HtmlContent html={pageData.mainBody} />}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user