diff --git a/frontend/.DS_Store b/frontend/.DS_Store index 9a9ce6d..a650082 100644 Binary files a/frontend/.DS_Store and b/frontend/.DS_Store differ diff --git a/frontend/index.html b/frontend/index.html index 48ef220..93a89c1 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,10 +3,8 @@
- + + } />{text}
{formatNumber(Number(points.toFixed(2)))}
+{name}
- {formatNumber(points)} + {formatNumber(Number(points.toFixed(2)))}
+ {'X '} + {mult} +
{type === 'dev' ? 'Пока что делаем эту фичу. Скоро сможете поюзать.' : 'Мы пока не можем принимать клики, но скоро всё починим.'}
-{type === 'storage' ? 'Хранилище' : 'Друзья'}
diff --git a/frontend/src/shared/Storage/StorageBtn/storagebtn.module.css b/frontend/src/shared/Storage/StorageBtn/storagebtn.module.css index d62a335..52fc057 100644 --- a/frontend/src/shared/Storage/StorageBtn/storagebtn.module.css +++ b/frontend/src/shared/Storage/StorageBtn/storagebtn.module.css @@ -22,5 +22,21 @@ } .stroke { - border: 1px solid var(--primary); + /*border: 1px solid var(--primary);*/ + border: 1px solid var(--grey6C); +} + +.dev { + position: relative; +} + +.dev::after { + position: absolute; + content: ''; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgb(50, 50, 50, 0.5); + border-radius: 30px; } \ No newline at end of file diff --git a/frontend/src/shared/Storage/StoragePageBlock/StoragePageBlock.tsx b/frontend/src/shared/Storage/StoragePageBlock/StoragePageBlock.tsx index 2c508a0..5fb8600 100644 --- a/frontend/src/shared/Storage/StoragePageBlock/StoragePageBlock.tsx +++ b/frontend/src/shared/Storage/StoragePageBlock/StoragePageBlock.tsx @@ -1,22 +1,33 @@ -import React from 'react'; +import React, { useState } from 'react'; import styles from './storagepageblock.module.css'; import { StorageScale } from '../StorageScale'; import { ETextStyles } from '../../texts'; import { PopupCard } from '../../Elements/PopupCard'; +import { ModalWindow } from '../../ModalWindow'; +import { DevPopup } from '../../Elements/DevPopup'; export function StoragePageBlock() { + const [closeAnimOut, setCloseAnimOut] = useState(false); + const [closeDev, setCloseDev] = useState(true); + const isDev = true; return (- В хранилище приходит часть коинов, заработанная вашими друзьями. Считаем так: количество коинов * 5%. Хранилище пополняется каждый вечер. -
++ В хранилище приходит часть коинов, заработанная вашими друзьями. Считаем так: количество коинов * 5%. Хранилище пополняется каждый вечер. +
} + {isDev && } +Забрать
} {initpercent > 0 &&Больше друзей — быстрее заполнение
} + {initpercent === 0 && !isDev && } + {initpercent === 0 && !isDev &&Больше друзей — быстрее заполнение
} + {isDev &&Скоро откроем
}