update: update buttons

This commit is contained in:
khadiatullo 2025-05-03 01:35:10 +03:00
parent 886ff726de
commit d7aeeec95f
8 changed files with 28 additions and 23 deletions

View File

@ -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) {
<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>
</div>
</section>

View File

@ -230,9 +230,9 @@ export function CharityPage() {
</CardContent>
</div>
<CardFooter>
<Button className='w-full bg-red-600 hover:bg-red-700'>
{/* <Button className='w-full bg-red-600 hover:bg-red-700'>
{t(`charity.events.button`)}
</Button>
</Button> */}
</CardFooter>
</Card>
))}

View File

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

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

@ -16,13 +16,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>
</div>
</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

@ -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) => {
})}
</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>