4
0
forked from crowetic/commerce

Adding description

This commit is contained in:
Belen Curcio 2020-10-12 10:02:09 -03:00
parent 6595b3de96
commit a717947ea2
3 changed files with 24 additions and 9 deletions

View File

@ -90,13 +90,29 @@ const CartSidebarView: FC = () => {
))}
</ul>
</div>
<div className="flex-shrink-0 px-4 border-t border-gray-200 py-5 sm:px-6">
<Button
width="100%"
onClick={() => {
openCheckout()
}}
>
<div className="flex-shrink-0 px-4 py-5 sm:px-6">
<div className="border-t border-gray-200">
<ul className="py-3">
<li className="flex justify-between py-1">
<span>Subtotal</span>
<span>$100</span>
</li>
<li className="flex justify-between py-1">
<span>Taxes</span>
<span>$9.99</span>
</li>
<li className="flex justify-between py-1">
<span>Estimated Shipping</span>
<span>FREE</span>
</li>
</ul>
<div className="flex justify-between border-t border-gray-300 py-3 font-bold mb-10">
<span>Total</span>
<span>$1320.23</span>
</div>
</div>
<Button width="100%" onClick={() => openCheckout()}>
Proceed to Checkout
</Button>
</div>

View File

@ -66,7 +66,7 @@
}
.productTitle {
@apply p-3 h-14 bg-white text-black font-bold text-lg truncate leading-8 inline-flex;
@apply p-3 h-14 bg-white text-black font-bold text-xl truncate leading-8 inline-flex;
max-width: calc(100% - 50px);
@screen lg {

View File

@ -16,7 +16,6 @@ interface ProductData {
colors?: any[]
sizes?: any[]
}
interface Props {
className?: string
children?: any