Новые изменения в компоенты
This commit is contained in:
parent
33861a2a63
commit
30808ff169
3 changed files with 8 additions and 6 deletions
|
|
@ -1,3 +1,5 @@
|
|||
export const EXPERIENCE_YEARS = "20+";
|
||||
|
||||
export const SITE_URL = 'https://avtourist-surgut.ru/';
|
||||
export const SITE_TITLE_SUFFIX = ' | Автоюрист Сургут';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import Layout from '@layouts/Layout.astro';
|
||||
import { SITE_URL } from '@constants';
|
||||
import { SITE_URL, EXPERIENCE_YEARS } from '@constants';
|
||||
import PageHero from '@components/base/PageHero.astro';
|
||||
import CasesList from '@components/cases/CasesList.astro';
|
||||
import CTA from '@components/base/CTA.astro';
|
||||
|
|
@ -24,15 +24,15 @@ const currentPage = Number(Astro.params.page) || 1;
|
|||
badgeText="НАШИ ДЕЛА"
|
||||
titleWhite="Выигранные"
|
||||
titleGold="дела"
|
||||
description="Каждое дело — это уникальная история с индивидуальным подходом. За 12+ лет мы помогли сотням клиентов вернуть права и получить компенсации."
|
||||
description={`Каждое дело — это уникальная история с индивидуальным подходом. За ${EXPERIENCE_YEARS} лет мы помогли сотням клиентов вернуть права и получить компенсации.`}
|
||||
btnText="Получить консультацию"
|
||||
modalTarget="consultation-modal"
|
||||
layout="with-image"
|
||||
sideImage="/images/cases/casesImg.avif"
|
||||
sideImageAlt="Автоюрист Сургут"
|
||||
experienceBadge={{
|
||||
number: "500+",
|
||||
text: "ВЫИГРАННЫХ ДЕЛ"
|
||||
number: EXPERIENCE_YEARS,
|
||||
text: "ЛЕТ ОПЫТА В СУДАХ"
|
||||
}}
|
||||
bgImage="/images/cases/casesBg.avif"
|
||||
icon="briefcase"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import Steps from "@components/home/Steps.astro";
|
|||
import WhyUs from "@components/home/WhyUs.astro";
|
||||
import Reviews from "@components/home/Reviews.astro";
|
||||
import Faq from "@components/home/Faq.astro";
|
||||
import { SITE_URL } from '@constants';
|
||||
import { SITE_URL, EXPERIENCE_YEARS } from '@constants';
|
||||
---
|
||||
|
||||
<Layout
|
||||
|
|
@ -31,7 +31,7 @@ import { SITE_URL } from '@constants';
|
|||
minHeight="100vh"
|
||||
headerOffset="90px"
|
||||
experienceBadge={{
|
||||
number: "20+",
|
||||
number: EXPERIENCE_YEARS,
|
||||
text: "ЛЕТ ОПЫТА В СУДАХ"
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue