refactor(quest): make pixel perfect quests page
@ -160,6 +160,7 @@ export type QuestItemType = {
|
||||
text: string;
|
||||
};
|
||||
title: {
|
||||
mobileStyles?: object;
|
||||
styles?: object;
|
||||
text: string;
|
||||
};
|
||||
@ -358,6 +359,11 @@ export const egerQuest: QuestItemType = {
|
||||
text: '60 минут',
|
||||
},
|
||||
title: {
|
||||
mobileStyles: {
|
||||
color: '#fff',
|
||||
fontFamily: 'DwarvenStonecraftCyr',
|
||||
fontSize: 115,
|
||||
},
|
||||
styles: {
|
||||
color: '#fff',
|
||||
fontFamily: 'DwarvenStonecraftCyr',
|
||||
@ -577,6 +583,12 @@ export const faraonQuest: QuestItemType = {
|
||||
text: '60 минут',
|
||||
},
|
||||
title: {
|
||||
mobileStyles: {
|
||||
border: '3px #fff',
|
||||
color: 'linear-gradient(134.56deg, #FF5C00 11.78%, #FF3399 84.81%)',
|
||||
fontFamily: 'Angry',
|
||||
fontSize: 56,
|
||||
},
|
||||
styles: {
|
||||
border: '3px #fff',
|
||||
color: 'linear-gradient(134.56deg, #FF5C00 11.78%, #FF3399 84.81%)',
|
||||
@ -785,6 +797,12 @@ export const multQuest: QuestItemType = {
|
||||
text: '60 минут',
|
||||
},
|
||||
title: {
|
||||
mobileStyles: {
|
||||
border: '4px #fff',
|
||||
color: 'linear-gradient(134.56deg, #FFF500 11.78%, #FF3399 84.81%)',
|
||||
fontFamily: 'Airfool',
|
||||
fontSize: 78,
|
||||
},
|
||||
styles: {
|
||||
border: '4px #fff',
|
||||
color: 'linear-gradient(134.56deg, #FFF500 11.78%, #FF3399 84.81%)',
|
||||
@ -818,6 +836,6 @@ export const getOne = (req: Request, res: Response) => {
|
||||
|
||||
export const getAll = (req: Request, res: Response) => res.status(200).json([
|
||||
egerQuest,
|
||||
faraonQuest,
|
||||
multQuest,
|
||||
faraonQuest,
|
||||
]);
|
||||
|
||||
@ -52,9 +52,12 @@ const outdoorsTitleText: TitleText = {
|
||||
};
|
||||
|
||||
const questsTitleText: TitleText = {
|
||||
description: 'Выбираете квест для ребенка? Может, для компании своих друзей/коллег? '
|
||||
+ 'Или просто хотите отдохнуть всей семьей?\\n\\n '
|
||||
+ 'У нас есть решения под любые цели и для любых возрастов!\\n',
|
||||
description: 'Выбираете квест для ребенка? Может, для компании\\n своих друзей/коллег? '
|
||||
+ 'Или просто хотите отдохнуть всей семьей?\\n\\n'
|
||||
+ 'У нас есть решения под любые цели и для любых возрастов!',
|
||||
mobileDescription: 'Выбираете квест для ребенка?\\n Может, для компании своих друзей/коллег?\\n'
|
||||
+ 'Или просто хотите отдохнуть всей семьей?\\n\\n'
|
||||
+ 'У нас есть решения под любые цели\\n и для любых возрастов!',
|
||||
title: 'Квесты',
|
||||
};
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 308 KiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 200 KiB After Width: | Height: | Size: 703 KiB |
|
Before Width: | Height: | Size: 307 KiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 4.5 MiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 489 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 336 KiB |
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 646 KiB |
|
Before Width: | Height: | Size: 335 KiB After Width: | Height: | Size: 1.3 MiB |