feat: add SignupPromo component

This commit is contained in:
Arvid Norlin
2024-12-03 14:56:20 +01:00
parent 963df41ed5
commit 083ba28f9e
15 changed files with 170 additions and 65 deletions

View File

@@ -514,7 +514,7 @@ const linksSchema = z.object({
export const priceSchema = z.object({
pricePerNight: z.coerce.number(),
pricePerStay: z.coerce.number(),
currency: z.string(),
currency: z.nativeEnum(CurrencyEnum),
})
export const productTypePriceSchema = z.object({
@@ -530,7 +530,7 @@ const productSchema = z.object({
rateCode: "",
rateType: "",
localPrice: {
currency: "SEK",
currency: CurrencyEnum.SEK,
pricePerNight: 0,
pricePerStay: 0,
},