feat(SW-644): add boelan
This commit is contained in:
@@ -17,7 +17,7 @@ import { IconName } from "@/types/components/icon"
|
|||||||
|
|
||||||
export default async function ParkingAmenity({
|
export default async function ParkingAmenity({
|
||||||
parking,
|
parking,
|
||||||
parkingPageLink,
|
hasParkingPage,
|
||||||
}: ParkingAmenityProps) {
|
}: ParkingAmenityProps) {
|
||||||
const intl = await getIntl()
|
const intl = await getIntl()
|
||||||
|
|
||||||
@@ -82,14 +82,15 @@ export default async function ParkingAmenity({
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
{parkingPageLink && (
|
{hasParkingPage && (
|
||||||
<Button
|
<Button
|
||||||
className={styles.parkingPageLink}
|
className={styles.parkingPageLink}
|
||||||
theme="base"
|
theme="base"
|
||||||
intent="secondary"
|
intent="secondary"
|
||||||
asChild
|
asChild
|
||||||
>
|
>
|
||||||
<Link href={parkingPageLink} color="burgundy" weight="bold">
|
{/* Not decided how to handle linking to separate parking page */}
|
||||||
|
<Link href="#" color="burgundy" weight="bold">
|
||||||
{intl.formatMessage({ id: "About parking" })}
|
{intl.formatMessage({ id: "About parking" })}
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export enum Periods {
|
|||||||
|
|
||||||
export type ParkingAmenityProps = {
|
export type ParkingAmenityProps = {
|
||||||
parking: Hotel["parking"]
|
parking: Hotel["parking"]
|
||||||
parkingPageLink?: string
|
hasParkingPage?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ParkingListProps = {
|
export type ParkingListProps = {
|
||||||
|
|||||||
Reference in New Issue
Block a user