Merge branch 'feat/VersionsExplorer' of https://git.popa-popa.ru/DIKER/popa-launcher into feat/VersionsExplorer
This commit is contained in:
@ -23,6 +23,23 @@ import {
|
||||
fetchDailyClaimDays,
|
||||
} from '../api';
|
||||
|
||||
const pulseGradient = {
|
||||
'@keyframes pulseGlow': {
|
||||
'0%': {
|
||||
opacity: 0.35,
|
||||
transform: 'scale(0.9)',
|
||||
},
|
||||
'50%': {
|
||||
opacity: 0.7,
|
||||
transform: 'scale(1.05)',
|
||||
},
|
||||
'100%': {
|
||||
opacity: 0.35,
|
||||
transform: 'scale(0.9)',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const RU_MONTHS = [
|
||||
'Январь',
|
||||
'Февраль',
|
||||
@ -428,11 +445,14 @@ export default function DailyReward({ onClaimed }: Props) {
|
||||
{isToday && (
|
||||
<Box
|
||||
sx={{
|
||||
...pulseGradient,
|
||||
position: 'absolute',
|
||||
inset: -20,
|
||||
background:
|
||||
'radial-gradient(circle at 50% 50%, rgba(233,64,205,0.22), transparent 55%)',
|
||||
'radial-gradient(circle at 50% 50%, rgba(233,64,205,0.35), transparent 55%)',
|
||||
pointerEvents: 'none',
|
||||
animation: 'pulseGlow 2.6s ease-in-out infinite',
|
||||
willChange: 'transform, opacity',
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user