mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-10-23 17:36:30 +02:00
Update banners
This commit is contained in:
parent
ec4e088d7c
commit
8c47b53c22
10 changed files with 67 additions and 34 deletions
|
@ -642,6 +642,28 @@ export const banners = {
|
|||
// timezoneDependent: true,
|
||||
// version: '3.3',
|
||||
// },
|
||||
{
|
||||
name: 'Reign of Serenity',
|
||||
image: 3,
|
||||
shortName: 'Raiden',
|
||||
start: '2022-12-27 18:00:00',
|
||||
end: '2023-01-17 14:59:59',
|
||||
color: '#D0AEF2',
|
||||
featured: ['raiden_shogun', 'kamisato_ayato'],
|
||||
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
|
||||
version: '3.3',
|
||||
},
|
||||
// {
|
||||
// name: 'Azure Excursion',
|
||||
// image: 2,
|
||||
// shortName: 'Ayato',
|
||||
// start: '2022-12-27 18:00:00',
|
||||
// end: '2023-01-17 14:59:59',
|
||||
// color: '#90bce9',
|
||||
// featured: ['raiden_shogun', 'kamisato_ayato'],
|
||||
// featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
|
||||
// version: '3.3',
|
||||
// },
|
||||
],
|
||||
weapons: [
|
||||
{
|
||||
|
@ -1119,5 +1141,16 @@ export const banners = {
|
|||
timezoneDependent: true,
|
||||
version: '3.3',
|
||||
},
|
||||
{
|
||||
name: 'Epitome Invocation',
|
||||
image: 40,
|
||||
shortName: 'Egulfing',
|
||||
start: '2022-12-27 18:00:00',
|
||||
end: '2023-01-17 14:59:59',
|
||||
color: '#D0AEF2',
|
||||
featured: ['engulfing_lightning', 'haran_geppaku_futsu'],
|
||||
featuredRare: ['akuoumaru', 'mouuns_moon', 'lions_roar', 'favonius_lance', 'sacrificial_fragments'],
|
||||
version: '3.3',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -353,4 +353,28 @@ export const bannersDual = {
|
|||
version: '3.3',
|
||||
},
|
||||
],
|
||||
'Reign of Serenity 3': [
|
||||
{
|
||||
name: 'Reign of Serenity',
|
||||
image: 3,
|
||||
shortName: 'Raiden',
|
||||
start: '2022-12-27 18:00:00',
|
||||
end: '2023-01-17 14:59:59',
|
||||
color: '#D0AEF2',
|
||||
featured: ['raiden_shogun', 'kamisato_ayato'],
|
||||
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
|
||||
version: '3.3',
|
||||
},
|
||||
{
|
||||
name: 'Azure Excursion',
|
||||
image: 2,
|
||||
shortName: 'Ayato',
|
||||
start: '2022-12-27 18:00:00',
|
||||
end: '2023-01-17 14:59:59',
|
||||
color: '#90bce9',
|
||||
featured: ['raiden_shogun', 'kamisato_ayato'],
|
||||
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
|
||||
version: '3.3',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -13,25 +13,25 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
const featured = {
|
||||
wanderer: {
|
||||
name: 'Wanderer',
|
||||
kamisato_ayato: {
|
||||
name: 'Kamisato Ayato',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
faruzan: {
|
||||
name: 'Faruzan',
|
||||
rarity: 'rare',
|
||||
raiden_shogun: {
|
||||
name: 'Raiden Shogun',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
};
|
||||
const bannerId = 300040;
|
||||
const image = 'wanderer_faruzan.png';
|
||||
const bannerId = 300041;
|
||||
const image = 'ayato_raiden.png';
|
||||
const width = 800;
|
||||
const height = 431;
|
||||
const height = 481;
|
||||
|
||||
let loading = true;
|
||||
let user = '';
|
||||
|
|
|
@ -11,30 +11,6 @@
|
|||
import { mdiSwapVertical } from '@mdi/js';
|
||||
import Ad from '../../components/Ad.svelte';
|
||||
|
||||
// temporary until update banners
|
||||
banners.characters.push({
|
||||
name: 'Reign of Serenity',
|
||||
image: 3,
|
||||
shortName: 'Raiden',
|
||||
start: '2022-12-27 18:00:00',
|
||||
end: '2023-01-17 14:59:59',
|
||||
color: '#D0AEF2',
|
||||
featured: ['raiden_shogun', 'kamisato_ayato'],
|
||||
featuredRare: ['sayu', 'rosaria', 'kujou_sara'],
|
||||
version: '3.4',
|
||||
});
|
||||
banners.weapons.push({
|
||||
name: 'Epitome Invocation',
|
||||
image: 40,
|
||||
shortName: 'Egulfing',
|
||||
start: '2022-12-27 18:00:00',
|
||||
end: '2023-01-17 14:59:59',
|
||||
color: '#D0AEF2',
|
||||
featured: ['engulfing_lightning', 'haran_geppaku_futsu'],
|
||||
featuredRare: ['akuoumaru', 'mouuns_moon', 'lions_roar', 'favonius_lance', 'sacrificial_fragments'],
|
||||
version: '3.4',
|
||||
});
|
||||
|
||||
let container;
|
||||
|
||||
let length = 0;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script context="module">
|
||||
export async function load({ fetch }) {
|
||||
const promoted = ['yanfei', 'gorou'];
|
||||
const promoted = ['raiden_shogun', 'kamisato_ayato'];
|
||||
const builds = {};
|
||||
for (const p of promoted) {
|
||||
const response = await fetch(`/characters/build/${p}.json`);
|
||||
|
|
|
@ -7,7 +7,7 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
|
|||
|
||||
const IMAGE_URL = `${self.location.origin}/images/`;
|
||||
|
||||
const changelog = ['Update Timeline', 'Bug fixes', 'Add TCG Deck builder, check it out on TCG menu!'];
|
||||
const changelog = ['Update banners', 'Bug fixes', 'Add TCG Deck builder, check it out on TCG menu!'];
|
||||
|
||||
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||
|
||||
|
|
BIN
static/images/banners/Azure Excursion 2.png
Normal file
BIN
static/images/banners/Azure Excursion 2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 499 KiB |
BIN
static/images/banners/Epitome Invocation 40.png
Normal file
BIN
static/images/banners/Epitome Invocation 40.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 324 KiB |
BIN
static/images/banners/Reign of Serenity 3.png
Normal file
BIN
static/images/banners/Reign of Serenity 3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 527 KiB |
BIN
static/images/home/ayato_raiden.png
Normal file
BIN
static/images/home/ayato_raiden.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 384 KiB |
Loading…
Reference in a new issue