Update banners

pull/29/head
Made Baruna 2024-02-20 17:56:53 +08:00
parent 2c10c11dee
commit 66df41cb18
6 changed files with 68 additions and 17 deletions

View File

@ -1103,6 +1103,28 @@ export const banners = {
// version: '4.4', // version: '4.4',
// timezoneDependent: true, // timezoneDependent: true,
// }, // },
{
name: 'Invitation to Mundane Life',
image: 5,
shortName: 'Xiao',
start: '2024-02-20 18:00:00',
end: '2024-03-12 14:59:00',
color: '#25d7b8',
featured: ['xiao', 'yae_miko'],
featuredRare: ['yaoyao', 'xinyan', 'ningguang'],
version: '4.4',
},
// {
// name: 'Everbloom Violet',
// image: 4,
// shortName: 'Yae',
// start: '2024-02-20 18:00:00',
// end: '2024-03-12 14:59:00',
// color: '#ffd1f9',
// featured: ['xiao', 'yae_miko'],
// featuredRare: ['yaoyao', 'xinyan', 'ningguang'],
// version: '4.4',
// },
], ],
weapons: [ weapons: [
{ {
@ -1807,7 +1829,7 @@ export const banners = {
}, },
{ {
name: 'Epitome Invocation', name: 'Epitome Invocation',
image: 59, image: 58,
shortName: 'Engulfing', shortName: 'Engulfing',
start: '2024-01-09 18:00:00', start: '2024-01-09 18:00:00',
end: '2024-01-30 14:59:00', end: '2024-01-30 14:59:00',
@ -1818,7 +1840,7 @@ export const banners = {
}, },
{ {
name: 'Epitome Invocation', name: 'Epitome Invocation',
image: 60, image: 59,
shortName: 'Crane', shortName: 'Crane',
start: '2024-01-31 06:00:00', start: '2024-01-31 06:00:00',
end: '2024-02-20 17:59:00', end: '2024-02-20 17:59:00',
@ -1834,5 +1856,16 @@ export const banners = {
version: '4.4', version: '4.4',
timezoneDependent: true, timezoneDependent: true,
}, },
{
name: 'Epitome Invocation',
image: 60,
shortName: 'Primordial',
start: '2024-02-20 18:00:00',
end: '2024-03-12 14:59:00',
color: '#eae5e1',
featured: ['primordial_jade_winged-spear', 'kaguras_verity'],
featuredRare: ['lithic_blade', 'lions_roar', 'favonius_lance', 'the_widsith', 'the_stringless'],
version: '4.4',
},
], ],
}; };

View File

@ -853,4 +853,28 @@ export const bannersDual = {
timezoneDependent: true, timezoneDependent: true,
}, },
], ],
'Invitation to Mundane Life 5': [
{
name: 'Invitation to Mundane Life',
image: 5,
shortName: 'Xiao',
start: '2024-02-20 18:00:00',
end: '2024-03-12 14:59:00',
color: '#25d7b8',
featured: ['xiao', 'yae_miko'],
featuredRare: ['yaoyao', 'xinyan', 'ningguang'],
version: '4.4',
},
{
name: 'Everbloom Violet',
image: 4,
shortName: 'Yae',
start: '2024-02-20 18:00:00',
end: '2024-03-12 14:59:00',
color: '#ffd1f9',
featured: ['xiao', 'yae_miko'],
featuredRare: ['yaoyao', 'xinyan', 'ningguang'],
version: '4.4',
},
],
}; };

View File

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher(); const dispatch = createEventDispatcher();
const featured = { const featured = {
nahida: { yae_miko: {
name: 'Nahida', name: 'Yae Miko',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
xianyun: { xiao: {
name: 'Xianyun', name: 'Xiao',
rarity: 'legendary', rarity: 'legendary',
count: 0, count: 0,
average: '...', average: '...',
percentage: '...', percentage: '...',
}, },
}; };
const bannerId = 300060; const bannerId = 300061;
const image = 'nahida xianyun.png'; const image = 'yae xiao.png';
const width = 800; const width = 800;
const height = 454; const height = 380;
let loading = true; let loading = true;
let user = ''; let user = '';

View File

@ -1,6 +1,6 @@
<script context="module"> <script context="module">
export async function load({ fetch }) { export async function load({ fetch }) {
const promoted = ['nahida', 'faruzan', 'noelle']; const promoted = ['xiao', 'yae_miko'];
const builds = {}; const builds = {};
for (const p of promoted) { for (const p of promoted) {
const response = await fetch(`/characters/build/${p}.json`); const response = await fetch(`/characters/build/${p}.json`);

View File

@ -7,13 +7,7 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
const IMAGE_URL = `${self.location.origin}/images/`; const IMAGE_URL = `${self.location.origin}/images/`;
const changelog = [ const changelog = ['Update banners'];
'Update banners',
'Update timelines',
'Update achievements',
'Update Xianyun & Gaming',
'Update Weapon',
];
const channel = new BroadcastChannel('paimonmoe-sw'); const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB