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