Polished links and filled in values for ship properties. Added methods to return ship status as string and convert ship status to an asset link.
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
{% for ship in ships %}
|
||||
<div class="bg-[#16202A] rounded-2xl pl-5 py-5 pr-11 flex flex-col min-[1174px]:flex-row min-[1174px]:justify-between">
|
||||
<div class="flex justify-center min-[1174px]:justify-start">
|
||||
<img class="h-[83px] w-[84px]" src="/images/status-in-progress.png" alt="Status: {{ ship.status.value }}">
|
||||
<img class="h-[83px] w-[84px]" src="{{ asset(ship.getStatusImageFilename) }}" alt="Status: {{ ship.getStatusAsString}}">
|
||||
<div class="ml-5">
|
||||
<div class="rounded-2xl py-1 px-3 flex justify-center w-32 items-center bg-amber-400/10">
|
||||
<div class="rounded-full h-2 w-2 bg-amber-400 blur-[1px] mr-2"></div>
|
||||
<p class="uppercase text-xs text-nowrap">{{ ship.status.value }}</p>
|
||||
<p class="uppercase text-xs text-nowrap">{{ ship.getStatusAsString }}</p>
|
||||
</div>
|
||||
<h4 class="text-[22px] pt-1 font-semibold">
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user