-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.html
More file actions
11 lines (11 loc) · 1.02 KB
/
add.html
File metadata and controls
11 lines (11 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
<div id="cart_list" hx-swap-oob="beforeend" class="flex flex-col gap-4">
@for item in cart
@include 'render_cart.html'
@end
</div>
<a id="cart_cta@id" hx-boost="true" href="/checkout" class="rounded-lg bg-orange-400 px-4 py-2 w-max self-center mb-8 flex items-center gap-1 hover:bg-orange-300 hover:shadow-xl cursor-pointer">
<span class="inline">Checkout</span>
<svg class="h-6 w-6 inline" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M8.25 18.75a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 01-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 00-3.213-9.193 2.056 2.056 0 00-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 00-10.026 0 1.106 1.106 0 00-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</a>