Update homepage

This commit is contained in:
Made Baruna 2023-01-18 10:15:18 +08:00
parent 04a917012f
commit 49ea867e6d
5 changed files with 22 additions and 9 deletions

View file

@ -13,25 +13,25 @@
const dispatch = createEventDispatcher();
const featured = {
kamisato_ayato: {
name: 'Kamisato Ayato',
xiao: {
name: 'Xiao',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
raiden_shogun: {
name: 'Raiden Shogun',
alhaitham: {
name: 'Alhaitham',
rarity: 'legendary',
count: 0,
average: '...',
percentage: '...',
},
};
const bannerId = 300041;
const image = 'ayato_raiden.png';
const bannerId = 300042;
const image = 'xiao_alhaitham.png';
const width = 800;
const height = 481;
const height = 500;
let loading = true;
let user = '';

View file

@ -8,6 +8,13 @@
<div class="lg:ml-64 pt-20 lg:pt-8">
<h1 class="font-display px-4 md:px-8 font-black text-5xl text-white">{$t('settings.changelog')}</h1>
<pre class="text-white px-4 md:px-8">
2023/01/18
- Add Alhaitham and Yaoyao
- Update weapons
- Update achievements
- Update banners
- Update timeline
2022/12/17
- Add TCG Deck builder
- Fix todo crash

View file

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

View file

@ -7,7 +7,13 @@ const IMAGE_CACHE = `cacheimg${IMAGE_CACHE_VER}`;
const IMAGE_URL = `${self.location.origin}/images/`;
const changelog = ['Update banners', 'Bug fixes', 'Add TCG Deck builder, check it out on TCG menu!'];
const changelog = [
'Add Alhaitham and Yaoyao',
'Update weapons',
'Update achievements',
'Update banners',
'Update timeline',
];
const channel = new BroadcastChannel('paimonmoe-sw');

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB