feat(SW-885): ancillary and book next stay
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
|
||||
@@ -6,7 +7,7 @@ import styles from "./promo.module.css"
|
||||
|
||||
import type { PromoProps } from "@/types/components/hotelReservation/bookingConfirmation/promo"
|
||||
|
||||
export default function Promo({ buttonText, text, title }: PromoProps) {
|
||||
export default function Promo({ buttonText, href, text, title }: PromoProps) {
|
||||
return (
|
||||
<article className={styles.promo}>
|
||||
<Title color="white" level="h4">
|
||||
@@ -15,8 +16,10 @@ export default function Promo({ buttonText, text, title }: PromoProps) {
|
||||
<Body className={styles.text} color="white" textAlign="center">
|
||||
{text}
|
||||
</Body>
|
||||
<Button intent="primary" size="small" theme="primaryStrong">
|
||||
{buttonText}
|
||||
<Button asChild intent="primary" size="small" theme="primaryStrong">
|
||||
<Link color="none" href={href}>
|
||||
{buttonText}
|
||||
</Link>
|
||||
</Button>
|
||||
</article>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user