Update homepage
parent
5f5ef4c04a
commit
6a0f59a1ad
|
@ -35,7 +35,8 @@
|
|||
},
|
||||
"items": {
|
||||
"title": "Farmable Today",
|
||||
"detail": "Items"
|
||||
"detail": "Items",
|
||||
"sunday": "Sunday can farm all items 😁"
|
||||
},
|
||||
"calculator": {
|
||||
"title": "🧮 Calculate Character and Weapons ascension material and talent book! All the calculations can be added to the Todo list, it will show you how much resin you need too!",
|
||||
|
@ -455,5 +456,10 @@
|
|||
],
|
||||
"kofi": "Support me on Ko-fi",
|
||||
"trakteer": "Support me on Trakteer"
|
||||
},
|
||||
"reminder": {
|
||||
"title": "Reminder Notification",
|
||||
"notSupported": "Your browser does not support push notification, please try other browser!",
|
||||
"blocked": "Notification is blocked, the reminder notification will not work! Please enable it on your browser."
|
||||
}
|
||||
}
|
|
@ -56,6 +56,9 @@
|
|||
|
||||
<div class="bg-item rounded-xl p-4 flex flex-col">
|
||||
<p class="text-white mb-2">{$t('home.items.title')}</p>
|
||||
{#if today === 'sunday'}
|
||||
<div class="text-white">{$t('home.items.sunday')}</div>
|
||||
{:else}
|
||||
<table>
|
||||
{#each Object.entries(characterItems) as [id, characters]}
|
||||
<tr>
|
||||
|
@ -84,6 +87,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
<a
|
||||
href="/items"
|
||||
class="flex justify-end items-center self-end lg:self-start text-white mt-4 bg-background-secondary rounded-xl py-2 px-4
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
{:else}
|
||||
<p class="text-white mb-2">{$t('home.wish.latest')}</p>
|
||||
<div class="flex">
|
||||
<div class="h-16 w-16" style="min-width: 4rem;">
|
||||
<div class="h-16 w-16 mr-1" style="min-width: 4rem;">
|
||||
<img
|
||||
class="h-full w-auto"
|
||||
src={latestPull.type === 'character'
|
||||
|
|
Loading…
Reference in New Issue