Описание Новые измнененения

This commit is contained in:
Web-serfer 2026-03-31 16:52:14 +05:00
parent 8d566354d4
commit d8fc7c85c9
9 changed files with 8 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -1,9 +1,9 @@
---
import { Image } from 'astro:assets';
import lawyerImage from '@assets/images/about/адвокат_Сургута.jpg';
import { LAWYER_NAME } from '@constants/constants.ts';
import { getAboutHeroStats, getYearsOfPractice, getClientDeclension, getYearDeclension } from '@utils/stats.utils.ts';
const lawyerImage = '/images/about/advokat.avif';
const dynamicStats = getAboutHeroStats();
const content = {
@ -30,8 +30,8 @@ const content = {
<div class="relative">
<!-- Главное фото с glassmorphism рамкой -->
<div class="relative bg-white/80 backdrop-blur p-3 rounded-2xl shadow-2xl border border-white/50">
<div class="aspect-[4/5] rounded-xl overflow-hidden bg-gray-900">
<Image
<div class="aspect-[4/5] rounded-xl overflow-hidden bg-gray-900 relative">
<img
src={lawyerImage}
alt={LAWYER_NAME.full}
class="w-full h-full object-cover transform hover:scale-105 transition-transform duration-700"

View file

@ -6,7 +6,7 @@ interface Props {
backgroundImage?: string;
}
const { backgroundImage = "/images/hero/heroImg.avif" } = Astro.props;
const { backgroundImage = "/images/home/hero/heroImg.avif" } = Astro.props;
const currentYear = new Date().getFullYear();
const yearsOfPractice = currentYear - PRACTICE_START_YEAR;

View file

@ -1,8 +1,8 @@
---
import { Image } from 'astro:assets';
import { PRACTICE_START_YEAR } from '@constants/constants.ts';
import { getYearDeclension } from '@utils/stats.utils.ts';
import whyUsImage from '@assets/images/home/whyus/WhyUs.png';
const whyUsImage = '/images/home/whyus/WhyUs.avif';
const currentYear = new Date().getFullYear();
const yearsOfPractice = currentYear - PRACTICE_START_YEAR;
@ -47,7 +47,7 @@ const iconPaths: Record<string, string> = {
<div class="absolute -inset-4 bg-gradient-to-br from-[var(--color-gold)]/20 to-[var(--color-blue-primary)]/20 rounded-3xl blur-2xl opacity-50 group-hover:opacity-70 transition-opacity"></div>
<div class="relative rounded-2xl overflow-hidden shadow-2xl">
<Image
<img
src={whyUsImage}
alt="Адвокатский стол"
class="w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-700"