fixes
This commit is contained in:
@@ -12,7 +12,7 @@ export const getMinutesString = (amount: number, secondWord = `назад`): str
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const getDirectionString = (direction: Directions): string => {
|
export const getDirectionString = (direction: Directions): string => {
|
||||||
return direction === `in` ? `в парк` : `из парка`
|
return direction === `in` ? `в Ксты` : `из Кстов`
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getTypeString = (type: ComplainType): string => {
|
export const getTypeString = (type: ComplainType): string => {
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ export const HowMuchLeft: React.FC<ILeftProps> = ({ left, busStopLabel, holiday
|
|||||||
</NextBusContainerStyled>
|
</NextBusContainerStyled>
|
||||||
</HowMuchLeftContainerStyled>
|
</HowMuchLeftContainerStyled>
|
||||||
|
|
||||||
<Fastreply />
|
{/* <Fastreply /> */}
|
||||||
|
|
||||||
{holiday && <Holiday />}
|
{holiday && <Holiday />}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -49,14 +49,10 @@ export const Home: React.FC = () => {
|
|||||||
<DirectionChanger />
|
<DirectionChanger />
|
||||||
<BusStop />
|
<BusStop />
|
||||||
|
|
||||||
<Complains />
|
|
||||||
|
|
||||||
<FavoriteStops />
|
<FavoriteStops />
|
||||||
|
|
||||||
<TodaysBuses />
|
<TodaysBuses />
|
||||||
|
|
||||||
<LeaveFeedbackButton />
|
|
||||||
|
|
||||||
<OtherTimeBusses />
|
<OtherTimeBusses />
|
||||||
|
|
||||||
<ContainerStyled>
|
<ContainerStyled>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { baseRequest, IContentfulResponse } from 'shared/lib'
|
|||||||
|
|
||||||
export type FetchInfoResponse = IContentfulResponse<IInfo>
|
export type FetchInfoResponse = IContentfulResponse<IInfo>
|
||||||
|
|
||||||
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<FetchInfoResponse> => {
|
export const fetchInfo = (): Promise<FetchInfoResponse> => {
|
||||||
return baseRequest<FetchInfoResponse>(INFO_URL)
|
return baseRequest<FetchInfoResponse>(INFO_URL)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2934,7 +2934,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`17:48`,
|
`17:48`,
|
||||||
`19:08`,
|
`19:08`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:05`,
|
`7:05`,
|
||||||
`8:35`,
|
`8:35`,
|
||||||
@@ -3296,7 +3296,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`17:48`,
|
`17:48`,
|
||||||
`19:08`,
|
`19:08`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:05`,
|
`7:05`,
|
||||||
`8:35`,
|
`8:35`,
|
||||||
@@ -3658,7 +3658,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`17:48`,
|
`17:48`,
|
||||||
`19:08`,
|
`19:08`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:05`,
|
`7:05`,
|
||||||
`8:35`,
|
`8:35`,
|
||||||
@@ -4020,7 +4020,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`17:48`,
|
`17:48`,
|
||||||
`19:08`,
|
`19:08`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:05`,
|
`7:05`,
|
||||||
`8:35`,
|
`8:35`,
|
||||||
@@ -4382,7 +4382,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`17:48`,
|
`17:48`,
|
||||||
`19:08`,
|
`19:08`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:05`,
|
`7:05`,
|
||||||
`8:35`,
|
`8:35`,
|
||||||
@@ -4726,7 +4726,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`18:17`,
|
`18:17`,
|
||||||
`19:50`,
|
`19:50`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:25`,
|
`7:25`,
|
||||||
`8:25`,
|
`8:25`,
|
||||||
@@ -5048,7 +5048,7 @@ export const SCHEDULE: ISchedule = {
|
|||||||
`18:17`,
|
`18:17`,
|
||||||
`19:50`,
|
`19:50`,
|
||||||
],
|
],
|
||||||
'Дом торгволи': [
|
'Дом торговли': [
|
||||||
`6:05`,
|
`6:05`,
|
||||||
`7:25`,
|
`7:25`,
|
||||||
`8:25`,
|
`8:25`,
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ export const AVTOTRANS = `ap2polotsk.of.by`
|
|||||||
export const TG_LINK = `https://t.me/xtimms`
|
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 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 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`
|
export const BETA_TESTER_LINK = `https://forms.gle/YsVTg9UHLAB5UEN47`
|
||||||
|
|||||||
Reference in New Issue
Block a user