refactor(graduation): make pixel perfect
This commit is contained in:
parent
d66690cffa
commit
f8072dd30b
@ -11,6 +11,7 @@ const imageRootDir = 'static/images/information/statistics';
|
|||||||
const DecorationDesktopImg = path.join(imageRootDir, 'desktop/decoration.png');
|
const DecorationDesktopImg = path.join(imageRootDir, 'desktop/decoration.png');
|
||||||
const DiplomaDesktopImg = path.join(imageRootDir, 'desktop/diploma.png');
|
const DiplomaDesktopImg = path.join(imageRootDir, 'desktop/diploma.png');
|
||||||
const KidsDesktopImg = path.join(imageRootDir, 'desktop/kids.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 LikeDesktopImg = path.join(imageRootDir, 'desktop/like.png');
|
||||||
const DecorDesktopImg = path.join(imageRootDir, 'desktop/decoration2.png');
|
const DecorDesktopImg = path.join(imageRootDir, 'desktop/decoration2.png');
|
||||||
const ScooterDesktopImg = path.join(imageRootDir, 'desktop/scooter.png');
|
const ScooterDesktopImg = path.join(imageRootDir, 'desktop/scooter.png');
|
||||||
@ -325,7 +326,7 @@ const graduationItems: StatisticsItem[] = [
|
|||||||
xs: 12,
|
xs: 12,
|
||||||
},
|
},
|
||||||
text: 'Ежегодно нас выбирают и к нам возвращаются тысячи клиентов, потому что:',
|
text: 'Ежегодно нас выбирают и к нам возвращаются тысячи клиентов, потому что:',
|
||||||
title: 'Доверьтесь лидеру в сфере развлечений',
|
title: 'Доверьтесь лидеру\\n в сфере развлечений',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img: {
|
img: {
|
||||||
@ -408,7 +409,7 @@ const graduationItems: StatisticsItem[] = [
|
|||||||
{
|
{
|
||||||
img: {
|
img: {
|
||||||
alt: 'kids',
|
alt: 'kids',
|
||||||
height: 90,
|
height: 98,
|
||||||
mobileHeight: 90,
|
mobileHeight: 90,
|
||||||
mobilePosition: {
|
mobilePosition: {
|
||||||
right: 10,
|
right: 10,
|
||||||
@ -420,7 +421,7 @@ const graduationItems: StatisticsItem[] = [
|
|||||||
right: -10,
|
right: -10,
|
||||||
top: 15,
|
top: 15,
|
||||||
},
|
},
|
||||||
src: Kids2MobileImg,
|
src: Kids2DesktopImg,
|
||||||
width: 138,
|
width: 138,
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
|
|||||||
@ -331,6 +331,14 @@ const graduationPageStories: StoryType[] = [
|
|||||||
{
|
{
|
||||||
card: {
|
card: {
|
||||||
content: {
|
content: {
|
||||||
|
border: {
|
||||||
|
inner: {
|
||||||
|
color: 'transparent',
|
||||||
|
},
|
||||||
|
outer: {
|
||||||
|
color: COLORS[ColorVariant.WHITE],
|
||||||
|
},
|
||||||
|
},
|
||||||
image: {
|
image: {
|
||||||
alt: 'Отзывы наших клиентов',
|
alt: 'Отзывы наших клиентов',
|
||||||
mobileSrc: feedbackMobileImage,
|
mobileSrc: feedbackMobileImage,
|
||||||
|
|||||||
@ -47,6 +47,11 @@ const birthdayTitleText: TitleText = {
|
|||||||
const graduationTitleText: TitleText = {
|
const graduationTitleText: TitleText = {
|
||||||
description: 'Организуем незабываемый праздник в новом формате: выгодные комбо, индивидуальные дипломы, '
|
description: 'Организуем незабываемый праздник в новом формате: выгодные комбо, индивидуальные дипломы, '
|
||||||
+ 'творческие мастер-классы и многое другое ждёт вас в нашем мире развлечений',
|
+ 'творческие мастер-классы и многое другое ждёт вас в нашем мире развлечений',
|
||||||
|
mobileDescription: 'Организуем незабываемый праздник\\n'
|
||||||
|
+ 'в новом формате: выгодные комбо,\\n'
|
||||||
|
+ 'индивидуальные дипломы, творческие\\n'
|
||||||
|
+ 'мастер-классы и многое другое ждёт вас\\n'
|
||||||
|
+ 'в нашем мире развлечений',
|
||||||
title: 'Выпускной',
|
title: 'Выпускной',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
BIN
static/images/information/statistics/desktop/kids2.png
Normal file
BIN
static/images/information/statistics/desktop/kids2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
Loading…
x
Reference in New Issue
Block a user