feat(SW-750): remove button
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { about } from "@/constants/routes/hotelPageParams"
|
||||
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Divider from "@/components/TempDesignSystem/Divider"
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
import SidePeek from "@/components/TempDesignSystem/SidePeek"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Preamble from "@/components/TempDesignSystem/Text/Preamble"
|
||||
@@ -22,7 +20,6 @@ export default async function AboutTheHotelSidePeek({
|
||||
socials,
|
||||
ecoLabels,
|
||||
descriptions,
|
||||
buttonUrl,
|
||||
}: AboutTheHotelSidePeekProps) {
|
||||
const lang = getLang()
|
||||
const intl = await getIntl()
|
||||
@@ -43,13 +40,6 @@ export default async function AboutTheHotelSidePeek({
|
||||
<Divider color="baseSurfaceSutbleHover" />
|
||||
<Preamble>{descriptions.short}</Preamble>
|
||||
<Body>{descriptions.medium}</Body>
|
||||
{buttonUrl && (
|
||||
<Button fullWidth theme="base" intent="secondary" asChild>
|
||||
<Link href={buttonUrl} color="burgundy" weight="bold">
|
||||
{intl.formatMessage({ id: "Read more about the hotel" })}
|
||||
</Link>
|
||||
</Button>
|
||||
)}
|
||||
</section>
|
||||
</SidePeek>
|
||||
)
|
||||
|
||||
@@ -145,7 +145,6 @@ export default async function HotelPage() {
|
||||
socials={socials}
|
||||
ecoLabels={ecoLabels}
|
||||
descriptions={hotelDescription}
|
||||
buttonUrl="#"
|
||||
/>
|
||||
<SidePeek
|
||||
contentKey={hotelPageParams.restaurantAndBar[lang]}
|
||||
|
||||
@@ -10,5 +10,4 @@ export type AboutTheHotelSidePeekProps = {
|
||||
socials: Hotel["socialMedia"]
|
||||
ecoLabels: Hotel["hotelFacts"]["ecoLabels"]
|
||||
descriptions: Hotel["hotelContent"]["texts"]["descriptions"]
|
||||
buttonUrl?: string
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@ export enum GoogleMapsDirections {
|
||||
|
||||
export type ContactInformationProps = Omit<
|
||||
AboutTheHotelSidePeekProps,
|
||||
"descriptions" | "buttonUrl"
|
||||
"descriptions"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user