mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-04-29 23:02:16 +02:00
Update homepage
This commit is contained in:
parent
34e75e73f7
commit
b0cfccbf04
6 changed files with 51 additions and 9 deletions
src
static/images
|
@ -46,6 +46,17 @@ export const eventsData = [
|
|||
url: 'https://www.hoyolab.com/article/35949127',
|
||||
showOnHome: true,
|
||||
},
|
||||
{
|
||||
name: 'Overflowing Mastery',
|
||||
pos: '0% 50%',
|
||||
image: 'overflowing_mastery.jpg',
|
||||
start: '2025-02-03 04:00:00',
|
||||
end: '2025-02-10 03:59:59',
|
||||
color: '#f5debc',
|
||||
zoom: '200%',
|
||||
url: 'https://www.hoyolab.com/article/36388407',
|
||||
showOnHome: true,
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
|
@ -81,6 +92,17 @@ export const eventsData = [
|
|||
url: 'https://www.hoyolab.com/article/35948962',
|
||||
showOnHome: true,
|
||||
},
|
||||
{
|
||||
name: 'Springtime Charms',
|
||||
pos: '30% 20%',
|
||||
zoom: '200%',
|
||||
image: 'springtime charms tmp.png',
|
||||
start: '2025-01-24 10:00:00',
|
||||
end: '2025-02-09 03:59:59',
|
||||
color: '#ffc297',
|
||||
url: 'https://www.hoyolab.com/article/36388407',
|
||||
showOnHome: true,
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
|
@ -318,6 +340,16 @@ export const eventsData = [
|
|||
description:
|
||||
"All party members' Shield Strength is increased by 20%. While the active character is protected by a Shield, when they deal DMG to opponents, their attacks will unleash a shockwave at the opponents' position that deals True DMG. This can trigger once every 5s.",
|
||||
},
|
||||
{
|
||||
name: 'Spiral Abyss',
|
||||
image: 'spiral_abyss.jpg',
|
||||
pos: '50% 20%',
|
||||
start: '2025-01-16 04:00:00',
|
||||
end: '2025-02-16 04:00:00',
|
||||
color: '#4299E1',
|
||||
description:
|
||||
"After a party member triggers a Pyro-related reaction, a shockwave will be unleashed at the character's position, dealing True DMG to nearby opponents. This effect can be triggered once every 3s.",
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
|
@ -350,6 +382,16 @@ export const eventsData = [
|
|||
description:
|
||||
'Required Elemental Types: Pyro, Cryo, and Geo. Opening Characters: Diluc, Bennett, Ganyu, Kaeya, Navia, and Noelle',
|
||||
},
|
||||
{
|
||||
name: 'Imaginarium Theater',
|
||||
image: 'Imaginarium Theater tmp.png',
|
||||
pos: '0% 70%',
|
||||
start: '2025-02-01 04:00:00',
|
||||
end: '2025-03-01 04:00:00',
|
||||
color: '#777df3',
|
||||
description:
|
||||
'Required Elemental Types: Pyro, Hydro, and Anemo. Opening Characters: Hu Tao, Gaming, Mona, Xingqiu, Venti, and Shikanoin Heizou',
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
|
|
|
@ -13,25 +13,25 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
const featured = {
|
||||
citlali: {
|
||||
name: 'Citlali',
|
||||
arlecchino: {
|
||||
name: 'Arlecchino',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
mavuika: {
|
||||
name: 'Mavuika',
|
||||
clorinde: {
|
||||
name: 'Clorinde',
|
||||
rarity: 'legendary',
|
||||
count: 0,
|
||||
average: '...',
|
||||
percentage: '...',
|
||||
},
|
||||
};
|
||||
const bannerId = 300076;
|
||||
const image = 'citlali mavuika.png';
|
||||
const bannerId = 300077;
|
||||
const image = 'arlecchino clorinde.png';
|
||||
const width = 800;
|
||||
const height = 439;
|
||||
const height = 394;
|
||||
|
||||
let loading = true;
|
||||
let user = '';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script context="module">
|
||||
export async function load({ fetch }) {
|
||||
const promoted = ['bennett'];
|
||||
const promoted = ['rosaria'];
|
||||
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 banners, characters, weapons, achievements v5.3', 'Update timeline'];
|
||||
const changelog = ['Update v5.3 second half'];
|
||||
|
||||
const channel = new BroadcastChannel('paimonmoe-sw');
|
||||
|
||||
|
|
BIN
static/images/events/springtime charms tmp.png
Normal file
BIN
static/images/events/springtime charms tmp.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 184 KiB |
BIN
static/images/home/arlecchino clorinde.png
Normal file
BIN
static/images/home/arlecchino clorinde.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 202 KiB |
Loading…
Add table
Reference in a new issue