From d7aeeec95f439701e1ede2583a3925fac43c6fb3 Mon Sep 17 00:00:00 2001 From: khadiatullo Date: Sat, 3 May 2025 01:35:10 +0300 Subject: [PATCH] update: update buttons --- src/pages-templates/about/index.tsx | 11 +++++++---- src/pages-templates/charity/index.tsx | 4 ++-- src/pages-templates/login/index.tsx | 2 +- src/shared/components/promotion-slider.tsx | 4 ++-- src/widgets/cta-section.tsx | 10 +++------- src/widgets/footer.tsx | 2 +- src/widgets/partners-section.tsx | 9 ++++++--- src/widgets/vacancies-section.tsx | 9 ++++++--- 8 files changed, 28 insertions(+), 23 deletions(-) diff --git a/src/pages-templates/about/index.tsx b/src/pages-templates/about/index.tsx index c13ee99..4311107 100644 --- a/src/pages-templates/about/index.tsx +++ b/src/pages-templates/about/index.tsx @@ -14,6 +14,7 @@ import Container from '@/shared/shadcn-ui/conteiner'; import { CompanyTimeline } from '@/widgets/about-page/company-timeline'; import { StationGallery } from '@/widgets/about-page/station-gallery'; import { CtaSection } from '@/widgets/cta-section'; +import Link from 'next/link'; export const metadata = { title: 'about.metadata.title', @@ -195,10 +196,12 @@ export default function AboutPage({ content }: AboutPageProps) {

{t('about.stations.description')}

- + + + diff --git a/src/pages-templates/charity/index.tsx b/src/pages-templates/charity/index.tsx index 66b4353..9860202 100644 --- a/src/pages-templates/charity/index.tsx +++ b/src/pages-templates/charity/index.tsx @@ -230,9 +230,9 @@ export function CharityPage() { - + */} ))} diff --git a/src/pages-templates/login/index.tsx b/src/pages-templates/login/index.tsx index 8b30644..ab5a1d0 100644 --- a/src/pages-templates/login/index.tsx +++ b/src/pages-templates/login/index.tsx @@ -157,7 +157,7 @@ export default function LoginPage() {

{t('auth.loginIssues')}{' '} {t('auth.contactLink')} diff --git a/src/shared/components/promotion-slider.tsx b/src/shared/components/promotion-slider.tsx index f5008ca..016f0cb 100644 --- a/src/shared/components/promotion-slider.tsx +++ b/src/shared/components/promotion-slider.tsx @@ -122,7 +122,7 @@ export default function PromotionSlider({ discounts }: PromotionSliderProps) { ? `Действует до: ${promo.expiresAt}` : null} - + {/* - + */} diff --git a/src/widgets/cta-section.tsx b/src/widgets/cta-section.tsx index 2da2761..281d302 100644 --- a/src/widgets/cta-section.tsx +++ b/src/widgets/cta-section.tsx @@ -16,13 +16,9 @@ export const CtaSection = () => { {t('home.cta.title')}

{t('home.cta.description')}

-
- - - -
+

+ {t('common.buttons.purchaseCardAtGasStations')} +

diff --git a/src/widgets/footer.tsx b/src/widgets/footer.tsx index 73107b8..3d199ce 100644 --- a/src/widgets/footer.tsx +++ b/src/widgets/footer.tsx @@ -100,7 +100,7 @@ export const Footer = () => {
  • {t('common.navigation.clients')} diff --git a/src/widgets/partners-section.tsx b/src/widgets/partners-section.tsx index 6687f76..399eb9c 100644 --- a/src/widgets/partners-section.tsx +++ b/src/widgets/partners-section.tsx @@ -9,6 +9,7 @@ import { useTextController } from '@/shared/language/hooks/use-text-controller'; import { Button } from '@/shared/shadcn-ui/button'; import { PartnersSlider } from './partners-slider'; +import Link from 'next/link'; interface PartnersSectionProps { partners: Partners; @@ -61,9 +62,11 @@ export const PartnersSection = ({ partners }: PartnersSectionProps) => {

    {t('home.partners.becomePartnerText')}

    - + + + diff --git a/src/widgets/vacancies-section.tsx b/src/widgets/vacancies-section.tsx index 0e48e98..0bbffa3 100644 --- a/src/widgets/vacancies-section.tsx +++ b/src/widgets/vacancies-section.tsx @@ -15,6 +15,7 @@ import { TabsList, TabsTrigger, } from '@/shared/shadcn-ui/tabs'; +import Link from 'next/link'; interface VacanciesSectionProps { jobs: Jobs; @@ -129,9 +130,11 @@ const Vacancy = ({ jobTitle, location, tags }: VacancyProps) => { })} - + + +