mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 15:26:40 +01:00
Update homepage
This commit is contained in:
parent
c3ea5dcaa3
commit
90ec038682
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
const promoted = ['thoma', 'fischl', 'diona'];
|
||||
const promoted = ['yae_miko'];
|
||||
let current = 0;
|
||||
|
||||
async function change(index) {
|
||||
|
@ -25,7 +25,7 @@
|
|||
</script>
|
||||
|
||||
<div class="bg-item rounded-xl p-4 flex flex-col">
|
||||
<div class="flex items-center">
|
||||
<!-- <div class="flex items-center flex-wrap">
|
||||
{#each promoted as item, i}
|
||||
<button
|
||||
class="pill {i < promoted.length - 1 ? 'mr-2' : ''} {current === i ? 'active' : ''}"
|
||||
|
@ -34,8 +34,8 @@
|
|||
{characters[item].name}
|
||||
</button>
|
||||
{/each}
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
</div> -->
|
||||
<div>
|
||||
<div class="flex items-center">
|
||||
<img src="/images/characters/{id}.png" alt={characters[id].name} class="w-12 h-12 mr-2 rounded-full" />
|
||||
<p class="font-semibold text-white text-lg">{buildName} Build</p>
|
||||
|
|
Loading…
Reference in a new issue