diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb index 4b480bf..a74e1c5 100755 --- a/app/views/events/index.html.erb +++ b/app/views/events/index.html.erb @@ -8,40 +8,19 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to events_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Événements - <% end %> + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + Événements + + diff --git a/app/views/orders/checkout.html.erb b/app/views/orders/checkout.html.erb index f5d9473..1139d96 100644 --- a/app/views/orders/checkout.html.erb +++ b/app/views/orders/checkout.html.erb @@ -1,30 +1,35 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to events_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Événements - <% end %> - - - - <%= link_to @order.event.name, event_path(@order.event.slug, @order.event), class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - <%= @order.event.name %> - <% end %> - - - - Commande #<%= @order.id %> + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Événements", events_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + <%= link_to @order.event.name, event_path(@order.event.slug, @order.event), class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Commande #<%= @order.id %> + + diff --git a/app/views/orders/index.html.erb b/app/views/orders/index.html.erb index 85b5c69..bc13008 100644 --- a/app/views/orders/index.html.erb +++ b/app/views/orders/index.html.erb @@ -1,23 +1,26 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to dashboard_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Tableau de bord - <% end %> - - - - Toutes mes commandes + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Tableau de bord", dashboard_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Toutes mes commandes + + diff --git a/app/views/orders/new.html.erb b/app/views/orders/new.html.erb index c4dfe34..e048113 100644 --- a/app/views/orders/new.html.erb +++ b/app/views/orders/new.html.erb @@ -1,31 +1,34 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to events_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Événements - <% end %> - - - - <%= link_to @event.name, event_path(@event.slug, @event), class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - <%= @event.name %> - <% end %> - - - - - Nouvelle commande + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Événements", events_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + <%= link_to @event.name, event_path(@event.slug, @event), class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Nouvelle commande + diff --git a/app/views/orders/payment_cancel.html.erb b/app/views/orders/payment_cancel.html.erb index 09d3c8d..68a33e4 100644 --- a/app/views/orders/payment_cancel.html.erb +++ b/app/views/orders/payment_cancel.html.erb @@ -1,24 +1,27 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to dashboard_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Tableau de bord - <% end %> - - - - Commande #<%= @order&.id || 'Inconnue' %> + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Tableau de bord", dashboard_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Commande #<%= @order&.id || 'Inconnue' %> + + diff --git a/app/views/orders/payment_success.html.erb b/app/views/orders/payment_success.html.erb index ee2cf58..8315e12 100644 --- a/app/views/orders/payment_success.html.erb +++ b/app/views/orders/payment_success.html.erb @@ -1,24 +1,27 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to dashboard_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Tableau de bord - <% end %> - - - - Commande #<%= @order.id %> + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Tableau de bord", dashboard_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Commande #<%= @order.id %> + + diff --git a/app/views/orders/show.html.erb b/app/views/orders/show.html.erb index 92744f2..554bded 100644 --- a/app/views/orders/show.html.erb +++ b/app/views/orders/show.html.erb @@ -1,24 +1,27 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to dashboard_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Tableau de bord - <% end %> - - - - Commande #<%= @order.id %> + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Tableau de bord", dashboard_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Commande #<%= @order.id %> + + diff --git a/app/views/tickets/show.html.erb b/app/views/tickets/show.html.erb index 3114d75..840c3c2 100644 --- a/app/views/tickets/show.html.erb +++ b/app/views/tickets/show.html.erb @@ -1,30 +1,35 @@ - - - <%= link_to root_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - - - - Accueil - <% end %> - - - - <%= link_to dashboard_path, class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Tableau de bord - <% end %> - - - - <%= link_to "Commande ##{@order.id}", order_path(@order), class: "text-gray-500 hover:text-purple-600 transition-colors" do %> - Commande #<%= @order.id %> - <% end %> - - - - Billet #<%= @ticket.id %> + + + + <%= link_to "Accueil", root_path, class: "inline-flex items-center text-sm font-medium text-gray-700 hover:text-purple-600" %> + + + + + + + <%= link_to "Tableau de bord", dashboard_path, class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + <%= link_to "Commande ##{@order.id}", order_path(@order), class: "ml-1 text-sm font-medium text-gray-700 hover:text-purple-600 md:ml-2" %> + + + + + + + + Billet #<%= @ticket.id %> + +