Merged in feat/SW-1969-sidepeek-button (pull request #1617)
fix(SW-1969): update sidepeek buttons * fix(SW-1969): update sidepeek buttons Approved-by: Christian Andolf Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import { ArrowRightIcon } from "@/components/Icons"
|
import ButtonLink from "@/components/ButtonLink"
|
||||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||||
import Link from "@/components/TempDesignSystem/Link"
|
|
||||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||||
import { getIntl } from "@/i18n"
|
import { getIntl } from "@/i18n"
|
||||||
|
|
||||||
@@ -27,16 +26,13 @@ export default async function AccessibilityAmenity({
|
|||||||
<Body color="uiTextHighContrast">{elevatorPitch}</Body>
|
<Body color="uiTextHighContrast">{elevatorPitch}</Body>
|
||||||
)}
|
)}
|
||||||
{accessibilityPageUrl && (
|
{accessibilityPageUrl && (
|
||||||
<Link
|
<ButtonLink
|
||||||
href={`/${accessibilityPageUrl}`}
|
href={`/${accessibilityPageUrl}`}
|
||||||
color="burgundy"
|
intent="secondary"
|
||||||
textDecoration="underline"
|
|
||||||
variant="icon"
|
|
||||||
appendToCurrentPath
|
appendToCurrentPath
|
||||||
>
|
>
|
||||||
{intl.formatMessage({ id: "About accessibility" })}
|
{intl.formatMessage({ id: "About accessibility" })}
|
||||||
<ArrowRightIcon color="burgundy" />
|
</ButtonLink>
|
||||||
</Link>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
|
import ButtonLink from "@/components/ButtonLink"
|
||||||
import ParkingInformation from "@/components/ParkingInformation"
|
import ParkingInformation from "@/components/ParkingInformation"
|
||||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||||
import Button from "@/components/TempDesignSystem/Button"
|
|
||||||
import Link from "@/components/TempDesignSystem/Link"
|
|
||||||
import { getIntl } from "@/i18n"
|
import { getIntl } from "@/i18n"
|
||||||
|
|
||||||
import styles from "./parkingAmenity.module.css"
|
import styles from "./parkingAmenity.module.css"
|
||||||
@@ -29,16 +28,13 @@ export default async function ParkingAmenity({
|
|||||||
<ParkingInformation key={data.type} parking={data} />
|
<ParkingInformation key={data.type} parking={data} />
|
||||||
))}
|
))}
|
||||||
{parkingPageUrl && (
|
{parkingPageUrl && (
|
||||||
<Button theme="base" intent="secondary" asChild>
|
<ButtonLink
|
||||||
<Link
|
href={`/${parkingPageUrl}`}
|
||||||
href={`/${parkingPageUrl}`}
|
intent="secondary"
|
||||||
color="burgundy"
|
appendToCurrentPath
|
||||||
weight="bold"
|
>
|
||||||
appendToCurrentPath
|
{intl.formatMessage({ id: "About parking" })}
|
||||||
>
|
</ButtonLink>
|
||||||
{intl.formatMessage({ id: "About parking" })}
|
|
||||||
</Link>
|
|
||||||
</Button>
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user