diff --git a/src/libs/api/yclients.ts b/src/libs/api/yclients.ts index 95f0162..b262ba0 100644 --- a/src/libs/api/yclients.ts +++ b/src/libs/api/yclients.ts @@ -5,20 +5,20 @@ import { YCLIENTS_TOKEN, YCLIENTS_API_URL } from 'astro:env/server' type HTML = string const currencyFormatter = Intl.NumberFormat('ru', { currency: 'rub' }) -const RENT_GYM_SERVICE: z.infer = { - title: 'Аренда зала', - charachteristics: [ - { - title: 'Разовое посещение', - description: 'Разовое посещение студии для самостоятельной тренировки', - price: `${currencyFormatter.format(1500)} ₽`, - link: { - title: 'Записаться', - href: 'https://n1381542.yclients.com/company/1254211/activity/select?o=act', - }, - }, - ], -} +// const RENT_GYM_SERVICE: z.infer = { +// title: 'Аренда зала', +// charachteristics: [ +// { +// title: 'Разовое посещение', +// description: 'Разовое посещение студии для самостоятельной тренировки', +// price: `${currencyFormatter.format(1500)} ₽`, +// link: { +// title: 'Записаться', +// href: 'https://n1381542.yclients.com/company/1254211/activity/select?o=act', +// }, +// }, +// ], +// } export type YclientsBookinRawResponse = { category: { @@ -90,6 +90,6 @@ export const yclientsClient = { })), })) - return [services[0], RENT_GYM_SERVICE, ...services.slice(1)] + return services }, }