{t('certificates.title')}
@@ -125,7 +125,7 @@ export function CertificatesPage() { ))}
diff --git a/src/features/map/ui/gas-station-map.tsx b/src/features/map/ui/gas-station-map.tsx index 8de342c..45a99df 100644 --- a/src/features/map/ui/gas-station-map.tsx +++ b/src/features/map/ui/gas-station-map.tsx @@ -56,7 +56,7 @@ interface StationListPanelProps { selectedStation: number | null; activeFilters: string[]; activeCities: string[]; - setSelectedStation: (id: number | null) => void; + handleMapStationClick: (id: number) => void; filterToFieldMap: { [key: string]: keyof Stations[number] }; allFilters: string[]; resetFilters: () => void; @@ -205,7 +205,7 @@ function StationListPanel({ selectedStation, activeFilters, activeCities, - setSelectedStation, + handleMapStationClick, filterToFieldMap, allFilters, resetCities, @@ -275,7 +275,7 @@ function StationListPanel({ ? 'border-blue-500 bg-blue-50' : 'border-gray-200 hover:bg-gray-50' }`} - onClick={() => setSelectedStation(station.id)} + onClick={() => handleMapStationClick(station.id)} >
- {t('about.overview.description1')} -
-- {t('about.overview.description2')} -
-- {t('about.overview.description3')} -
++ {t('about.overview.description1')} +
++ {t('about.overview.description2')} +
++ {t('about.overview.description3')} +
-- {t(`about.overview.benefits.${index}.description`)} -
-+ {t(`about.overview.benefits.${index}.description`)} +
+- {t('about.history.subtitle')} -
-+ {t('about.history.subtitle')} +
- {t('about.stations.subtitle')} -
-- {t('about.stations.description')} -
- ++ {t('about.stations.subtitle')} +
+ {t('about.stations.description')} +
+ {/* */} +- {t('about.values.subtitle')} -
-- {t(`about.values.items.${index}.description`)} -
-+ {t('about.values.subtitle')} +
++ {t(`about.values.items.${index}.description`)} +
+- {t('about.team.subtitle')} -
-{member.profession}
-+ {t('about.team.subtitle')} +
{member.profession}
+- {t('about.testimonials.subtitle')} -
-- "{review.review}" -
-{review.fullname}
-+ {t('about.testimonials.subtitle')} +
+"{review.review}"
+{review.fullname}
+- {t('charity.hero.subtitle')} -
++ {t('charity.hero.subtitle')} +
- {t('charity.mission.description1')} -
-- {t('charity.mission.description2')} -
- -- {t( - `charity.mission.principles.${index}.description`, - )} -
-- {t('charity.stats.subtitle')} +
+ {t('charity.mission.description1')} +
++ {t('charity.mission.description2')}
-- {t(`charity.stats.items.${index}.label`)} -
-- {t('charity.events.subtitle')} -
-{event.description}
-+ {t(`charity.mission.principles.${index}.description`)} +
+ {t('charity.stats.subtitle')} +
++ {t(`charity.stats.items.${index}.label`)} +
++ {t('charity.events.subtitle')} +
+{event.description}
+- {t('charity.help.subtitle')} -
-{item.description}
-+ {t('charity.help.subtitle')} +
+{item.description}
+@@ -125,7 +125,7 @@ export function CertificatesPage() { ))}
- {t('clients.loyalty.description')} -
-+ {t('clients.loyalty.description')} +
- {t('clients.loyalty.programm.about-description')} -
-- {t('clients.loyalty.programm.about-description-2')} -
++ {t('clients.loyalty.programm.about-description')} +
++ {t('clients.loyalty.programm.about-description-2')} +
-- {t( - 'clients.loyalty.programm.conditions.description-1', - )} -
-- {t( - 'clients.loyalty.programm.conditions.description-2', - )} -
-- {t( - 'clients.loyalty.programm.conditions.description-3', - )} -
-+ {t('clients.loyalty.programm.conditions.description-1')} +
+ {t('clients.loyalty.programm.conditions.description-2')} +
++ {t('clients.loyalty.programm.conditions.description-3')} +
+
- {t('clients.loyalty.works.description')}
+ {/* How It Works */}
+
+ {t('clients.loyalty.works.description')}
+
+ {t('clients.loyalty.works.stage.description-1')}
- {t('clients.loyalty.works.stage.description-1')}
-
- {t('clients.loyalty.works.stage.description-2')}
-
- {t('clients.loyalty.works.stage.description-3')}
-
- {t('clients.loyalty.works.stage.description-4')}
-
- {t('clients.loyalty.works.levels.description')}
+
+ {t('clients.loyalty.works.stage.description-2')}
- {t('clients.loyalty.works.levels.card.mark')}
-
- {t('clients.loyalty.works.levels.card.mark')}
-
- {t('clients.loyalty.works.levels.card.mark')}
-
+ {t('clients.loyalty.works.stage.description-3')}
+
+ {t('clients.loyalty.works.stage.description-4')}
+
+ {t('clients.loyalty.works.levels.description')}
+
+ {t('clients.loyalty.works.levels.card.mark')}
+
+ {t('clients.loyalty.works.levels.card.mark')}
+
+ {t('clients.loyalty.works.levels.card.mark')}
+ {t('auth.description')} {t('auth.description')}
- {t('auth.loginIssues')}{' '}
-
- {t('auth.contactLink')}
-
-
+ {t('auth.loginIssues')}{' '}
+
+ {t('auth.contactLink')}
+
+
- {t('clients.benefits.subtitle')}
- {description}
+ {t('clients.benefits.subtitle')}
+ {description}
- {t('clients.services.subtitle')}
- {contentText}
+ {t('clients.services.subtitle')}
+ {contentText} {t('home.stats.mode')}
+ {t('clients.loyalty.works.title')}
+
+
+ {t('clients.loyalty.works.stage-1')}
+
+
- {t('clients.loyalty.works.stage-1')}
-
-
- {t('clients.loyalty.works.stage-2')}
-
-
- {t('clients.loyalty.works.stage-3')}
-
-
- {t('clients.loyalty.works.stage-4')}
-
-
- {t('clients.loyalty.works.levels.title')}
-
-
+ {t('clients.loyalty.works.stage-2')}
+
+
- {t('clients.loyalty.works.levels.card-1.title')}
-
-
-
-
- {t('clients.loyalty.works.levels.card-2.title')}
-
-
-
-
- {t('clients.loyalty.works.levels.card-3.title')}
-
-
-
-
+ {t('clients.loyalty.works.stage-3')}
+
+
+ {t('clients.loyalty.works.stage-4')}
+
+
+ {t('clients.loyalty.works.levels.title')}
+
+
+ {t('clients.loyalty.works.levels.card-1.title')}
+
+
+
+
+ {t('clients.loyalty.works.levels.card-2.title')}
+
+
+
+
+ {t('clients.loyalty.works.levels.card-3.title')}
+
+
+
+
- {t('auth.title')}
-
-
+ {t('auth.title')}
+
+
- {t('clients.benefits.title')}
-
- {title}
-
+ {t('clients.benefits.title')}
+
+ {title}
+
- {t('clients.services.title')}
-
-
+ {t('clients.services.title')}
+
+
{t('home.cta.title')}
@@ -24,7 +25,7 @@ export const CtaSection = () => {
@@ -67,7 +65,7 @@ export function StatsSection() {