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 Link from "@/components/TempDesignSystem/Link"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
@@ -27,16 +26,13 @@ export default async function AccessibilityAmenity({
|
||||
<Body color="uiTextHighContrast">{elevatorPitch}</Body>
|
||||
)}
|
||||
{accessibilityPageUrl && (
|
||||
<Link
|
||||
<ButtonLink
|
||||
href={`/${accessibilityPageUrl}`}
|
||||
color="burgundy"
|
||||
textDecoration="underline"
|
||||
variant="icon"
|
||||
intent="secondary"
|
||||
appendToCurrentPath
|
||||
>
|
||||
{intl.formatMessage({ id: "About accessibility" })}
|
||||
<ArrowRightIcon color="burgundy" />
|
||||
</Link>
|
||||
</ButtonLink>
|
||||
)}
|
||||
</div>
|
||||
</AccordionItem>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import ButtonLink from "@/components/ButtonLink"
|
||||
import ParkingInformation from "@/components/ParkingInformation"
|
||||
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
import styles from "./parkingAmenity.module.css"
|
||||
@@ -29,16 +28,13 @@ export default async function ParkingAmenity({
|
||||
<ParkingInformation key={data.type} parking={data} />
|
||||
))}
|
||||
{parkingPageUrl && (
|
||||
<Button theme="base" intent="secondary" asChild>
|
||||
<Link
|
||||
href={`/${parkingPageUrl}`}
|
||||
color="burgundy"
|
||||
weight="bold"
|
||||
appendToCurrentPath
|
||||
>
|
||||
{intl.formatMessage({ id: "About parking" })}
|
||||
</Link>
|
||||
</Button>
|
||||
<ButtonLink
|
||||
href={`/${parkingPageUrl}`}
|
||||
intent="secondary"
|
||||
appendToCurrentPath
|
||||
>
|
||||
{intl.formatMessage({ id: "About parking" })}
|
||||
</ButtonLink>
|
||||
)}
|
||||
</div>
|
||||
</AccordionItem>
|
||||
|
||||
Reference in New Issue
Block a user