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 { CompanyTimeline } from '@/widgets/about-page/company-timeline';
import { StationGallery } from '@/widgets/about-page/station-gallery'; import { StationGallery } from '@/widgets/about-page/station-gallery';
import { CtaSection } from '@/widgets/cta-section'; import { CtaSection } from '@/widgets/cta-section';
import Link from 'next/link';
export const metadata = { export const metadata = {
title: 'about.metadata.title', 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'> <p className='mx-auto mb-6 max-w-2xl text-gray-600'>
{t('about.stations.description')} {t('about.stations.description')}
</p> </p>
<Link href='/#stations'>
<Button className='bg-red-600 hover:bg-red-700'> <Button className='bg-red-600 hover:bg-red-700'>
{t('about.stations.buttonText')}{' '} {t('about.stations.buttonText')}{' '}
<MapPin className='ml-2 h-4 w-4' /> <MapPin className='ml-2 h-4 w-4' />
</Button> </Button>
</Link>
</div> </div>
</div> </div>
</section> </section>

View File

@ -230,9 +230,9 @@ export function CharityPage() {
</CardContent> </CardContent>
</div> </div>
<CardFooter> <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`)} {t(`charity.events.button`)}
</Button> </Button> */}
</CardFooter> </CardFooter>
</Card> </Card>
))} ))}

View File

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

View File

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

View File

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

View File

@ -100,7 +100,7 @@ export const Footer = () => {
</li> </li>
<li> <li>
<Link <Link
href='/clients/loyalty' href='/clients'
className='text-gray-400 hover:text-white' className='text-gray-400 hover:text-white'
> >
{t('common.navigation.clients')} {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 { Button } from '@/shared/shadcn-ui/button';
import { PartnersSlider } from './partners-slider'; import { PartnersSlider } from './partners-slider';
import Link from 'next/link';
interface PartnersSectionProps { interface PartnersSectionProps {
partners: Partners; partners: Partners;
@ -61,9 +62,11 @@ export const PartnersSection = ({ partners }: PartnersSectionProps) => {
<p className='mx-auto mb-6 max-w-2xl text-gray-600'> <p className='mx-auto mb-6 max-w-2xl text-gray-600'>
{t('home.partners.becomePartnerText')} {t('home.partners.becomePartnerText')}
</p> </p>
<Link href='mailto:info@oriyo.tj'>
<Button className='bg-red-600 hover:bg-red-700'> <Button className='bg-red-600 hover:bg-red-700'>
{t('common.buttons.contactUs')} {t('common.buttons.contactUs')}
</Button> </Button>
</Link>
</div> </div>
</div> </div>
</section> </section>

View File

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