refactor(graduation): make pixel perfect

This commit is contained in:
Sergey Krylov 2023-09-03 20:19:05 +03:00
parent d66690cffa
commit f8072dd30b
4 changed files with 17 additions and 3 deletions

View File

@ -11,6 +11,7 @@ const imageRootDir = 'static/images/information/statistics';
const DecorationDesktopImg = path.join(imageRootDir, 'desktop/decoration.png');
const DiplomaDesktopImg = path.join(imageRootDir, 'desktop/diploma.png');
const KidsDesktopImg = path.join(imageRootDir, 'desktop/kids.png');
const Kids2DesktopImg = path.join(imageRootDir, 'desktop/kids2.png');
const LikeDesktopImg = path.join(imageRootDir, 'desktop/like.png');
const DecorDesktopImg = path.join(imageRootDir, 'desktop/decoration2.png');
const ScooterDesktopImg = path.join(imageRootDir, 'desktop/scooter.png');
@ -325,7 +326,7 @@ const graduationItems: StatisticsItem[] = [
xs: 12,
},
text: 'Ежегодно нас выбирают и к нам возвращаются тысячи клиентов, потому что:',
title: 'Доверьтесь лидеру в сфере развлечений',
title: 'Доверьтесь лидеру\\n в сфере развлечений',
},
{
img: {
@ -408,7 +409,7 @@ const graduationItems: StatisticsItem[] = [
{
img: {
alt: 'kids',
height: 90,
height: 98,
mobileHeight: 90,
mobilePosition: {
right: 10,
@ -420,7 +421,7 @@ const graduationItems: StatisticsItem[] = [
right: -10,
top: 15,
},
src: Kids2MobileImg,
src: Kids2DesktopImg,
width: 138,
},
size: {

View File

@ -331,6 +331,14 @@ const graduationPageStories: StoryType[] = [
{
card: {
content: {
border: {
inner: {
color: 'transparent',
},
outer: {
color: COLORS[ColorVariant.WHITE],
},
},
image: {
alt: 'Отзывы наших клиентов',
mobileSrc: feedbackMobileImage,

View File

@ -47,6 +47,11 @@ const birthdayTitleText: TitleText = {
const graduationTitleText: TitleText = {
description: 'Организуем незабываемый праздник в новом формате: выгодные комбо, индивидуальные дипломы, '
+ 'творческие мастер-классы и многое другое ждёт вас в нашем мире развлечений',
mobileDescription: 'Организуем незабываемый праздник\\n'
+ 'в новом формате: выгодные комбо,\\n'
+ 'индивидуальные дипломы, творческие\\n'
+ 'мастер-классы и многое другое ждёт вас\\n'
+ 'в нашем мире развлечений',
title: 'Выпускной',
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB