PaiGram/resources/genshin/player_card/weapon.jinja2

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
683 B
Plaintext
Raw Permalink Normal View History

<div
class="flex-1 flex items-center bg-black bg-opacity-20 rounded-lg bg-contain bg-no-repeat"
style="background-image: url('{{ weapon.detail.icon.url }}')"
>
<div
class="flex-1 p-4 flex flex-col items-end justify-center h-full space-y-1"
>
<div class="text-2xl">{{ weapon.detail.name }}</div>
<div class="star star-{{ weapon.detail.rarity }}"></div>
<div class="flex space-x-3 items-center">
<div class="italic">Lv.{{ weapon.level }}</div>
<div
class="rounded px-2 text-base {% if weapon.refinement == 5 %} bg-red-600 {% else %} bg-gray-600 {% endif %}"
>
精{{ weapon.refinement }}
</div>
</div>
</div>
</div>