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({
|
||||
parking,
|
||||
parkingPageLink,
|
||||
hasParkingPage,
|
||||
}: ParkingAmenityProps) {
|
||||
const intl = await getIntl()
|
||||
|
||||
@@ -82,14 +82,15 @@ export default async function ParkingAmenity({
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
{parkingPageLink && (
|
||||
{hasParkingPage && (
|
||||
<Button
|
||||
className={styles.parkingPageLink}
|
||||
theme="base"
|
||||
intent="secondary"
|
||||
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" })}
|
||||
</Link>
|
||||
</Button>
|
||||
|
||||
@@ -8,7 +8,7 @@ export enum Periods {
|
||||
|
||||
export type ParkingAmenityProps = {
|
||||
parking: Hotel["parking"]
|
||||
parkingPageLink?: string
|
||||
hasParkingPage?: boolean
|
||||
}
|
||||
|
||||
export type ParkingListProps = {
|
||||
|
||||
Reference in New Issue
Block a user