chore: Remove links to non working themes
This commit is contained in:
@@ -152,6 +152,11 @@ class OrdersController < ApplicationController
|
||||
return
|
||||
end
|
||||
|
||||
# For POST requests, increment the payment attempt counter
|
||||
if request.post?
|
||||
@order.increment_payment_attempt!
|
||||
end
|
||||
|
||||
redirect_to checkout_order_path(@order)
|
||||
end
|
||||
|
||||
|
||||
@@ -11,18 +11,13 @@
|
||||
<div class="hidden sm:flex items-center space-x-8 w-full justify-center">
|
||||
<%= link_to events_path,
|
||||
class: "text-gray-700 hover:text-brand-primary py-2 text-sm font-medium transition-colors duration-200 relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 hover:after:w-full after:bg-brand-primary after:transition-all after:duration-200" do %>
|
||||
Événements
|
||||
Événements & Afterworks
|
||||
<% end %>
|
||||
|
||||
<%= link_to events_path,
|
||||
class: "text-gray-700 hover:text-brand-primary py-2 text-sm font-medium transition-colors duration-200 relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 hover:after:w-full after:bg-brand-primary after:transition-all after:duration-200" do %>
|
||||
Afterworks
|
||||
<% end %>
|
||||
|
||||
<%= link_to "#",
|
||||
<!-- <%= link_to "#",
|
||||
class: "text-gray-700 hover:text-brand-primary py-2 text-sm font-medium transition-colors duration-200 relative after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-0 hover:after:w-full after:bg-brand-primary after:transition-all after:duration-200" do %>
|
||||
Concerts
|
||||
<% end %>
|
||||
<% end %> -->
|
||||
</div>
|
||||
|
||||
<!-- Authentication -->
|
||||
@@ -88,18 +83,18 @@
|
||||
<%= link_to events_path,
|
||||
class: "flex items-center px-3 py-2 rounded-lg text-base font-medium text-gray-700 hover:text-brand-primary hover:bg-gray-50" do %>
|
||||
<i data-lucide="calendar" class="w-4 h-4 mr-3"></i>
|
||||
Événements
|
||||
Événements & Afterworks
|
||||
<% end %>
|
||||
<%= link_to events_path,
|
||||
<!-- <%= link_to events_path,
|
||||
class: "flex items-center px-3 py-2 rounded-lg text-base font-medium text-gray-700 hover:text-brand-primary hover:bg-gray-50" do %>
|
||||
<i data-lucide="glass-water" class="w-4 h-4 mr-3"></i>
|
||||
Afterworks
|
||||
<% end %>
|
||||
<%= link_to "#",
|
||||
<% end %> -->
|
||||
<!-- <%= link_to "#",
|
||||
class: "flex items-center px-3 py-2 rounded-lg text-base font-medium text-gray-700 hover:text-brand-primary hover:bg-gray-50" do %>
|
||||
<i data-lucide="music" class="w-4 h-4 mr-3"></i>
|
||||
Concerts
|
||||
<% end %>
|
||||
<% end %> -->
|
||||
</div>
|
||||
|
||||
<div class="pt-4 pb-4 border-t border-gray-200">
|
||||
@@ -145,4 +140,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user