diff --git a/apps/scandic-web/components/ContentType/StartPage/InfoCardWithImage/index.tsx b/apps/scandic-web/components/ContentType/StartPage/InfoCardWithImage/index.tsx index 38d0c9e4b..473efee9a 100644 --- a/apps/scandic-web/components/ContentType/StartPage/InfoCardWithImage/index.tsx +++ b/apps/scandic-web/components/ContentType/StartPage/InfoCardWithImage/index.tsx @@ -8,7 +8,7 @@ import styles from "./infoCardWithImage.module.css" import type { ImageVaultAsset } from "@scandic-hotels/common/utils/imageVault" -export interface InfoCardWithImageProps extends InfoCardProps { +interface InfoCardWithImageProps extends InfoCardProps { image?: ImageVaultAsset imagePosition?: "left" | "right" | "top" } diff --git a/apps/scandic-web/components/Header/TopMenu/index.tsx b/apps/scandic-web/components/Header/TopMenu/index.tsx index 5aacfdb44..7f1f24028 100644 --- a/apps/scandic-web/components/Header/TopMenu/index.tsx +++ b/apps/scandic-web/components/Header/TopMenu/index.tsx @@ -14,6 +14,8 @@ import TopLink from "../TopLink" import styles from "./topMenu.module.css" +import { LanguageSwitcherTypesEnum } from "@/types/components/languageSwitcher/languageSwitcher" + export default async function TopMenu() { // cached const intl = await getIntl() @@ -33,7 +35,7 @@ export default async function TopMenu() {
- + {intl.formatMessage({ diff --git a/packages/design-system/lib/components/Breadcrumbs/types.ts b/packages/design-system/lib/components/Breadcrumbs/types.ts index 1854fe142..839d506c0 100644 --- a/packages/design-system/lib/components/Breadcrumbs/types.ts +++ b/packages/design-system/lib/components/Breadcrumbs/types.ts @@ -1,10 +1,8 @@ import type { VariantProps } from "class-variance-authority" -import type { PropsWithChildren } from "react" -import type { BreadcrumbProps as BreadcrumbRACProps } from "react-aria-components" import type { variants } from "./variants" -export type { Breadcrumb, BreadcrumbProps, BreadcrumbsProps } +export type { Breadcrumb, BreadcrumbsProps } interface Breadcrumb { title: string @@ -15,8 +13,3 @@ interface Breadcrumb { interface BreadcrumbsProps extends VariantProps { breadcrumbs: Breadcrumb[] } - -interface BreadcrumbProps extends PropsWithChildren { - className?: string - href?: string -}