Update homepage
parent
6b718abdaf
commit
aa1a20cd99
|
@ -13,16 +13,23 @@
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
const featured = {
|
const featured = {
|
||||||
tartaglia: {
|
hu_tao: {
|
||||||
name: 'Tartaglia',
|
name: 'Hu Tao',
|
||||||
|
rarity: 'legendary',
|
||||||
|
count: 0,
|
||||||
|
average: '...',
|
||||||
|
percentage: '...',
|
||||||
|
},
|
||||||
|
thoma: {
|
||||||
|
name: 'Thoma',
|
||||||
rarity: 'legendary',
|
rarity: 'legendary',
|
||||||
count: 0,
|
count: 0,
|
||||||
average: '...',
|
average: '...',
|
||||||
percentage: '...',
|
percentage: '...',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const bannerId = 300020;
|
const bannerId = 300021;
|
||||||
const image = 'tartaglia.png';
|
const image = 'hutao_thoma.png';
|
||||||
|
|
||||||
let loading = true;
|
let loading = true;
|
||||||
let user = '';
|
let user = '';
|
||||||
|
@ -72,7 +79,7 @@
|
||||||
<div
|
<div
|
||||||
class="flex flex-col pt-2"
|
class="flex flex-col pt-2"
|
||||||
style="background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 17%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0) 100%);
|
style="background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 17%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0) 100%);
|
||||||
{i === 0 ? 'margin-right: 0%;' : ''}"
|
{i === 0 ? 'margin-right: 10%;' : ''}"
|
||||||
>
|
>
|
||||||
<h3 class="text-3xl mr-4 font-black leading-6 text-right">
|
<h3 class="text-3xl mr-4 font-black leading-6 text-right">
|
||||||
{#if loading}
|
{#if loading}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
5: 'text-legendary-from',
|
5: 'text-legendary-from',
|
||||||
};
|
};
|
||||||
|
|
||||||
const promoted = ['raiden_shogun', 'kujou_sara'];
|
const promoted = ['hu_tao'];
|
||||||
let current = 0;
|
let current = 0;
|
||||||
|
|
||||||
function change(index) {
|
function change(index) {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
Loading…
Reference in New Issue