Compare commits

..

2 Commits

Author SHA1 Message Date
khadiatullo
8a64bc6ec2 update: update buttons 2025-05-03 02:15:50 +03:00
khadiatullo
d7aeeec95f update: update buttons 2025-05-03 01:35:10 +03:00
8 changed files with 31 additions and 26 deletions

View File

@ -13,6 +13,8 @@ import { Card, CardContent } from '@/shared/shadcn-ui/card';
import { CompanyTimeline } from '@/widgets/about-page/company-timeline';
import { StationGallery } from '@/widgets/about-page/station-gallery';
import { CtaSection } from '@/widgets/cta-section';
import { Button } from '@/shared/shadcn-ui/button';
import Link from 'next/link';
export const metadata = {
title: 'about.metadata.title',
@ -183,10 +185,12 @@ export default function AboutPage({ content }: AboutPageProps) {
<p className='mx-auto mb-6 max-w-2xl text-gray-600'>
{t('about.stations.description')}
</p>
{/* <Button className='bg-red-600 hover:bg-red-700'>
{t('about.stations.buttonText')}{' '}
<MapPin className='ml-2 h-4 w-4' />
</Button> */}
<Link href='/#stations'>
<Button className='bg-red-600 hover:bg-red-700'>
{t('about.stations.buttonText')}{' '}
<MapPin className='ml-2 h-4 w-4' />
</Button>
</Link>
</div>
</Container>
</section>

View File

@ -44,11 +44,10 @@ const events = [
image: '/placeholder.svg?height=200&width=300&text=Экологическая+акция',
},
{
title: 'Сбор школьных принадлежностей',
description:
'Сбор школьных принадлежностей для детей из малообеспеченных семей к новому учебному году.',
title: 'Сбор школьных принадлежностей',
description: 'Сбор школьных принадлежностей для детей из малообеспеченных семей к новому учебному году.',
date: '1-20 августа 2023',
location: 'Все заправки GasNetwork',
location: 'Все заправки GasNetwork',
image: '/placeholder.svg?height=200&width=300&text=Школьные+принадлежности',
},
];
@ -257,7 +256,7 @@ export function CharityPage() {
{
title: 'Распространять информацию',
description:
'Расскажите о нашем фонде и его деятельности своим друзьям и знакомым.',
'Расскажите о нашем фонде и его деятельности своим друзьям и знакомым.',
icon: <Heart className='h-10 w-10 text-red-600' />,
},
].map((item, index) => (

View File

@ -155,7 +155,7 @@ export default function LoginPage() {
<div className='mt-8 text-center text-sm text-gray-500'>
<p>
{t('auth.loginIssues')}{' '}
<Link href='/contact' className='text-red-600 hover:underline'>
<Link href='mailto:info@oriyo.tj' className='text-red-600 hover:underline'>
{t('auth.contactLink')}
</Link>
</p>

View File

@ -122,7 +122,7 @@ export default function PromotionSlider({ discounts }: PromotionSliderProps) {
? `Действует до: ${promo.expiresAt}`
: null}
</span>
<Link href='#'>
{/* <Link href='#'>
<Button
variant='outline'
size='sm'
@ -130,7 +130,7 @@ export default function PromotionSlider({ discounts }: PromotionSliderProps) {
>
{t('common.buttons.readMore')}
</Button>
</Link>
</Link> */}
</div>
</CardContent>
</Card>

View File

@ -17,13 +17,9 @@ export const CtaSection = () => {
{t('home.cta.title')}
</h2>
<p className='mb-8 max-w-2xl'>{t('home.cta.description')}</p>
<div className='flex flex-col gap-4 sm:flex-row'>
<Link href='#'>
<Button variant='secondary'>
{t('common.buttons.purchaseCardAtGasStations')}
</Button>
</Link>
</div>
<h4 className='text-xl font-bold'>
{t('common.buttons.purchaseCardAtGasStations')}
</h4>
</div>
</Container>
</section>

View File

@ -100,7 +100,7 @@ export const Footer = () => {
</li>
<li>
<Link
href='/clients/loyalty'
href='/clients'
className='text-gray-400 hover:text-white'
>
{t('common.navigation.clients')}

View File

@ -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) => {
<p className='mx-auto mb-6 max-w-2xl text-gray-600'>
{t('home.partners.becomePartnerText')}
</p>
<Button className='bg-red-600 hover:bg-red-700'>
{t('common.buttons.contactUs')}
</Button>
<Link href='mailto:info@oriyo.tj'>
<Button className='bg-red-600 hover:bg-red-700'>
{t('common.buttons.contactUs')}
</Button>
</Link>
</div>
</div>
</section>

View File

@ -16,6 +16,7 @@ import {
TabsList,
TabsTrigger,
} from '@/shared/shadcn-ui/tabs';
import Link from 'next/link';
interface VacanciesSectionProps {
jobs: Jobs;
@ -130,9 +131,11 @@ const Vacancy = ({ jobTitle, location, tags }: VacancyProps) => {
})}
</div>
</div>
<Button variant='outline' size='sm'>
{t('common.buttons.apply')}
</Button>
<Link href='mailto:info@oriyo.tj'>
<Button variant='outline' size='sm'>
{t('common.buttons.apply')}
</Button>
</Link>
</div>
</div>
</CardContent>