diff --git a/src/locales/en.json b/src/locales/en.json index 53e64f93..9e13e564 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -393,5 +393,14 @@ "download": "Download Both Data", "lastModified": "Last modified", "or": "OR" + }, + "giveaway": { + "title": "🎉 We are doing our 1st Primogem Giveaway!", + "message": "Paimon.moe will be giving away 6400 Primogems to 4 lucky winners! To enter, submit your UID below. Winner will be announced on Discord at 4 April 19:00 GMT+8 (the last day of Venti banner)! So make sure to join our Discord!", + "submit": "Enter Giveaway", + "invalidUID1": "Invalid UID! Please check it again", + "invalidUID2": "Invalid UID! Need help finding your uid?", + "click": "Click here", + "aprilfools": "April Fools 😂! Hey but seriously be careful when joining a giveaway! If this is a real scam, you can get hacked! Don't enter your username, email, or even password on an unknown website. Usually, if it's too good to be true, you need to research it first! That's all from me, be careful and have fun!" } } \ No newline at end of file diff --git a/src/locales/id.json b/src/locales/id.json index 0c615a26..d21853ae 100644 --- a/src/locales/id.json +++ b/src/locales/id.json @@ -393,5 +393,14 @@ "download": "Download Kedua Data", "lastModified": "Terakhir dimodifikasi", "or": "ATAU" + }, + "giveaway": { + "title": "🎉 Giveaway Primogem Pertama Paimon.moe!", + "message": "Paimon.moe akan memberikan 6400 Primogem ke 4 orang yang beruntung! Untuk bergabung, masukkan UID mu dibawah. Pemenang akan diumumkan di Discord tanggal 4 April 19:00 GMT+8 (hari terakhir banner Venti)! Jadi pastikan udah join Discord nya ya!", + "submit": "Enter Giveaway", + "invalidUID1": "UID Salah! Coba cek kembali", + "invalidUID2": "UID Salah! Perlu bantuan menemukan uid mu?", + "click": "Klik disini", + "aprilfools": "April Fools 😂! Hey tapi hati-hati saat ada giveaway atau apapun itu yang perlu memasukkan username atau password! Kalau ini penipuan beneran, akun mu bisa dibajak! Jangan memasukkan username, email, atau password di website yang belum dikenal. Biasanya jika terlalu bagus untuk menjadi kenyataan, kamu harus cari tau terlebih dahulu, apakah beneran atau tipu-tipu! Itu saja dari saya, be careful and have fun!" } } \ No newline at end of file diff --git a/src/routes/wish/_giveaway.svelte b/src/routes/wish/_giveaway.svelte new file mode 100644 index 00000000..159d8c12 --- /dev/null +++ b/src/routes/wish/_giveaway.svelte @@ -0,0 +1,52 @@ + + +
+

{$t('giveaway.title')}

+

{$t('giveaway.message')}

+
+ + +
+ {#if inputCount > 1} +

+ {$t('giveaway.invalidUID2')} + + {$t('giveaway.click')} + +

+ {:else if inputCount > 0} +

{$t('giveaway.invalidUID1')}

+ {/if} + {#if showMessage} +

{$t('giveaway.aprilfools')}

+ {/if} +
diff --git a/src/routes/wish/_summary.svelte b/src/routes/wish/_summary.svelte index e05fc00c..310948aa 100644 --- a/src/routes/wish/_summary.svelte +++ b/src/routes/wish/_summary.svelte @@ -1,7 +1,7 @@ {#if !loading} @@ -157,5 +171,12 @@ {$t('wish.wishesWorth')} primogem {numberFormat.format(totalWish * 160)} +
+ {$t('giveaway.title')} primogem +
{/if}