diff --git a/achievement/assets/figma/badge-gold.png b/achievement/assets/figma/badge-gold.png deleted file mode 100644 index d1d152e..0000000 Binary files a/achievement/assets/figma/badge-gold.png and /dev/null differ diff --git a/achievement/assets/figma/badge-silver.png b/achievement/assets/figma/badge-silver.png deleted file mode 100644 index 93fb8d9..0000000 Binary files a/achievement/assets/figma/badge-silver.png and /dev/null differ diff --git a/achievement/assets/figma/bg-stage.png b/achievement/assets/figma/bg-stage.png deleted file mode 100644 index f393030..0000000 Binary files a/achievement/assets/figma/bg-stage.png and /dev/null differ diff --git a/achievement/assets/figma/bg-stage.webp b/achievement/assets/figma/bg-stage.webp new file mode 100644 index 0000000..056d122 Binary files /dev/null and b/achievement/assets/figma/bg-stage.webp differ diff --git a/achievement/assets/figma/empty-cat.png b/achievement/assets/figma/empty-cat.png deleted file mode 100644 index 243f205..0000000 Binary files a/achievement/assets/figma/empty-cat.png and /dev/null differ diff --git a/achievement/assets/figma/header-frame.png b/achievement/assets/figma/header-frame.png deleted file mode 100644 index 9a2030c..0000000 Binary files a/achievement/assets/figma/header-frame.png and /dev/null differ diff --git a/achievement/assets/figma/profile-avatar.png b/achievement/assets/figma/profile-avatar.png deleted file mode 100644 index cb8336a..0000000 Binary files a/achievement/assets/figma/profile-avatar.png and /dev/null differ diff --git a/achievement/assets/figma/profile-avatar.webp b/achievement/assets/figma/profile-avatar.webp new file mode 100644 index 0000000..0eb7190 Binary files /dev/null and b/achievement/assets/figma/profile-avatar.webp differ diff --git a/achievement/index.html b/achievement/index.html index be3ad45..32cf664 100644 --- a/achievement/index.html +++ b/achievement/index.html @@ -470,7 +470,7 @@
- +
- - - - - + + + + +
- + 01 01 01 @@ -58,8 +58,8 @@
- - + +

nanfangjian

ID: 12345678

Accumulated Recharge:$59.98

diff --git a/activity/recharge-reward/script.js b/activity/recharge-reward/script.js index 49c1485..9a4edb5 100644 --- a/activity/recharge-reward/script.js +++ b/activity/recharge-reward/script.js @@ -23,8 +23,8 @@ var countdownEndAt = 0; var countdownTimer = 0; var fallbackIcons = [ - 'reward-ring-blue.png', - 'reward-ring-white.png', + 'reward-ring-blue.webp', + 'reward-ring-white.webp', 'reward-ring-gold.png', 'reward-ring-purple.png', 'reward-ring-amber.png', @@ -33,8 +33,8 @@ { thresholdUsdMinor: 10000, cards: [ - { label: '$100', icon: 'reward-ring-blue.png', name: 'Frame' }, - { label: '$100', icon: 'reward-ring-white.png', name: 'Avatar frame' }, + { label: '$100', icon: 'reward-ring-blue.webp', name: 'Frame' }, + { label: '$100', icon: 'reward-ring-white.webp', name: 'Avatar frame' }, ], }, { @@ -48,8 +48,8 @@ { thresholdUsdMinor: 20000, cards: [ - { label: '$200', icon: 'reward-ring-blue.png', name: 'Blue frame' }, - { label: '$200', icon: 'reward-ring-white.png', name: 'White frame' }, + { label: '$200', icon: 'reward-ring-blue.webp', name: 'Blue frame' }, + { label: '$200', icon: 'reward-ring-white.webp', name: 'White frame' }, { label: '$200', icon: 'reward-ring-purple.png', name: 'Purple frame' }, { label: '$200', icon: 'reward-ring-amber.png', name: 'Amber frame' }, ], @@ -222,7 +222,7 @@ } function renderRewardCard(card, cardClass, count, index) { - var frame = cardClass === 'reward-card-large' ? 'reward-card-frame-large.png' : 'reward-card-frame.png'; + var frame = cardClass === 'reward-card-large' ? 'reward-card-frame-large.webp' : 'reward-card-frame.webp'; var pos = cardLayout(count, index); var iconSrc = card.remoteIcon ? card.icon : './assets/' + card.icon; return [ @@ -262,7 +262,7 @@ '
', - '', + '', '', escapeHTML( t('rechargeReward.rechargeTitle', 'Recharge {amount}').replace( @@ -277,7 +277,7 @@ '" style="--panel-top:', metrics.panelTop, 'px">', - '', + '', '
', section.cards .map(function (card, cardIndex) { @@ -303,7 +303,7 @@ user: { username: params.get('name') || 'nanfangjian', display_user_id: params.get('uid') || params.get('id') || '12345678', - avatar: params.get('avatar') || './assets/profile-avatar.png', + avatar: params.get('avatar') || './assets/profile-avatar.webp', }, progress: { total_usd_minor: total }, period: { end_ms: endAt }, diff --git a/activity/room-reward/assets/296_8264.png b/activity/room-reward/assets/296_8264.png deleted file mode 100644 index ba9bb75..0000000 Binary files a/activity/room-reward/assets/296_8264.png and /dev/null differ diff --git a/activity/room-reward/assets/296_8265.png b/activity/room-reward/assets/296_8265.png deleted file mode 100644 index 053f197..0000000 Binary files a/activity/room-reward/assets/296_8265.png and /dev/null differ diff --git a/activity/room-reward/assets/296_8271.png b/activity/room-reward/assets/296_8271.png deleted file mode 100644 index b3e3bad..0000000 Binary files a/activity/room-reward/assets/296_8271.png and /dev/null differ diff --git a/activity/room-reward/assets/296_8271.webp b/activity/room-reward/assets/296_8271.webp new file mode 100644 index 0000000..82dba5c Binary files /dev/null and b/activity/room-reward/assets/296_8271.webp differ diff --git a/activity/room-reward/assets/296_8274.png b/activity/room-reward/assets/296_8274.png deleted file mode 100644 index deac864..0000000 Binary files a/activity/room-reward/assets/296_8274.png and /dev/null differ diff --git a/activity/room-reward/assets/296_8274.webp b/activity/room-reward/assets/296_8274.webp new file mode 100644 index 0000000..19c8f4e Binary files /dev/null and b/activity/room-reward/assets/296_8274.webp differ diff --git a/activity/room-reward/assets/296_8422.png b/activity/room-reward/assets/296_8422.png deleted file mode 100644 index deac864..0000000 Binary files a/activity/room-reward/assets/296_8422.png and /dev/null differ diff --git a/activity/room-reward/index.html b/activity/room-reward/index.html index 3b4e3bb..bbe516d 100644 --- a/activity/room-reward/index.html +++ b/activity/room-reward/index.html @@ -58,7 +58,7 @@ @@ -70,7 +70,7 @@ > diff --git a/activity/tasks/assets/button-glow.png b/activity/tasks/assets/button-glow.png deleted file mode 100644 index 4591774..0000000 Binary files a/activity/tasks/assets/button-glow.png and /dev/null differ diff --git a/activity/tasks/assets/button-glow.webp b/activity/tasks/assets/button-glow.webp new file mode 100644 index 0000000..4c18964 Binary files /dev/null and b/activity/tasks/assets/button-glow.webp differ diff --git a/activity/tasks/assets/figma-game-icon.png b/activity/tasks/assets/figma-game-icon.png deleted file mode 100644 index 34568c3..0000000 Binary files a/activity/tasks/assets/figma-game-icon.png and /dev/null differ diff --git a/activity/tasks/assets/figma-game-icon.webp b/activity/tasks/assets/figma-game-icon.webp new file mode 100644 index 0000000..a553bad Binary files /dev/null and b/activity/tasks/assets/figma-game-icon.webp differ diff --git a/activity/tasks/assets/figma-task-full.png b/activity/tasks/assets/figma-task-full.png deleted file mode 100644 index f166f06..0000000 Binary files a/activity/tasks/assets/figma-task-full.png and /dev/null differ diff --git a/activity/tasks/assets/task-bg.png b/activity/tasks/assets/task-bg.png deleted file mode 100644 index 96c9acb..0000000 Binary files a/activity/tasks/assets/task-bg.png and /dev/null differ diff --git a/activity/tasks/assets/task-bg.webp b/activity/tasks/assets/task-bg.webp new file mode 100644 index 0000000..99003d9 Binary files /dev/null and b/activity/tasks/assets/task-bg.webp differ diff --git a/activity/tasks/script.js b/activity/tasks/script.js index 0aa4611..822aeec 100644 --- a/activity/tasks/script.js +++ b/activity/tasks/script.js @@ -7,7 +7,7 @@ var backButton = document.getElementById('backButton'); var COMMAND_PREFIX = 'task_claim_command:'; var COIN_IMAGE = './assets/coin.png'; - var GAME_IMAGE = './assets/figma-game-icon.png'; + var GAME_IMAGE = './assets/figma-game-icon.webp'; var state = { loading: true, diff --git a/activity/tasks/style.css b/activity/tasks/style.css index a0a8d99..2697876 100644 --- a/activity/tasks/style.css +++ b/activity/tasks/style.css @@ -62,7 +62,7 @@ button { pointer-events: none; background: linear-gradient(180deg, rgba(19, 10, 43, 0.08), rgba(19, 10, 43, 0.12)), - url('./assets/task-bg.png') center top / 100% 100% no-repeat; + url('./assets/task-bg.webp') center top / 100% 100% no-repeat; } .task-nav { @@ -279,7 +279,7 @@ button { rgba(129, 53, 159, 0.15), rgba(255, 0, 199, 0.62) ), - url('./assets/button-glow.png') center / 98px 28px no-repeat, + url('./assets/button-glow.webp') center / 98px 28px no-repeat, #130828; } diff --git a/activity/weekly-star/assets/avatar-top.png b/activity/weekly-star/assets/avatar-top.png deleted file mode 100644 index a2f0811..0000000 Binary files a/activity/weekly-star/assets/avatar-top.png and /dev/null differ diff --git a/activity/weekly-star/assets/avatar-top.webp b/activity/weekly-star/assets/avatar-top.webp new file mode 100644 index 0000000..2650614 Binary files /dev/null and b/activity/weekly-star/assets/avatar-top.webp differ diff --git a/activity/weekly-star/assets/avatar-user.png b/activity/weekly-star/assets/avatar-user.png deleted file mode 100644 index 6d0410b..0000000 Binary files a/activity/weekly-star/assets/avatar-user.png and /dev/null differ diff --git a/activity/weekly-star/assets/avatar-user.webp b/activity/weekly-star/assets/avatar-user.webp new file mode 100644 index 0000000..9e84847 Binary files /dev/null and b/activity/weekly-star/assets/avatar-user.webp differ diff --git a/activity/weekly-star/assets/bg-stars.png b/activity/weekly-star/assets/bg-stars.png deleted file mode 100644 index ef2ea14..0000000 Binary files a/activity/weekly-star/assets/bg-stars.png and /dev/null differ diff --git a/activity/weekly-star/assets/bg-stars.webp b/activity/weekly-star/assets/bg-stars.webp new file mode 100644 index 0000000..2050cff Binary files /dev/null and b/activity/weekly-star/assets/bg-stars.webp differ diff --git a/activity/weekly-star/assets/gift-card.png b/activity/weekly-star/assets/gift-card.png deleted file mode 100644 index 71a8683..0000000 Binary files a/activity/weekly-star/assets/gift-card.png and /dev/null differ diff --git a/activity/weekly-star/assets/gift-card.webp b/activity/weekly-star/assets/gift-card.webp new file mode 100644 index 0000000..1782d99 Binary files /dev/null and b/activity/weekly-star/assets/gift-card.webp differ diff --git a/activity/weekly-star/assets/gift-glow.png b/activity/weekly-star/assets/gift-glow.png deleted file mode 100644 index 68399e8..0000000 Binary files a/activity/weekly-star/assets/gift-glow.png and /dev/null differ diff --git a/activity/weekly-star/assets/gift-glow.webp b/activity/weekly-star/assets/gift-glow.webp new file mode 100644 index 0000000..62c3308 Binary files /dev/null and b/activity/weekly-star/assets/gift-glow.webp differ diff --git a/activity/weekly-star/assets/hero-bg.png b/activity/weekly-star/assets/hero-bg.png deleted file mode 100644 index 930f3dd..0000000 Binary files a/activity/weekly-star/assets/hero-bg.png and /dev/null differ diff --git a/activity/weekly-star/assets/hero-bg.webp b/activity/weekly-star/assets/hero-bg.webp new file mode 100644 index 0000000..3376e4f Binary files /dev/null and b/activity/weekly-star/assets/hero-bg.webp differ diff --git a/activity/weekly-star/assets/medal-1.png b/activity/weekly-star/assets/medal-1.png deleted file mode 100644 index df7b345..0000000 Binary files a/activity/weekly-star/assets/medal-1.png and /dev/null differ diff --git a/activity/weekly-star/assets/medal-1.webp b/activity/weekly-star/assets/medal-1.webp new file mode 100644 index 0000000..adfdd80 Binary files /dev/null and b/activity/weekly-star/assets/medal-1.webp differ diff --git a/activity/weekly-star/assets/medal-2.png b/activity/weekly-star/assets/medal-2.png deleted file mode 100644 index 67ad74d..0000000 Binary files a/activity/weekly-star/assets/medal-2.png and /dev/null differ diff --git a/activity/weekly-star/assets/medal-2.webp b/activity/weekly-star/assets/medal-2.webp new file mode 100644 index 0000000..b866385 Binary files /dev/null and b/activity/weekly-star/assets/medal-2.webp differ diff --git a/activity/weekly-star/assets/medal-3.png b/activity/weekly-star/assets/medal-3.png deleted file mode 100644 index 5ee50f6..0000000 Binary files a/activity/weekly-star/assets/medal-3.png and /dev/null differ diff --git a/activity/weekly-star/assets/medal-3.webp b/activity/weekly-star/assets/medal-3.webp new file mode 100644 index 0000000..8d12ccf Binary files /dev/null and b/activity/weekly-star/assets/medal-3.webp differ diff --git a/activity/weekly-star/assets/reward-bg.png b/activity/weekly-star/assets/reward-bg.png deleted file mode 100644 index 1602091..0000000 Binary files a/activity/weekly-star/assets/reward-bg.png and /dev/null differ diff --git a/activity/weekly-star/assets/reward-frame-bg.png b/activity/weekly-star/assets/reward-frame-bg.png deleted file mode 100644 index d1ea9c0..0000000 Binary files a/activity/weekly-star/assets/reward-frame-bg.png and /dev/null differ diff --git a/activity/weekly-star/assets/reward-frame-bg.webp b/activity/weekly-star/assets/reward-frame-bg.webp new file mode 100644 index 0000000..612036a Binary files /dev/null and b/activity/weekly-star/assets/reward-frame-bg.webp differ diff --git a/activity/weekly-star/index.html b/activity/weekly-star/index.html index 0914a8a..c26465b 100644 --- a/activity/weekly-star/index.html +++ b/activity/weekly-star/index.html @@ -14,8 +14,8 @@
- - + +
@@ -32,18 +32,18 @@
- - + + Gift
- - + + Gift
- - + + Gift
@@ -100,7 +100,7 @@ >
diff --git a/activity/weekly-star/script.js b/activity/weekly-star/script.js index 4f71e9d..9255003 100644 --- a/activity/weekly-star/script.js +++ b/activity/weekly-star/script.js @@ -9,11 +9,11 @@ var COIN_IMAGE = './assets/coin.png'; var mockRanks = [ - { rank: 1, name: 'hanneem', score: '337700', avatar: './assets/avatar-top.png' }, - { rank: 2, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.png' }, - { rank: 3, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.png' }, - { rank: 4, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.png' }, - { rank: 5, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.png' }, + { rank: 1, name: 'hanneem', score: '337700', avatar: './assets/avatar-top.webp' }, + { rank: 2, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.webp' }, + { rank: 3, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.webp' }, + { rank: 4, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.webp' }, + { rank: 5, name: 'hanneem', score: '337700', avatar: './assets/avatar-user.webp' }, ]; var mockRewards = [ { rank_no: 1, resource_group_id: 1001, top: 1488 }, @@ -29,9 +29,9 @@ }; function rankMedal(rank) { - if (rank === 1) return './assets/medal-1.png'; - if (rank === 2) return './assets/medal-2.png'; - if (rank === 3) return './assets/medal-3.png'; + if (rank === 1) return './assets/medal-1.webp'; + if (rank === 2) return './assets/medal-2.webp'; + if (rank === 3) return './assets/medal-3.webp'; return ''; } @@ -55,7 +55,7 @@ medal ? 'No. ' + item.rank + '' : '' + item.rank + '', - '', + '', '
', escapeHTML(item.name || '-'), '
', @@ -78,8 +78,8 @@ item.coin ? ' is-coin' : '', '">', '
', - '', - '', + '', + '', 'Reward', '
', labelHTML, @@ -235,7 +235,7 @@ rank: Number(entry.rank_no || entry.rankNo || index + 1), name: user.username || user.display_user_id || user.displayUserId || entry.user_id || entry.userId || '-', score: entry.score || 0, - avatar: user.avatar || (Number(entry.rank_no || entry.rankNo) === 1 ? './assets/avatar-top.png' : './assets/avatar-user.png'), + avatar: user.avatar || (Number(entry.rank_no || entry.rankNo) === 1 ? './assets/avatar-top.webp' : './assets/avatar-user.webp'), }; }); } diff --git a/activity/wheel/assets/other/christmasCheckIn_lottery_bg.png b/activity/wheel/assets/other/christmasCheckIn_lottery_bg.png deleted file mode 100644 index 6dfd208..0000000 Binary files a/activity/wheel/assets/other/christmasCheckIn_lottery_bg.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_bg_new.png b/activity/wheel/assets/other/lucky_box_bg_new.png deleted file mode 100644 index 6fec5b8..0000000 Binary files a/activity/wheel/assets/other/lucky_box_bg_new.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_bg_new.webp b/activity/wheel/assets/other/lucky_box_bg_new.webp new file mode 100644 index 0000000..d09dc7c Binary files /dev/null and b/activity/wheel/assets/other/lucky_box_bg_new.webp differ diff --git a/activity/wheel/assets/other/lucky_box_reward_bg.png b/activity/wheel/assets/other/lucky_box_reward_bg.png deleted file mode 100644 index 8ae7295..0000000 Binary files a/activity/wheel/assets/other/lucky_box_reward_bg.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_reward_bg.webp b/activity/wheel/assets/other/lucky_box_reward_bg.webp new file mode 100644 index 0000000..e8ec3d7 Binary files /dev/null and b/activity/wheel/assets/other/lucky_box_reward_bg.webp differ diff --git a/activity/wheel/assets/other/lucky_box_three_bg_new.png b/activity/wheel/assets/other/lucky_box_three_bg_new.png deleted file mode 100644 index 4cf9d9b..0000000 Binary files a/activity/wheel/assets/other/lucky_box_three_bg_new.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_three_bg_new.webp b/activity/wheel/assets/other/lucky_box_three_bg_new.webp new file mode 100644 index 0000000..e51f520 Binary files /dev/null and b/activity/wheel/assets/other/lucky_box_three_bg_new.webp differ diff --git a/activity/wheel/assets/other/lucky_box_three_history.png b/activity/wheel/assets/other/lucky_box_three_history.png deleted file mode 100644 index 4dfb8e3..0000000 Binary files a/activity/wheel/assets/other/lucky_box_three_history.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_three_history.webp b/activity/wheel/assets/other/lucky_box_three_history.webp new file mode 100644 index 0000000..19cadee Binary files /dev/null and b/activity/wheel/assets/other/lucky_box_three_history.webp differ diff --git a/activity/wheel/assets/other/lucky_box_three_reward_bg.png b/activity/wheel/assets/other/lucky_box_three_reward_bg.png deleted file mode 100644 index b799b9e..0000000 Binary files a/activity/wheel/assets/other/lucky_box_three_reward_bg.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_three_reward_bg.webp b/activity/wheel/assets/other/lucky_box_three_reward_bg.webp new file mode 100644 index 0000000..6251553 Binary files /dev/null and b/activity/wheel/assets/other/lucky_box_three_reward_bg.webp differ diff --git a/activity/wheel/assets/other/lucky_box_tow_bg_new.png b/activity/wheel/assets/other/lucky_box_tow_bg_new.png deleted file mode 100644 index 5cb3c25..0000000 Binary files a/activity/wheel/assets/other/lucky_box_tow_bg_new.png and /dev/null differ diff --git a/activity/wheel/assets/other/lucky_box_tow_bg_new.webp b/activity/wheel/assets/other/lucky_box_tow_bg_new.webp new file mode 100644 index 0000000..2743fbb Binary files /dev/null and b/activity/wheel/assets/other/lucky_box_tow_bg_new.webp differ diff --git a/activity/wheel/style.css b/activity/wheel/style.css index 37db60a..a049fe4 100644 --- a/activity/wheel/style.css +++ b/activity/wheel/style.css @@ -60,7 +60,7 @@ button { } .wheel-classic .wheel-stage { - background-image: url('./assets/other/lucky_box_bg_new.png'); + background-image: url('./assets/other/lucky_box_bg_new.webp'); } .wheel-luxury { @@ -69,7 +69,7 @@ button { .wheel-luxury .wheel-stage { height: calc(595 * var(--wheel-vw)); - background-image: url('./assets/other/lucky_box_tow_bg_new.png'); + background-image: url('./assets/other/lucky_box_tow_bg_new.webp'); } .wheel-advanced { @@ -77,7 +77,7 @@ button { } .wheel-advanced .wheel-stage { - background-image: url('./assets/other/lucky_box_three_bg_new.png'); + background-image: url('./assets/other/lucky_box_three_bg_new.webp'); } .lucky-tab { @@ -767,7 +767,7 @@ button { .reward-content { width: 100%; height: calc(520 * var(--wheel-vw)); - background: url('./assets/other/lucky_box_reward_bg.png') no-repeat center / + background: url('./assets/other/lucky_box_reward_bg.webp') no-repeat center / 100% 100%; } @@ -1086,7 +1086,7 @@ button { margin: 0 auto; overflow: hidden; padding: 0 0 calc(8 * var(--wheel-vw)); - background: url('./assets/other/lucky_box_three_history.png') no-repeat + background: url('./assets/other/lucky_box_three_history.webp') no-repeat center / 100% 100%; } @@ -1114,7 +1114,7 @@ button { width: 90%; height: calc(440 * var(--wheel-vw)); margin: calc(60 * var(--wheel-vw)) auto 0; - background-image: url('./assets/other/lucky_box_three_reward_bg.png'); + background-image: url('./assets/other/lucky_box_three_reward_bg.webp'); } .wheel-advanced .reward-content .bg { diff --git a/app-store/assets/lalu-avatar-frame.png b/app-store/assets/lalu-avatar-frame.png deleted file mode 100644 index 4134de4..0000000 Binary files a/app-store/assets/lalu-avatar-frame.png and /dev/null differ diff --git a/app-store/assets/lalu-avatar-frame.webp b/app-store/assets/lalu-avatar-frame.webp new file mode 100644 index 0000000..f9884a4 Binary files /dev/null and b/app-store/assets/lalu-avatar-frame.webp differ diff --git a/app-store/lalu.html b/app-store/lalu.html index 52ec54b..ee6ce64 100644 --- a/app-store/lalu.html +++ b/app-store/lalu.html @@ -461,7 +461,7 @@
diff --git a/aslan/recharge-activity/assets/recharge-activity/bg-bottom.png b/aslan/recharge-activity/assets/recharge-activity/bg-bottom.png deleted file mode 100644 index 0f1c145..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/bg-bottom.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/bg-bottom.webp b/aslan/recharge-activity/assets/recharge-activity/bg-bottom.webp new file mode 100644 index 0000000..a2498dd Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/bg-bottom.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/bg-mid-a.png b/aslan/recharge-activity/assets/recharge-activity/bg-mid-a.png deleted file mode 100644 index 89942b3..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/bg-mid-a.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/bg-mid-a.webp b/aslan/recharge-activity/assets/recharge-activity/bg-mid-a.webp new file mode 100644 index 0000000..53c8505 Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/bg-mid-a.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/bg-top.png b/aslan/recharge-activity/assets/recharge-activity/bg-top.png deleted file mode 100644 index 7c0de14..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/bg-top.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/bg-top.webp b/aslan/recharge-activity/assets/recharge-activity/bg-top.webp new file mode 100644 index 0000000..89c1a2b Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/bg-top.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/countdown-frame.png b/aslan/recharge-activity/assets/recharge-activity/countdown-frame.png deleted file mode 100644 index 5e10952..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/countdown-frame.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/countdown-frame.webp b/aslan/recharge-activity/assets/recharge-activity/countdown-frame.webp new file mode 100644 index 0000000..dee3ef6 Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/countdown-frame.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/profile-avatar.png b/aslan/recharge-activity/assets/recharge-activity/profile-avatar.png deleted file mode 100644 index 6d86504..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/profile-avatar.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/profile-avatar.webp b/aslan/recharge-activity/assets/recharge-activity/profile-avatar.webp new file mode 100644 index 0000000..8fba1d4 Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/profile-avatar.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/profile-frame.png b/aslan/recharge-activity/assets/recharge-activity/profile-frame.png deleted file mode 100644 index b213d52..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/profile-frame.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/profile-frame.webp b/aslan/recharge-activity/assets/recharge-activity/profile-frame.webp new file mode 100644 index 0000000..e3dfb4e Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/profile-frame.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/reward-card-frame.png b/aslan/recharge-activity/assets/recharge-activity/reward-card-frame.png deleted file mode 100644 index c9880e1..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/reward-card-frame.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/reward-card-frame.webp b/aslan/recharge-activity/assets/recharge-activity/reward-card-frame.webp new file mode 100644 index 0000000..f4be05f Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/reward-card-frame.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/reward-section-a.png b/aslan/recharge-activity/assets/recharge-activity/reward-section-a.png deleted file mode 100644 index c940598..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/reward-section-a.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/reward-section-a.webp b/aslan/recharge-activity/assets/recharge-activity/reward-section-a.webp new file mode 100644 index 0000000..bf6233e Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/reward-section-a.webp differ diff --git a/aslan/recharge-activity/assets/recharge-activity/reward-section-b.png b/aslan/recharge-activity/assets/recharge-activity/reward-section-b.png deleted file mode 100644 index c940598..0000000 Binary files a/aslan/recharge-activity/assets/recharge-activity/reward-section-b.png and /dev/null differ diff --git a/aslan/recharge-activity/assets/recharge-activity/reward-section-b.webp b/aslan/recharge-activity/assets/recharge-activity/reward-section-b.webp new file mode 100644 index 0000000..bf6233e Binary files /dev/null and b/aslan/recharge-activity/assets/recharge-activity/reward-section-b.webp differ diff --git a/aslan/recharge-activity/index.html b/aslan/recharge-activity/index.html index b64436c..e38f19d 100644 --- a/aslan/recharge-activity/index.html +++ b/aslan/recharge-activity/index.html @@ -20,44 +20,44 @@ >
diff --git a/aslan/recharge-activity/script.js b/aslan/recharge-activity/script.js index 88f098c..c5f1835 100644 --- a/aslan/recharge-activity/script.js +++ b/aslan/recharge-activity/script.js @@ -23,7 +23,7 @@ user: { name: '', id: '', - avatar: ASSET_BASE + 'profile-avatar.png', + avatar: ASSET_BASE + 'profile-avatar.webp', accumulatedRecharge: 0, }, rewards: [], @@ -242,7 +242,7 @@ profile.headImg, profile.headImage, params.get('avatar'), - ASSET_BASE + 'profile-avatar.png' + ASSET_BASE + 'profile-avatar.webp' ), accumulatedRecharge: firstValue( statusData && statusData.monthlyRecharge, @@ -330,8 +330,8 @@ top: 1776 + index * 690, background: index % 2 === 0 - ? ASSET_BASE + 'reward-section-a.png' - : ASSET_BASE + 'reward-section-b.png', + ? ASSET_BASE + 'reward-section-a.webp' + : ASSET_BASE + 'reward-section-b.webp', claim: { text: claimed ? t('rechargeReward.claimed', 'Claimed') @@ -373,7 +373,7 @@ function renderProfile(user) { document.querySelector('[data-profile-avatar]').src = - user.avatar || ASSET_BASE + 'profile-avatar.png'; + user.avatar || ASSET_BASE + 'profile-avatar.webp'; document.querySelector('[data-profile-name]').textContent = user.name || 'Aslan'; document.querySelector('[data-profile-id]').textContent = @@ -392,7 +392,7 @@ 'px">', '', ' @@ -68,12 +68,12 @@ > Note @@ -86,12 +86,12 @@ > Rights @@ -140,7 +140,7 @@ class="crop-shot gift-panel-shot" aria-hidden="true" > - +

2. Choose a gift tailored to a specific type of @@ -151,14 +151,14 @@ class="crop-shot relation-select-shot" aria-hidden="true" > - +

3. The other party must accept the match within 24 hours;

*If the other party does not respond within 24 hours @@ -242,7 +242,7 @@ >

@@ -319,37 +319,37 @@ 1,000,000
diff --git a/cp-rules/style.css b/cp-rules/style.css index e47efb2..d07a161 100644 --- a/cp-rules/style.css +++ b/cp-rules/style.css @@ -51,7 +51,7 @@ button { .note-page { background-color: #732cff; background-image: - url('./assets/note-bg-main.png'), + url('./assets/note-bg-main.webp'), linear-gradient(180deg, #732cff 0%, #d369ff 100%); background-position: center top, @@ -263,8 +263,8 @@ button { border: 1px solid rgba(255, 211, 255, 0.82); border-radius: 20px; background: - url('./assets/panel-top.png') left top / 350px 65px no-repeat, - url('./assets/panel-bottom.png') left bottom / 350px 73px no-repeat, + url('./assets/panel-top.webp') left top / 350px 65px no-repeat, + url('./assets/panel-bottom.webp') left bottom / 350px 73px no-repeat, url('./assets/panel-mid.png') left 65px / 350px 86px repeat-y, radial-gradient( circle at 50% 18%, @@ -289,8 +289,8 @@ button { position: absolute; inset: 0; background: - url('./assets/panel-top.png') left top / 350px 65px no-repeat, - url('./assets/panel-bottom.png') left bottom / 350px 73px no-repeat, + url('./assets/panel-top.webp') left top / 350px 65px no-repeat, + url('./assets/panel-bottom.webp') left bottom / 350px 73px no-repeat, url('./assets/panel-mid.png') left 65px / 350px 86px repeat-y; mix-blend-mode: multiply; opacity: 0.9; diff --git a/game/dicetips/index.html b/game/dicetips/index.html index 17dd096..57aa2d6 100644 --- a/game/dicetips/index.html +++ b/game/dicetips/index.html @@ -199,7 +199,7 @@ >
@@ -1846,7 +1846,7 @@
- +
@@ -2032,7 +2032,7 @@ />
@@ -2087,9 +2087,9 @@ var GAME_ID = 'rock'; var GAME_CODE = 'game_rock'; var RPS_PRELOAD_ASSET_URLS = [ - 'assets/figma/loading-bg.jpg', + 'assets/figma/loading-bg.webp', 'assets/figma/back-button.png', - 'assets/figma/bg-arena.jpg', + 'assets/figma/bg-arena.webp', 'assets/figma/blue-flare.png', 'assets/figma/blue-ring.png', 'assets/figma/coin.png', @@ -2097,7 +2097,7 @@ 'assets/figma/gesture-card.png', 'assets/figma/gesture-selected-rock.png', 'assets/figma/help-badge.png', - 'assets/figma/lobby-avatar-frame.png', + 'assets/figma/lobby-avatar-frame.webp', 'assets/figma/lobby-panel.svg', 'assets/figma/opponent-card.png', 'assets/figma/opponent-question.png', @@ -2107,7 +2107,7 @@ 'assets/figma/red-ring.png', 'assets/figma/rock.png', 'assets/figma/scissors.png', - 'assets/figma/search-hud.png', + 'assets/figma/search-hud.webp', 'assets/figma/search-icon.svg', 'assets/figma/stake-outline.svg', 'assets/figma/stake-selected.png', @@ -2116,10 +2116,10 @@ 'assets/figma/victory-action-secondary.png', 'assets/figma/victory-action-secondary.svg', 'assets/figma/victory-avatar-bg.png', - 'assets/figma/victory-avatar-frame.png', + 'assets/figma/victory-avatar-frame.webp', 'assets/figma/victory-coin-stack.png', 'assets/figma/victory-reward-frame.png', - 'assets/figma/victory-title.png', + 'assets/figma/victory-title.webp', 'assets/figma/victory-title.svg', 'assets/figma/victory.png', 'assets/figma/vs.png', diff --git a/game/rocktips/index.html b/game/rocktips/index.html index f275b09..e8cd559 100644 --- a/game/rocktips/index.html +++ b/game/rocktips/index.html @@ -242,7 +242,7 @@ >
diff --git a/game/touzi/assets/figma/bg-arena.jpg b/game/touzi/assets/figma/bg-arena.jpg deleted file mode 100644 index f39823a..0000000 Binary files a/game/touzi/assets/figma/bg-arena.jpg and /dev/null differ diff --git a/game/touzi/assets/figma/bg-arena.png b/game/touzi/assets/figma/bg-arena.png deleted file mode 100644 index c596f94..0000000 Binary files a/game/touzi/assets/figma/bg-arena.png and /dev/null differ diff --git a/game/touzi/assets/figma/bg-arena.webp b/game/touzi/assets/figma/bg-arena.webp new file mode 100644 index 0000000..65e382e Binary files /dev/null and b/game/touzi/assets/figma/bg-arena.webp differ diff --git a/game/touzi/assets/figma/loading-bg.jpg b/game/touzi/assets/figma/loading-bg.jpg deleted file mode 100644 index 0268c7e..0000000 Binary files a/game/touzi/assets/figma/loading-bg.jpg and /dev/null differ diff --git a/game/touzi/assets/figma/loading-bg.webp b/game/touzi/assets/figma/loading-bg.webp new file mode 100644 index 0000000..51140f7 Binary files /dev/null and b/game/touzi/assets/figma/loading-bg.webp differ diff --git a/game/touzi/index.html b/game/touzi/index.html index 29f533c..ce32cd4 100644 --- a/game/touzi/index.html +++ b/game/touzi/index.html @@ -1724,7 +1724,7 @@ >
@@ -2541,11 +2541,11 @@ var SETTLEMENT_AUTO_CLOSE_MS = 30000; var DICE_ROLL_EFFECT_URL = 'assets/figma/dice-roll.svga'; var DICE_PRELOAD_ASSET_URLS = [ - 'assets/figma/loading-bg.jpg', + 'assets/figma/loading-bg.webp', 'assets/figma/amount-fill.png', 'assets/figma/back-button.png', 'assets/figma/badge-help.png', - 'assets/figma/bg-arena.jpg', + 'assets/figma/bg-arena.webp', 'assets/figma/blue-dice.png', 'assets/figma/blue-flare.png', 'assets/figma/blue-ring.png', diff --git a/level/assets/component/avatar-charm.png b/level/assets/component/avatar-charm.png deleted file mode 100644 index cb8336a..0000000 Binary files a/level/assets/component/avatar-charm.png and /dev/null differ diff --git a/level/assets/component/avatar-charm.webp b/level/assets/component/avatar-charm.webp new file mode 100644 index 0000000..0eb7190 Binary files /dev/null and b/level/assets/component/avatar-charm.webp differ diff --git a/level/assets/component/avatar-frame-charm.png b/level/assets/component/avatar-frame-charm.png deleted file mode 100644 index 6b27902..0000000 Binary files a/level/assets/component/avatar-frame-charm.png and /dev/null differ diff --git a/level/assets/component/avatar-frame-charm.webp b/level/assets/component/avatar-frame-charm.webp new file mode 100644 index 0000000..167ebc8 Binary files /dev/null and b/level/assets/component/avatar-frame-charm.webp differ diff --git a/level/assets/component/avatar-frame-game.png b/level/assets/component/avatar-frame-game.png deleted file mode 100644 index 6b27902..0000000 Binary files a/level/assets/component/avatar-frame-game.png and /dev/null differ diff --git a/level/assets/component/avatar-frame-game.webp b/level/assets/component/avatar-frame-game.webp new file mode 100644 index 0000000..167ebc8 Binary files /dev/null and b/level/assets/component/avatar-frame-game.webp differ diff --git a/level/assets/component/avatar-frame-wealth.png b/level/assets/component/avatar-frame-wealth.png deleted file mode 100644 index 6b27902..0000000 Binary files a/level/assets/component/avatar-frame-wealth.png and /dev/null differ diff --git a/level/assets/component/avatar-frame-wealth.webp b/level/assets/component/avatar-frame-wealth.webp new file mode 100644 index 0000000..167ebc8 Binary files /dev/null and b/level/assets/component/avatar-frame-wealth.webp differ diff --git a/level/assets/component/avatar-game.png b/level/assets/component/avatar-game.png deleted file mode 100644 index cb8336a..0000000 Binary files a/level/assets/component/avatar-game.png and /dev/null differ diff --git a/level/assets/component/avatar-game.webp b/level/assets/component/avatar-game.webp new file mode 100644 index 0000000..0eb7190 Binary files /dev/null and b/level/assets/component/avatar-game.webp differ diff --git a/level/assets/component/avatar-wealth.png b/level/assets/component/avatar-wealth.png deleted file mode 100644 index cb8336a..0000000 Binary files a/level/assets/component/avatar-wealth.png and /dev/null differ diff --git a/level/assets/component/avatar-wealth.webp b/level/assets/component/avatar-wealth.webp new file mode 100644 index 0000000..0eb7190 Binary files /dev/null and b/level/assets/component/avatar-wealth.webp differ diff --git a/level/assets/component/bg-charm.png b/level/assets/component/bg-charm.png deleted file mode 100644 index 96c9acb..0000000 Binary files a/level/assets/component/bg-charm.png and /dev/null differ diff --git a/level/assets/component/bg-charm.webp b/level/assets/component/bg-charm.webp new file mode 100644 index 0000000..99003d9 Binary files /dev/null and b/level/assets/component/bg-charm.webp differ diff --git a/level/assets/component/bg-game.png b/level/assets/component/bg-game.png deleted file mode 100644 index 96c9acb..0000000 Binary files a/level/assets/component/bg-game.png and /dev/null differ diff --git a/level/assets/component/bg-game.webp b/level/assets/component/bg-game.webp new file mode 100644 index 0000000..99003d9 Binary files /dev/null and b/level/assets/component/bg-game.webp differ diff --git a/level/assets/component/bg-wealth.png b/level/assets/component/bg-wealth.png deleted file mode 100644 index 96c9acb..0000000 Binary files a/level/assets/component/bg-wealth.png and /dev/null differ diff --git a/level/assets/component/bg-wealth.webp b/level/assets/component/bg-wealth.webp new file mode 100644 index 0000000..99003d9 Binary files /dev/null and b/level/assets/component/bg-wealth.webp differ diff --git a/level/assets/component/button-gold.png b/level/assets/component/button-gold.png deleted file mode 100644 index 4439c48..0000000 Binary files a/level/assets/component/button-gold.png and /dev/null differ diff --git a/level/assets/component/button-gold.webp b/level/assets/component/button-gold.webp new file mode 100644 index 0000000..f3c4c34 Binary files /dev/null and b/level/assets/component/button-gold.webp differ diff --git a/level/assets/component/button-purple.png b/level/assets/component/button-purple.png deleted file mode 100644 index 4591774..0000000 Binary files a/level/assets/component/button-purple.png and /dev/null differ diff --git a/level/assets/component/button-purple.webp b/level/assets/component/button-purple.webp new file mode 100644 index 0000000..4c18964 Binary files /dev/null and b/level/assets/component/button-purple.webp differ diff --git a/level/assets/component/charm-frame-1.png b/level/assets/component/charm-frame-1.png deleted file mode 100644 index 817a531..0000000 Binary files a/level/assets/component/charm-frame-1.png and /dev/null differ diff --git a/level/assets/component/charm-frame-1.webp b/level/assets/component/charm-frame-1.webp new file mode 100644 index 0000000..dfa757c Binary files /dev/null and b/level/assets/component/charm-frame-1.webp differ diff --git a/level/assets/component/charm-frame-2.png b/level/assets/component/charm-frame-2.png deleted file mode 100644 index 1a08e7b..0000000 Binary files a/level/assets/component/charm-frame-2.png and /dev/null differ diff --git a/level/assets/component/charm-frame-2.webp b/level/assets/component/charm-frame-2.webp new file mode 100644 index 0000000..789494f Binary files /dev/null and b/level/assets/component/charm-frame-2.webp differ diff --git a/level/assets/component/charm-frame-3.png b/level/assets/component/charm-frame-3.png deleted file mode 100644 index a1030a5..0000000 Binary files a/level/assets/component/charm-frame-3.png and /dev/null differ diff --git a/level/assets/component/charm-frame-3.webp b/level/assets/component/charm-frame-3.webp new file mode 100644 index 0000000..99f8fbb Binary files /dev/null and b/level/assets/component/charm-frame-3.webp differ diff --git a/level/assets/component/charm-frame-4.png b/level/assets/component/charm-frame-4.png deleted file mode 100644 index 718fa53..0000000 Binary files a/level/assets/component/charm-frame-4.png and /dev/null differ diff --git a/level/assets/component/charm-frame-4.webp b/level/assets/component/charm-frame-4.webp new file mode 100644 index 0000000..5f1b9f8 Binary files /dev/null and b/level/assets/component/charm-frame-4.webp differ diff --git a/level/assets/component/charm-frame-5.png b/level/assets/component/charm-frame-5.png deleted file mode 100644 index 35066be..0000000 Binary files a/level/assets/component/charm-frame-5.png and /dev/null differ diff --git a/level/assets/component/charm-frame-5.webp b/level/assets/component/charm-frame-5.webp new file mode 100644 index 0000000..6294c73 Binary files /dev/null and b/level/assets/component/charm-frame-5.webp differ diff --git a/level/assets/component/charm-icon-1.png b/level/assets/component/charm-icon-1.png deleted file mode 100644 index 444c95d..0000000 Binary files a/level/assets/component/charm-icon-1.png and /dev/null differ diff --git a/level/assets/component/charm-icon-1.webp b/level/assets/component/charm-icon-1.webp new file mode 100644 index 0000000..3cef4a9 Binary files /dev/null and b/level/assets/component/charm-icon-1.webp differ diff --git a/level/assets/component/charm-icon-2.png b/level/assets/component/charm-icon-2.png deleted file mode 100644 index 444c95d..0000000 Binary files a/level/assets/component/charm-icon-2.png and /dev/null differ diff --git a/level/assets/component/charm-icon-2.webp b/level/assets/component/charm-icon-2.webp new file mode 100644 index 0000000..3cef4a9 Binary files /dev/null and b/level/assets/component/charm-icon-2.webp differ diff --git a/level/assets/component/charm-icon-3.png b/level/assets/component/charm-icon-3.png deleted file mode 100644 index 515452f..0000000 Binary files a/level/assets/component/charm-icon-3.png and /dev/null differ diff --git a/level/assets/component/charm-icon-3.webp b/level/assets/component/charm-icon-3.webp new file mode 100644 index 0000000..fb106f6 Binary files /dev/null and b/level/assets/component/charm-icon-3.webp differ diff --git a/level/assets/component/charm-icon-4.png b/level/assets/component/charm-icon-4.png deleted file mode 100644 index 22a47c3..0000000 Binary files a/level/assets/component/charm-icon-4.png and /dev/null differ diff --git a/level/assets/component/charm-icon-4.webp b/level/assets/component/charm-icon-4.webp new file mode 100644 index 0000000..2dd0a6e Binary files /dev/null and b/level/assets/component/charm-icon-4.webp differ diff --git a/level/assets/component/charm-icon-5.png b/level/assets/component/charm-icon-5.png deleted file mode 100644 index 6ff4fc2..0000000 Binary files a/level/assets/component/charm-icon-5.png and /dev/null differ diff --git a/level/assets/component/charm-icon-5.webp b/level/assets/component/charm-icon-5.webp new file mode 100644 index 0000000..17c3ab1 Binary files /dev/null and b/level/assets/component/charm-icon-5.webp differ diff --git a/level/assets/component/game-frame-1.png b/level/assets/component/game-frame-1.png deleted file mode 100644 index b304388..0000000 Binary files a/level/assets/component/game-frame-1.png and /dev/null differ diff --git a/level/assets/component/game-frame-1.webp b/level/assets/component/game-frame-1.webp new file mode 100644 index 0000000..9736ca9 Binary files /dev/null and b/level/assets/component/game-frame-1.webp differ diff --git a/level/assets/component/game-frame-2.png b/level/assets/component/game-frame-2.png deleted file mode 100644 index 2c9ee1b..0000000 Binary files a/level/assets/component/game-frame-2.png and /dev/null differ diff --git a/level/assets/component/game-frame-2.webp b/level/assets/component/game-frame-2.webp new file mode 100644 index 0000000..92c87e6 Binary files /dev/null and b/level/assets/component/game-frame-2.webp differ diff --git a/level/assets/component/game-frame-3.png b/level/assets/component/game-frame-3.png deleted file mode 100644 index 47599c1..0000000 Binary files a/level/assets/component/game-frame-3.png and /dev/null differ diff --git a/level/assets/component/game-frame-3.webp b/level/assets/component/game-frame-3.webp new file mode 100644 index 0000000..0f8a6e4 Binary files /dev/null and b/level/assets/component/game-frame-3.webp differ diff --git a/level/assets/component/game-frame-4.png b/level/assets/component/game-frame-4.png deleted file mode 100644 index 1ddf8c9..0000000 Binary files a/level/assets/component/game-frame-4.png and /dev/null differ diff --git a/level/assets/component/game-frame-4.webp b/level/assets/component/game-frame-4.webp new file mode 100644 index 0000000..7c13282 Binary files /dev/null and b/level/assets/component/game-frame-4.webp differ diff --git a/level/assets/component/game-frame-5.png b/level/assets/component/game-frame-5.png deleted file mode 100644 index 17af20f..0000000 Binary files a/level/assets/component/game-frame-5.png and /dev/null differ diff --git a/level/assets/component/game-frame-5.webp b/level/assets/component/game-frame-5.webp new file mode 100644 index 0000000..f32b71d Binary files /dev/null and b/level/assets/component/game-frame-5.webp differ diff --git a/level/assets/component/game-icon-1.png b/level/assets/component/game-icon-1.png deleted file mode 100644 index 872e8d8..0000000 Binary files a/level/assets/component/game-icon-1.png and /dev/null differ diff --git a/level/assets/component/game-icon-1.webp b/level/assets/component/game-icon-1.webp new file mode 100644 index 0000000..ea9a81f Binary files /dev/null and b/level/assets/component/game-icon-1.webp differ diff --git a/level/assets/component/game-icon-2.png b/level/assets/component/game-icon-2.png deleted file mode 100644 index b4e9b0d..0000000 Binary files a/level/assets/component/game-icon-2.png and /dev/null differ diff --git a/level/assets/component/game-icon-2.webp b/level/assets/component/game-icon-2.webp new file mode 100644 index 0000000..5853683 Binary files /dev/null and b/level/assets/component/game-icon-2.webp differ diff --git a/level/assets/component/game-icon-3.png b/level/assets/component/game-icon-3.png deleted file mode 100644 index fe5fe22..0000000 Binary files a/level/assets/component/game-icon-3.png and /dev/null differ diff --git a/level/assets/component/game-icon-3.webp b/level/assets/component/game-icon-3.webp new file mode 100644 index 0000000..807e491 Binary files /dev/null and b/level/assets/component/game-icon-3.webp differ diff --git a/level/assets/component/game-icon-4.png b/level/assets/component/game-icon-4.png deleted file mode 100644 index 4f95656..0000000 Binary files a/level/assets/component/game-icon-4.png and /dev/null differ diff --git a/level/assets/component/game-icon-4.webp b/level/assets/component/game-icon-4.webp new file mode 100644 index 0000000..3b1d9b5 Binary files /dev/null and b/level/assets/component/game-icon-4.webp differ diff --git a/level/assets/component/game-icon-5.png b/level/assets/component/game-icon-5.png deleted file mode 100644 index ec0163f..0000000 Binary files a/level/assets/component/game-icon-5.png and /dev/null differ diff --git a/level/assets/component/game-icon-5.webp b/level/assets/component/game-icon-5.webp new file mode 100644 index 0000000..2affbf6 Binary files /dev/null and b/level/assets/component/game-icon-5.webp differ diff --git a/level/assets/component/wealth-frame-1.png b/level/assets/component/wealth-frame-1.png deleted file mode 100644 index 25f54f4..0000000 Binary files a/level/assets/component/wealth-frame-1.png and /dev/null differ diff --git a/level/assets/component/wealth-frame-1.webp b/level/assets/component/wealth-frame-1.webp new file mode 100644 index 0000000..16a48a4 Binary files /dev/null and b/level/assets/component/wealth-frame-1.webp differ diff --git a/level/assets/component/wealth-frame-2.png b/level/assets/component/wealth-frame-2.png deleted file mode 100644 index ae0aa15..0000000 Binary files a/level/assets/component/wealth-frame-2.png and /dev/null differ diff --git a/level/assets/component/wealth-frame-2.webp b/level/assets/component/wealth-frame-2.webp new file mode 100644 index 0000000..c9bf8bd Binary files /dev/null and b/level/assets/component/wealth-frame-2.webp differ diff --git a/level/assets/component/wealth-frame-3.png b/level/assets/component/wealth-frame-3.png deleted file mode 100644 index 77304fc..0000000 Binary files a/level/assets/component/wealth-frame-3.png and /dev/null differ diff --git a/level/assets/component/wealth-frame-3.webp b/level/assets/component/wealth-frame-3.webp new file mode 100644 index 0000000..8938983 Binary files /dev/null and b/level/assets/component/wealth-frame-3.webp differ diff --git a/level/assets/component/wealth-frame-4.png b/level/assets/component/wealth-frame-4.png deleted file mode 100644 index 7d0e9c8..0000000 Binary files a/level/assets/component/wealth-frame-4.png and /dev/null differ diff --git a/level/assets/component/wealth-frame-4.webp b/level/assets/component/wealth-frame-4.webp new file mode 100644 index 0000000..37c741d Binary files /dev/null and b/level/assets/component/wealth-frame-4.webp differ diff --git a/level/assets/component/wealth-frame-5.png b/level/assets/component/wealth-frame-5.png deleted file mode 100644 index 0dc4641..0000000 Binary files a/level/assets/component/wealth-frame-5.png and /dev/null differ diff --git a/level/assets/component/wealth-frame-5.webp b/level/assets/component/wealth-frame-5.webp new file mode 100644 index 0000000..7358559 Binary files /dev/null and b/level/assets/component/wealth-frame-5.webp differ diff --git a/level/assets/component/wealth-icon-1.png b/level/assets/component/wealth-icon-1.png deleted file mode 100644 index 8b17d27..0000000 Binary files a/level/assets/component/wealth-icon-1.png and /dev/null differ diff --git a/level/assets/component/wealth-icon-1.webp b/level/assets/component/wealth-icon-1.webp new file mode 100644 index 0000000..79e380a Binary files /dev/null and b/level/assets/component/wealth-icon-1.webp differ diff --git a/level/assets/component/wealth-icon-2.png b/level/assets/component/wealth-icon-2.png deleted file mode 100644 index 500497e..0000000 Binary files a/level/assets/component/wealth-icon-2.png and /dev/null differ diff --git a/level/assets/component/wealth-icon-2.webp b/level/assets/component/wealth-icon-2.webp new file mode 100644 index 0000000..3fe6adc Binary files /dev/null and b/level/assets/component/wealth-icon-2.webp differ diff --git a/level/assets/component/wealth-icon-3.png b/level/assets/component/wealth-icon-3.png deleted file mode 100644 index 18a804a..0000000 Binary files a/level/assets/component/wealth-icon-3.png and /dev/null differ diff --git a/level/assets/component/wealth-icon-3.webp b/level/assets/component/wealth-icon-3.webp new file mode 100644 index 0000000..80e00df Binary files /dev/null and b/level/assets/component/wealth-icon-3.webp differ diff --git a/level/assets/component/wealth-icon-4.png b/level/assets/component/wealth-icon-4.png deleted file mode 100644 index 0bb88e0..0000000 Binary files a/level/assets/component/wealth-icon-4.png and /dev/null differ diff --git a/level/assets/component/wealth-icon-4.webp b/level/assets/component/wealth-icon-4.webp new file mode 100644 index 0000000..ac02ace Binary files /dev/null and b/level/assets/component/wealth-icon-4.webp differ diff --git a/level/assets/component/wealth-icon-5.png b/level/assets/component/wealth-icon-5.png deleted file mode 100644 index 5fd8f17..0000000 Binary files a/level/assets/component/wealth-icon-5.png and /dev/null differ diff --git a/level/assets/component/wealth-icon-5.webp b/level/assets/component/wealth-icon-5.webp new file mode 100644 index 0000000..e5eff7f Binary files /dev/null and b/level/assets/component/wealth-icon-5.webp differ diff --git a/level/index.html b/level/index.html index 15ce0f0..0e62de3 100644 --- a/level/index.html +++ b/level/index.html @@ -163,15 +163,15 @@ var A = "assets/component/"; var tracks = { charm: { - bg: A + "bg-charm.png", cardBg: A + "card-charm.png", decor: A + "decor-charm.png", avatar: A + "avatar-charm.png", frame: A + "avatar-frame-charm.png", - card: "#130828", texture: "url('" + A + "button-purple.png')", textureOpacity: .26, glow: "linear-gradient(176deg, #462a78 36%, rgba(59,36,100,0) 63%)", + bg: A + "bg-charm.webp", cardBg: A + "card-charm.png", decor: A + "decor-charm.png", avatar: A + "avatar-charm.webp", frame: A + "avatar-frame-charm.webp", + card: "#130828", texture: "url('" + A + "button-purple.webp')", textureOpacity: .26, glow: "linear-gradient(176deg, #462a78 36%, rgba(59,36,100,0) 63%)", titleFill: "#ffffff", titleShadow: "#be1e21", titleGradient: "linear-gradient(135deg, #fff 27%, #f4cbff 49%, #fff 72%)", progress: "#fff", progressTrack: "rgba(255,255,255,.2)", progressFill: "#fff", need: "rgba(255,255,255,.6)", upgrade: "#f718e9", button: "purple", upgrades: [{ icon: A + "upgrade-gift-charm.svg", name: "Receive a gift", exp: "1 Coins = 1 EXP" }] }, wealth: { - bg: A + "bg-wealth.png", cardBg: A + "card-wealth.png", decor: A + "decor-wealth.png", avatar: A + "avatar-wealth.png", frame: A + "avatar-frame-wealth.png", - card: "#ffa85c", texture: "url('" + A + "button-gold.png')", textureOpacity: .41, glow: "linear-gradient(165deg, rgba(255,242,130,.62) 35%, rgba(255,242,130,0) 48%), linear-gradient(-12deg, rgba(255,242,130,.55) 26%, rgba(255,242,130,0) 28%)", + bg: A + "bg-wealth.webp", cardBg: A + "card-wealth.png", decor: A + "decor-wealth.png", avatar: A + "avatar-wealth.webp", frame: A + "avatar-frame-wealth.webp", + card: "#ffa85c", texture: "url('" + A + "button-gold.webp')", textureOpacity: .41, glow: "linear-gradient(165deg, rgba(255,242,130,.62) 35%, rgba(255,242,130,0) 48%), linear-gradient(-12deg, rgba(255,242,130,.55) 26%, rgba(255,242,130,0) 28%)", titleFill: "#fff7e8", titleShadow: "#be561e", titleGradient: "linear-gradient(135deg, #fff 27%, #ffdfcb 49%, #fff 72%)", progress: "#b7420c", progressTrack: "rgba(183,66,12,.2)", progressFill: "#b7420c", need: "rgba(183,66,12,.6)", upgrade: "#ffbe5f", button: "gold", upgrades: [ @@ -181,8 +181,8 @@ ] }, game: { - bg: A + "bg-game.png", cardBg: A + "card-game.png", decor: A + "decor-game.png", avatar: A + "avatar-game.png", frame: A + "avatar-frame-game.png", - card: "#118624", texture: "url('" + A + "button-purple.png')", textureOpacity: .38, glow: "linear-gradient(165deg, rgba(255,242,130,.34) 35%, rgba(255,242,130,0) 48%), linear-gradient(-12deg, rgba(255,242,130,.3) 26%, rgba(255,242,130,0) 28%)", + bg: A + "bg-game.webp", cardBg: A + "card-game.png", decor: A + "decor-game.png", avatar: A + "avatar-game.webp", frame: A + "avatar-frame-game.webp", + card: "#118624", texture: "url('" + A + "button-purple.webp')", textureOpacity: .38, glow: "linear-gradient(165deg, rgba(255,242,130,.34) 35%, rgba(255,242,130,0) 48%), linear-gradient(-12deg, rgba(255,242,130,.3) 26%, rgba(255,242,130,0) 28%)", titleFill: "#f2fff2", titleShadow: "#5ba626", titleGradient: "linear-gradient(135deg, #fff 27%, #cbffd7 49%, #fff 72%)", progress: "#fff", progressTrack: "rgba(255,255,255,.2)", progressFill: "#fff", need: "rgba(255,255,255,.6)", upgrade: "#ffbe5f", button: "purple", upgrades: [{ icon: A + "upgrade-game.svg", name: "Earned through gameplay", exp: "1 Coins = 1 EXP" }] @@ -256,7 +256,7 @@ return min + "-" + max; } return [1, 2, 3, 4, 5].map(function (i) { - return '
' + rangeText(i) + '
'; + return '
' + rangeText(i) + '
'; }).join(""); } function upgradesHTML(cfg) { @@ -267,7 +267,7 @@ } function buttonHTML(cfg) { var corner = cfg.button === "gold" ? A + "corner-gold.png" : A + "corner-purple.png"; - var texture = cfg.button === "gold" ? A + "button-gold.png" : A + "button-purple.png"; + var texture = cfg.button === "gold" ? A + "button-gold.webp" : A + "button-purple.webp"; return 'To consume'; } function applyData() { diff --git a/rank/assets/charm-bg-a.png b/rank/assets/charm-bg-a.png deleted file mode 100644 index a4fafc3..0000000 Binary files a/rank/assets/charm-bg-a.png and /dev/null differ diff --git a/rank/assets/charm-bg-a.webp b/rank/assets/charm-bg-a.webp new file mode 100644 index 0000000..974521d Binary files /dev/null and b/rank/assets/charm-bg-a.webp differ diff --git a/rank/assets/charm-bg-b.png b/rank/assets/charm-bg-b.png deleted file mode 100644 index 9f564c2..0000000 Binary files a/rank/assets/charm-bg-b.png and /dev/null differ diff --git a/rank/assets/charm-bg-b.webp b/rank/assets/charm-bg-b.webp new file mode 100644 index 0000000..ee7ef0d Binary files /dev/null and b/rank/assets/charm-bg-b.webp differ diff --git a/rank/assets/coin.png b/rank/assets/coin.png deleted file mode 100644 index f61a28e..0000000 Binary files a/rank/assets/coin.png and /dev/null differ diff --git a/rank/assets/coin.webp b/rank/assets/coin.webp new file mode 100644 index 0000000..a2bd1f5 Binary files /dev/null and b/rank/assets/coin.webp differ diff --git a/rank/assets/default-avatar-large.png b/rank/assets/default-avatar-large.png deleted file mode 100644 index 819ed4f..0000000 Binary files a/rank/assets/default-avatar-large.png and /dev/null differ diff --git a/rank/assets/default-avatar-large.webp b/rank/assets/default-avatar-large.webp new file mode 100644 index 0000000..1666750 Binary files /dev/null and b/rank/assets/default-avatar-large.webp differ diff --git a/rank/assets/default-avatar-mid.png b/rank/assets/default-avatar-mid.png deleted file mode 100644 index af10b2e..0000000 Binary files a/rank/assets/default-avatar-mid.png and /dev/null differ diff --git a/rank/assets/default-avatar-mid.webp b/rank/assets/default-avatar-mid.webp new file mode 100644 index 0000000..5b438c4 Binary files /dev/null and b/rank/assets/default-avatar-mid.webp differ diff --git a/rank/assets/default-avatar-small.png b/rank/assets/default-avatar-small.png deleted file mode 100644 index 9d45cc5..0000000 Binary files a/rank/assets/default-avatar-small.png and /dev/null differ diff --git a/rank/assets/default-avatar-small.webp b/rank/assets/default-avatar-small.webp new file mode 100644 index 0000000..3c43f25 Binary files /dev/null and b/rank/assets/default-avatar-small.webp differ diff --git a/rank/assets/note-bg.png b/rank/assets/note-bg.png deleted file mode 100644 index 96c9acb..0000000 Binary files a/rank/assets/note-bg.png and /dev/null differ diff --git a/rank/assets/note-bg.webp b/rank/assets/note-bg.webp new file mode 100644 index 0000000..a81ac9a Binary files /dev/null and b/rank/assets/note-bg.webp differ diff --git a/rank/assets/note-border.png b/rank/assets/note-border.png deleted file mode 100644 index 511ae04..0000000 Binary files a/rank/assets/note-border.png and /dev/null differ diff --git a/rank/assets/note-border.webp b/rank/assets/note-border.webp new file mode 100644 index 0000000..3b044d3 Binary files /dev/null and b/rank/assets/note-border.webp differ diff --git a/rank/assets/period-active.png b/rank/assets/period-active.png deleted file mode 100644 index f86a692..0000000 Binary files a/rank/assets/period-active.png and /dev/null differ diff --git a/rank/assets/period-active.webp b/rank/assets/period-active.webp new file mode 100644 index 0000000..2cdcc66 Binary files /dev/null and b/rank/assets/period-active.webp differ diff --git a/rank/assets/reward.png b/rank/assets/reward.png deleted file mode 100644 index d1d152e..0000000 Binary files a/rank/assets/reward.png and /dev/null differ diff --git a/rank/assets/reward.webp b/rank/assets/reward.webp new file mode 100644 index 0000000..ba60308 Binary files /dev/null and b/rank/assets/reward.webp differ diff --git a/rank/assets/side-frame-blue.png b/rank/assets/side-frame-blue.png deleted file mode 100644 index 63b1d1c..0000000 Binary files a/rank/assets/side-frame-blue.png and /dev/null differ diff --git a/rank/assets/side-frame-blue.webp b/rank/assets/side-frame-blue.webp new file mode 100644 index 0000000..d5e88e3 Binary files /dev/null and b/rank/assets/side-frame-blue.webp differ diff --git a/rank/assets/side-frame-red.png b/rank/assets/side-frame-red.png deleted file mode 100644 index 8c67f19..0000000 Binary files a/rank/assets/side-frame-red.png and /dev/null differ diff --git a/rank/assets/side-frame-red.webp b/rank/assets/side-frame-red.webp new file mode 100644 index 0000000..063cb5c Binary files /dev/null and b/rank/assets/side-frame-red.webp differ diff --git a/rank/assets/top-frame.png b/rank/assets/top-frame.png deleted file mode 100644 index 31edfac..0000000 Binary files a/rank/assets/top-frame.png and /dev/null differ diff --git a/rank/assets/top-frame.webp b/rank/assets/top-frame.webp new file mode 100644 index 0000000..812966a Binary files /dev/null and b/rank/assets/top-frame.webp differ diff --git a/rank/assets/vip.png b/rank/assets/vip.png deleted file mode 100644 index 7e33063..0000000 Binary files a/rank/assets/vip.png and /dev/null differ diff --git a/rank/assets/vip.webp b/rank/assets/vip.webp new file mode 100644 index 0000000..10de974 Binary files /dev/null and b/rank/assets/vip.webp differ diff --git a/rank/assets/wealth-bg.png b/rank/assets/wealth-bg.png deleted file mode 100644 index 32de4f4..0000000 Binary files a/rank/assets/wealth-bg.png and /dev/null differ diff --git a/rank/assets/wealth-bg.webp b/rank/assets/wealth-bg.webp new file mode 100644 index 0000000..d5b95b4 Binary files /dev/null and b/rank/assets/wealth-bg.webp differ diff --git a/rank/index.html b/rank/index.html index 54baa6e..70d9d74 100644 --- a/rank/index.html +++ b/rank/index.html @@ -188,7 +188,7 @@ top: -5px; width: 92px; height: 36px; - background: url('assets/period-active.png') center/100% 100% + background: url('assets/period-active.webp') center/100% 100% no-repeat; z-index: -1; } @@ -649,7 +649,7 @@ top: -12px; width: 163px; height: 27px; - background: url('assets/note-border.png') center/100% 100% + background: url('assets/note-border.webp') center/100% 100% no-repeat; } .reward-panel::before { @@ -738,13 +738,13 @@ @@ -788,7 +788,7 @@
- +