Modificação na area do motorista

This commit is contained in:
2026-08-26 15:40:50 -03:00
parent 6c78570658
commit e4b17653ef
5 changed files with 108 additions and 34 deletions

View File

@@ -185,21 +185,8 @@
<% end %>
</div>
<%# Setas: alvos grandes (56px) porque a tela é usada de luva/no trânsito.
Somem sozinhas quando há uma página só (ver carrossel_controller.js). %>
<div data-carrossel-target="controles" class="hidden flex items-center justify-between gap-3 mt-4">
<button type="button" data-action="carrossel#anterior" data-carrossel-target="anterior"
class="bg-[#1a1a1a] border border-[#2a2a2a] hover:border-orange-500 text-white rounded-2xl w-14 h-14 flex items-center justify-center"
aria-label="Fechamentos anteriores">
<%= icone :voltar, cor: nil, tamanho: 'w-6 h-6', espaco: false %>
</button>
<span data-carrossel-target="indicador" class="text-gray-300 text-base font-semibold"></span>
<button type="button" data-action="carrossel#proxima" data-carrossel-target="proximo"
class="bg-orange-500 hover:bg-orange-600 text-black rounded-2xl w-14 h-14 flex items-center justify-center"
aria-label="Próximos fechamentos">
<%= icone :avancar, cor: nil, tamanho: 'w-6 h-6', espaco: false %>
</button>
</div>
<%= render 'shared/carrossel_controles',
anterior: 'Fechamentos anteriores', proximo: 'Próximos fechamentos' %>
</div>
<% else %>
<div class="bg-[#1a1a1a] border border-[#2a2a2a] rounded-2xl p-10 text-center">