From 88f47000fa3546de6d643d6e59af374472db477d Mon Sep 17 00:00:00 2001 From: Zakhar Timoshenko Date: Mon, 27 May 2024 03:51:44 +0300 Subject: [PATCH] fixes --- src/features/Complains/helpers/index.ts | 2 +- src/features/HowMuchLeft/HowMuchLeft.tsx | 2 +- src/page/Home/Home.tsx | 4 ---- src/shared/api/info.ts | 2 +- src/shared/common/schedule.ts | 14 +++++++------- src/shared/common/strings.ts | 2 +- 6 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/features/Complains/helpers/index.ts b/src/features/Complains/helpers/index.ts index d2dec85..9b7555f 100644 --- a/src/features/Complains/helpers/index.ts +++ b/src/features/Complains/helpers/index.ts @@ -12,7 +12,7 @@ export const getMinutesString = (amount: number, secondWord = `назад`): str } export const getDirectionString = (direction: Directions): string => { - return direction === `in` ? `в парк` : `из парка` + return direction === `in` ? `в Ксты` : `из Кстов` } export const getTypeString = (type: ComplainType): string => { diff --git a/src/features/HowMuchLeft/HowMuchLeft.tsx b/src/features/HowMuchLeft/HowMuchLeft.tsx index 7d17ad5..763fbaf 100644 --- a/src/features/HowMuchLeft/HowMuchLeft.tsx +++ b/src/features/HowMuchLeft/HowMuchLeft.tsx @@ -105,7 +105,7 @@ export const HowMuchLeft: React.FC = ({ left, busStopLabel, holiday - + {/* */} {holiday && } diff --git a/src/page/Home/Home.tsx b/src/page/Home/Home.tsx index f4918fa..0fc6786 100644 --- a/src/page/Home/Home.tsx +++ b/src/page/Home/Home.tsx @@ -49,14 +49,10 @@ export const Home: React.FC = () => { - - - - diff --git a/src/shared/api/info.ts b/src/shared/api/info.ts index 1900a57..4a525eb 100644 --- a/src/shared/api/info.ts +++ b/src/shared/api/info.ts @@ -4,7 +4,7 @@ import { baseRequest, IContentfulResponse } from 'shared/lib' export type FetchInfoResponse = IContentfulResponse -export const INFO_URL = `https://cdn.contentful.com/spaces/ze9lyxygmq5z/environments/master/entries/7IlPNcg50LiVUVbIe2FwYN?access_token=${config.CONTENTFUL_TOKEN}` +export const INFO_URL = `https://cdn.contentful.com/spaces/ze9lyxygmq5z/environments/master/entries/G1BAtZ8exmpNVmgU9OHVm?access_token=${config.CONTENTFUL_TOKEN}` export const fetchInfo = (): Promise => { return baseRequest(INFO_URL) } diff --git a/src/shared/common/schedule.ts b/src/shared/common/schedule.ts index 09df9d7..a64330b 100644 --- a/src/shared/common/schedule.ts +++ b/src/shared/common/schedule.ts @@ -2934,7 +2934,7 @@ export const SCHEDULE: ISchedule = { `17:48`, `19:08`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:05`, `8:35`, @@ -3296,7 +3296,7 @@ export const SCHEDULE: ISchedule = { `17:48`, `19:08`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:05`, `8:35`, @@ -3658,7 +3658,7 @@ export const SCHEDULE: ISchedule = { `17:48`, `19:08`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:05`, `8:35`, @@ -4020,7 +4020,7 @@ export const SCHEDULE: ISchedule = { `17:48`, `19:08`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:05`, `8:35`, @@ -4382,7 +4382,7 @@ export const SCHEDULE: ISchedule = { `17:48`, `19:08`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:05`, `8:35`, @@ -4726,7 +4726,7 @@ export const SCHEDULE: ISchedule = { `18:17`, `19:50`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:25`, `8:25`, @@ -5048,7 +5048,7 @@ export const SCHEDULE: ISchedule = { `18:17`, `19:50`, ], - 'Дом торгволи': [ + 'Дом торговли': [ `6:05`, `7:25`, `8:25`, diff --git a/src/shared/common/strings.ts b/src/shared/common/strings.ts index f7bcf31..4d2b177 100644 --- a/src/shared/common/strings.ts +++ b/src/shared/common/strings.ts @@ -3,5 +3,5 @@ export const AVTOTRANS = `ap2polotsk.of.by` export const TG_LINK = `https://t.me/xtimms` export const FEEDBACK_LINK = `https://docs.google.com/forms/d/1CIuACPCB373hVzxHdHsXbjFCkeEA2H7h7IK-CURqh2o/viewform?edit_requested=true` export const AVTOTRANS_LINK = `https://ap2polotsk.of.by/ap2/rasp/rasp-polotsk/` -export const ABOUT_LINK = `https://ndrwbv.notion.site/C-9205a033327440b797956717f9fca366` +export const ABOUT_LINK = `https://ridebus.by` export const BETA_TESTER_LINK = `https://forms.gle/YsVTg9UHLAB5UEN47`