mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-28 09:07:28 +01:00
Update 2.4 second half banner
This commit is contained in:
parent
90551e9a89
commit
f99cc4fdcd
8 changed files with 60 additions and 8 deletions
src
static/images
|
@ -285,6 +285,26 @@ export const banners = {
|
|||
// featuredRare: ['yun_jin', 'ningguang', 'chongyun'],
|
||||
// timezoneDependent: true,
|
||||
// },
|
||||
{
|
||||
name: 'Gentry of Hermitage',
|
||||
image: 3,
|
||||
shortName: 'Zhongli',
|
||||
start: '2022-01-25 18:00:00',
|
||||
end: '2022-02-15 14:59:59',
|
||||
color: '#FFF5BF',
|
||||
featured: ['zhongli'],
|
||||
featuredRare: ['xingqiu', 'beidou', 'yanfei'],
|
||||
},
|
||||
// {
|
||||
// name: 'Adrift in the Harbor',
|
||||
// image: 2,
|
||||
// shortName: 'Ganyu',
|
||||
// start: '2022-01-25 18:00:00',
|
||||
// end: '2022-02-15 14:59:59',
|
||||
// color: '#FFF5BF',
|
||||
// featured: ['ganyu'],
|
||||
// featuredRare: ['xingqiu', 'beidou', 'yanfei'],
|
||||
// },
|
||||
],
|
||||
weapons: [
|
||||
{
|
||||
|
@ -522,5 +542,15 @@ export const banners = {
|
|||
featuredRare: ['lithic_spear', 'the_flute', 'favonius_greatsword', 'the_widsith', 'favonius_warbow'],
|
||||
timezoneDependent: true,
|
||||
},
|
||||
{
|
||||
name: 'Epitome Invocation',
|
||||
image: 24,
|
||||
start: '2022-01-25 18:00:00',
|
||||
end: '2022-02-15 14:59:59',
|
||||
shortName: 'Amos',
|
||||
color: '#b042f5',
|
||||
featured: ['amos_bow', 'vortex_vanquisher'],
|
||||
featuredRare: ['lithic_blade', 'favonius_sword', 'dragons_bane', 'favonius_codex', 'sacrificial_bow'],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -47,4 +47,26 @@ export const bannersDual = {
|
|||
timezoneDependent: true,
|
||||
},
|
||||
],
|
||||
'Gentry of Hermitage 3': [
|
||||
{
|
||||
name: 'Gentry of Hermitage',
|
||||
image: 3,
|
||||
shortName: 'Zhongli',
|
||||
start: '2022-01-25 18:00:00',
|
||||
end: '2022-02-15 14:59:59',
|
||||
color: '#FFF5BF',
|
||||
featured: ['zhongli'],
|
||||
featuredRare: ['xingqiu', 'beidou', 'yanfei'],
|
||||
},
|
||||
{
|
||||
name: 'Adrift in the Harbor',
|
||||
image: 2,
|
||||
shortName: 'Ganyu',
|
||||
start: '2022-01-25 18:00:00',
|
||||
end: '2022-02-15 14:59:59',
|
||||
color: '#FFF5BF',
|
||||
featured: ['ganyu'],
|
||||
featuredRare: ['xingqiu', 'beidou', 'yanfei'],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -13,23 +13,23 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
const featured = {
|
||||
xiao: {
|
||||
name: 'Xiao',
|
||||
zhongli: {
|
||||
name: 'Zhongli',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
shenhe: {
|
||||
name: 'Shenhe',
|
||||
ganyu: {
|
||||
name: 'Ganyu',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
};
|
||||
const bannerId = 300024;
|
||||
const image = 'shenhexiao.png';
|
||||
const bannerId = 300025;
|
||||
const image = 'zhongliganyu.png';
|
||||
|
||||
let loading = true;
|
||||
let user = '';
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
const promoted = ['xiao', 'shenhe'];
|
||||
const promoted = ['ganyu', 'zhongli'];
|
||||
let current = 0;
|
||||
|
||||
async function change(index) {
|
||||
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
|
||||
$: id = promoted[current];
|
||||
$: buildData = Object.entries(builds[id].roles).sort((a, b) => a[1].recommended - b[1].recommended)[0];
|
||||
$: buildData = Object.entries(builds[id].roles).sort((a, b) => b[1].recommended - a[1].recommended)[0];
|
||||
$: buildName = buildData[0];
|
||||
$: build = buildData[1];
|
||||
</script>
|
||||
|
|
BIN
static/images/banners/Adrift in the Harbor 2.png
Normal file
BIN
static/images/banners/Adrift in the Harbor 2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 870 KiB |
BIN
static/images/banners/Epitome Invocation 24.png
Normal file
BIN
static/images/banners/Epitome Invocation 24.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 625 KiB |
BIN
static/images/banners/Gentry of Hermitage 3.png
Normal file
BIN
static/images/banners/Gentry of Hermitage 3.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 891 KiB |
BIN
static/images/home/zhongliganyu.png
Normal file
BIN
static/images/home/zhongliganyu.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 262 KiB |
Loading…
Add table
Reference in a new issue