Update homepage
parent
3d7844ccc6
commit
ecbbf01cd1
|
@ -14,24 +14,24 @@
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
venti: {
|
venti: {
|
||||||
name: 'Venti',
|
name: 'Nilou',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
cyno: {
|
cyno: {
|
||||||
name: 'Cyno',
|
name: 'Albedo',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300036;
|
const bannerId = 300037;
|
||||||
const image = 'venticyno.png';
|
const image = 'nilou_albedo.png';
|
||||||
const width = 800;
|
const width = 800;
|
||||||
const height = 523;
|
const height = 490;
|
||||||
|
|
||||||
let loading = true;
|
let loading = true;
|
||||||
let user = '';
|
let user = '';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script context="module">
|
<script context="module">
|
||||||
export async function load({ fetch }) {
|
export async function load({ fetch }) {
|
||||||
const promoted = ['venti', 'sayu'];
|
const promoted = ['albedo', 'xiangling', 'barbara', 'beidou'];
|
||||||
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`);
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 281 KiB |
Loading…
Reference in New Issue