mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-01-09 03:43:20 +01:00
Add wish tally link
This commit is contained in:
parent
579edbf77e
commit
72067fd246
3 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
"manual": "If you want to manually input the data, you can enable it here:",
|
"manual": "If you want to manually input the data, you can enable it here:",
|
||||||
"manualButton": "Enable Manual Input",
|
"manualButton": "Enable Manual Input",
|
||||||
"errorBanner": "Banner time missmatch! Please adjust your server on settings page. Still not working? please leave a message on Discord 😅",
|
"errorBanner": "Banner time missmatch! Please adjust your server on settings page. Still not working? please leave a message on Discord 😅",
|
||||||
|
"globalWishTally": "Global Wish Tally",
|
||||||
"import": {
|
"import": {
|
||||||
"title": "Import Wish History",
|
"title": "Import Wish History",
|
||||||
"faqsButton": "FAQ - READ FIRST",
|
"faqsButton": "FAQ - READ FIRST",
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
"manual": "Jika kamu ingin memasukkan datanya secara manual, kamu bisa menyalakannya disini:",
|
"manual": "Jika kamu ingin memasukkan datanya secara manual, kamu bisa menyalakannya disini:",
|
||||||
"manualButton": "Nyalakan Input Manual",
|
"manualButton": "Nyalakan Input Manual",
|
||||||
"errorBanner": "Waktu banner salah! Coba sesuaikan server di halaman settings. Masih gak bisa? tolong chat di Discord 😅",
|
"errorBanner": "Waktu banner salah! Coba sesuaikan server di halaman settings. Masih gak bisa? tolong chat di Discord 😅",
|
||||||
|
"globalWishTally": "Perhitungan Pity Wish Global",
|
||||||
"import": {
|
"import": {
|
||||||
"title": "Import Riwayat Wish",
|
"title": "Import Riwayat Wish",
|
||||||
"faqsButton": "FAQS - BACA DULU",
|
"faqsButton": "FAQS - BACA DULU",
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
import { readSave, updateTime, fromRemote } from '../../stores/saveManager';
|
import { readSave, updateTime, fromRemote } from '../../stores/saveManager';
|
||||||
import SummaryItem from './_summaryItem.svelte';
|
import SummaryItem from './_summaryItem.svelte';
|
||||||
import GiveawayModal from './_giveaway.svelte';
|
import GiveawayModal from './_giveaway.svelte';
|
||||||
|
import Icon from '../../components/Icon.svelte';
|
||||||
|
import { mdiEarth, mdiGlobeLight, mdiGlobeModel } from '@mdi/js';
|
||||||
|
|
||||||
const { open: openModal } = getContext('simple-modal');
|
const { open: openModal } = getContext('simple-modal');
|
||||||
|
|
||||||
|
@ -171,6 +173,14 @@
|
||||||
{$t('wish.wishesWorth')} <img class="w-4 h-4 mx-2" src="/images/primogem.png" alt="primogem" />
|
{$t('wish.wishesWorth')} <img class="w-4 h-4 mx-2" src="/images/primogem.png" alt="primogem" />
|
||||||
{numberFormat.format(totalWish * 160)}
|
{numberFormat.format(totalWish * 160)}
|
||||||
</div>
|
</div>
|
||||||
|
<a
|
||||||
|
href="/wish/tally"
|
||||||
|
class="bg-item rounded-xl p-4 flex items-center w-full text-white mt-4 hover:text-primary"
|
||||||
|
style="height: min-content;"
|
||||||
|
>
|
||||||
|
<Icon path={mdiEarth} className="mr-2" />
|
||||||
|
{$t('wish.globalWishTally')}
|
||||||
|
</a>
|
||||||
<div
|
<div
|
||||||
on:click={openGiveaway}
|
on:click={openGiveaway}
|
||||||
class="bg-item rounded-xl p-4 w-full text-white mt-4 cursor-pointer hover:text-primary"
|
class="bg-item rounded-xl p-4 w-full text-white mt-4 cursor-pointer hover:text-primary"
|
||||||
|
|
Loading…
Reference in a new issue