feat(SW-1450): added components in destination pages from cs * feat(SW-1450): added components in destination pages from cs * feat(SW-1450): added correct refs and removed classNames Approved-by: Fredrik Thorsson
26 lines
923 B
TypeScript
26 lines
923 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./breadcrumbs.module.css"
|
|
|
|
import { PageContentTypeEnum } from "@/types/requests/contentType"
|
|
|
|
export const breadcrumbsVariants = cva(styles.breadcrumbs, {
|
|
variants: {
|
|
variant: {
|
|
[PageContentTypeEnum.accountPage]: styles.fullWidth,
|
|
[PageContentTypeEnum.contentPage]: styles.contentWidth,
|
|
[PageContentTypeEnum.collectionPage]: styles.contentWidth,
|
|
[PageContentTypeEnum.destinationOverviewPage]: styles.fullWidth,
|
|
[PageContentTypeEnum.destinationCountryPage]: styles.fullWidth,
|
|
[PageContentTypeEnum.destinationCityPage]: styles.fullWidth,
|
|
[PageContentTypeEnum.hotelPage]: styles.headerWidth,
|
|
[PageContentTypeEnum.loyaltyPage]: styles.fullWidth,
|
|
[PageContentTypeEnum.startPage]: styles.contentWidth,
|
|
default: styles.fullWidth,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
variant: "default",
|
|
},
|
|
})
|