mnoga che sdelal

This commit is contained in:
aurinex
2025-12-13 22:17:17 +05:00
parent abb45c3838
commit ca8ac8e880
9 changed files with 302 additions and 190 deletions

View File

@ -62,14 +62,6 @@ export default function Profile() {
horizontal: 'right',
});
const navigateDaily = () => {
navigate('/daily');
};
const navigateDailyQuests = () => {
navigate('/dailyquests');
};
useEffect(() => {
const savedConfig = localStorage.getItem('launcher_config');
if (savedConfig) {
@ -501,38 +493,6 @@ export default function Profile() {
</Box>
</Box>
<OnlinePlayersPanel currentUsername={username} />
<Button
variant="contained"
fullWidth
onClick={navigateDaily}
sx={{
mt: 1,
transition: 'transform 0.3s ease',
background:
'linear-gradient(71deg, #F27121 0%, #E940CD 70%, #8A2387 100%)',
fontFamily: 'Benzin-Bold',
borderRadius: '2.5vw',
'&:hover': { transform: 'scale(1.03)' },
}}
>
Ежедневные награды
</Button>
<Button
variant="contained"
fullWidth
onClick={navigateDailyQuests}
sx={{
mt: 1,
transition: 'transform 0.3s ease',
background:
'linear-gradient(71deg, #F27121 0%, #E940CD 70%, #8A2387 100%)',
fontFamily: 'Benzin-Bold',
borderRadius: '2.5vw',
'&:hover': { transform: 'scale(1.03)' },
}}
>
Ежедневные квесты
</Button>
</Box>
</>
)}