diff --git a/app/components/button_component.html.erb b/app/components/button_component.html.erb
index 5b505ff44..3bcd79c52 100644
--- a/app/components/button_component.html.erb
+++ b/app/components/button_component.html.erb
@@ -7,7 +7,7 @@
data: data,
class: classes do %>
<%- if @icon.present? %>
- <%= render SvgComponent.new(icon: @icon, classes: "w-6 h-6 inline-block") %>
+ <%= render SvgComponent.new(icon: @icon, classes: "w-6 h-6 inline-block", scheme: :primary) %>
<% end -%>
<%= @label %>
<% end %>
diff --git a/app/furniture/marketplace/carts/_footer.html.erb b/app/furniture/marketplace/carts/_footer.html.erb
index ef2b499de..122b46e22 100644
--- a/app/furniture/marketplace/carts/_footer.html.erb
+++ b/app/furniture/marketplace/carts/_footer.html.erb
@@ -8,14 +8,11 @@
<%= render "marketplace/carts/total", cart: cart %>
- <%- if cart.ready_for_checkout? %>
- <%= button_to("Checkout", cart.location(child: :checkout), data: { turbo: false }) %>
- <%- end %>
|
-
- <%= render cart.delivery %>
+ |
+ <%= render ButtonComponent.new(label: "Checkout", href: cart.location(child: :checkout), scheme: :primary) %>
|
diff --git a/app/furniture/marketplace/checkouts/show.html.erb b/app/furniture/marketplace/checkouts/show.html.erb
new file mode 100644
index 000000000..961dc4427
--- /dev/null
+++ b/app/furniture/marketplace/checkouts/show.html.erb
@@ -0,0 +1,3 @@
+
+
FUCK THIS
+
diff --git a/app/furniture/marketplace/checkouts_controller.rb b/app/furniture/marketplace/checkouts_controller.rb
index 8d3fc0788..16c839057 100644
--- a/app/furniture/marketplace/checkouts_controller.rb
+++ b/app/furniture/marketplace/checkouts_controller.rb
@@ -18,6 +18,11 @@ def create
end
end
+ def show
+ authorize(checkout)
+
+ end
+
helper_method def checkout
@checkout ||= Checkout.new(cart: cart)
end