diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx index a658ff385..4fbd2cffb 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx @@ -44,7 +44,7 @@ export default async function Destination({ )} {countryUrl && ( - + {intl.formatMessage( { defaultMessage: "View all hotels in {country}", diff --git a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/TripAdvisorLink/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/TripAdvisorLink/index.tsx index 2c9443e09..3da477547 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/TripAdvisorLink/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/TripAdvisorLink/index.tsx @@ -46,6 +46,7 @@ export default async function TripAdvisorLink({ return ( {name} diff --git a/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx b/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx index 6d918ea91..f0d24f515 100644 --- a/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx +++ b/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx @@ -72,6 +72,7 @@ export default async function RestaurantSidebar({ href={url} color="Text/Interactive/Secondary" textDecoration="underline" + variant="icon" > {name} - +

{hotelAddress.streetAddress}

{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */} @@ -115,10 +116,7 @@ export default async function RestaurantSidebar({ <> {phoneNumber} {hotelAddress.country === Country.Finland ? ( - +

{intl.formatMessage({ defaultMessage: "Price 0,16 €/min + local call charges", diff --git a/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx b/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx index 184cb42ac..d9cc5cd08 100644 --- a/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx @@ -60,6 +60,7 @@ export default function MegaMenu({ {seeAllLink?.link ? ( diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx index 24bb3b91b..2d4c2e14e 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx @@ -100,6 +100,7 @@ export default function ReceiptRoom({ href="" size="small" textDecoration="underline" + variant="icon" > {intl.formatMessage({ defaultMessage: "Reservation policy", diff --git a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx index 2ec90aab4..fc5b8a346 100644 --- a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx +++ b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx @@ -87,7 +87,7 @@ export const renderOptions: RenderOptions = { return ( + {next(node.children, embeds, fullRenderOptions)} ) @@ -416,10 +416,11 @@ export const renderOptions: RenderOptions = { return ( {next( @@ -466,7 +467,7 @@ export const renderOptions: RenderOptions = { return ( - + {children} diff --git a/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx b/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx index b18d3e129..bb8ac4d07 100644 --- a/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx +++ b/apps/scandic-web/components/MyPages/Profile/MembershipCards/index.tsx @@ -78,7 +78,7 @@ export default async function MembershipCardSlot() {

))} - + {intl.formatMessage({ diff --git a/apps/scandic-web/components/TempDesignSystem/Link/link.module.css b/apps/scandic-web/components/TempDesignSystem/Link/link.module.css index 66c1d86e2..9b88af0f3 100644 --- a/apps/scandic-web/components/TempDesignSystem/Link/link.module.css +++ b/apps/scandic-web/components/TempDesignSystem/Link/link.module.css @@ -1,8 +1,5 @@ .link { text-decoration: none; - align-items: center; - display: inline-flex; - gap: var(--Space-x05); } .underline { @@ -47,6 +44,12 @@ } } +.icon { + align-items: center; + display: inline-flex; + gap: var(--Space-x05); +} + .breadcrumb { font-family: var(--typography-Footnote-Bold-fontFamily); font-size: var(--typography-Footnote-Bold-fontSize); diff --git a/apps/scandic-web/components/TempDesignSystem/Link/variants.ts b/apps/scandic-web/components/TempDesignSystem/Link/variants.ts index 476b33fe9..1516884e8 100644 --- a/apps/scandic-web/components/TempDesignSystem/Link/variants.ts +++ b/apps/scandic-web/components/TempDesignSystem/Link/variants.ts @@ -28,6 +28,7 @@ export const linkVariants = cva(styles.link, { bold: styles.bold, }, variant: { + icon: styles.icon, breadcrumb: styles.breadcrumb, myPageMobileDropdown: styles.myPageMobileDropdown, navigation: styles.navigation,