feat(rover): drop drive-time from candidate cards and detail header
This commit is contained in:
parent
535fda7cce
commit
12e0106b7b
1 changed files with 4 additions and 4 deletions
|
|
@ -904,7 +904,7 @@ defmodule MicrowavepropWeb.RoverLive do
|
||||||
{km_to_mi(c.distance_km)} mi {c.bearing_compass} of home
|
{km_to_mi(c.distance_km)} mi {c.bearing_compass} of home
|
||||||
</div>
|
</div>
|
||||||
<div class="text-xs opacity-70">
|
<div class="text-xs opacity-70">
|
||||||
{elev_ft(c.elev_m)} · {round(c.drive_min)} min drive
|
{elev_ft(c.elev_m)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1123,9 +1123,9 @@ defmodule MicrowavepropWeb.RoverLive do
|
||||||
<div class="flex flex-col leading-tight min-w-0">
|
<div class="flex flex-col leading-tight min-w-0">
|
||||||
<span class="font-mono font-semibold text-sm truncate">{@detail.grid}</span>
|
<span class="font-mono font-semibold text-sm truncate">{@detail.grid}</span>
|
||||||
<span class="text-[11px] opacity-60">
|
<span class="text-[11px] opacity-60">
|
||||||
{km_to_mi(@detail.candidate.distance_km)} mi {@detail.candidate.bearing_compass} of home · {round(
|
{km_to_mi(@detail.candidate.distance_km)} mi {@detail.candidate.bearing_compass} of home · {elev_ft(
|
||||||
@detail.candidate.drive_min
|
@detail.rover_elev_m || @detail.candidate.elev_m
|
||||||
)} min drive · {elev_ft(@detail.rover_elev_m || @detail.candidate.elev_m)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue