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

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

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"