fix(SW-435): Now using our Image component instead of NextImage
Approved-by: Linus Flood
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import NextImage from "next/image"
|
||||
import { notFound } from "next/navigation"
|
||||
import { Suspense } from "react"
|
||||
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import Breadcrumbs from "@/components/Breadcrumbs"
|
||||
import Image from "@/components/Image"
|
||||
import BreadcrumbsSkeleton from "@/components/TempDesignSystem/Breadcrumbs/BreadcrumbsSkeleton"
|
||||
import { getIntl } from "@/i18n"
|
||||
import { getLang } from "@/i18n/serverContext"
|
||||
@@ -77,7 +77,7 @@ export default async function ReviewsSubpage({ hotel }: ReviewsSubpageProps) {
|
||||
</Typography>
|
||||
<div className={styles.sidebarContent}>
|
||||
{showNordicEcoLabel ? (
|
||||
<NextImage
|
||||
<Image
|
||||
src={`/_static/img/icons/swan-eco/swan_eco_dark_${lang}.png`}
|
||||
alt={intl.formatMessage({
|
||||
defaultMessage: "Nordic Swan Ecolabel",
|
||||
@@ -88,7 +88,7 @@ export default async function ReviewsSubpage({ hotel }: ReviewsSubpageProps) {
|
||||
/>
|
||||
) : null}
|
||||
{awardsLogos?.map((award) => (
|
||||
<NextImage
|
||||
<Image
|
||||
src={award.imageUrl}
|
||||
alt={award.altText}
|
||||
className={styles.logo}
|
||||
|
||||
Reference in New Issue
Block a user