From 0186e50b20ae789fbbfcfcef9cd14e0eeae1e863 Mon Sep 17 00:00:00 2001 From: 65160381 <65160381@go.buu.ac.th> Date: Tue, 25 Mar 2025 03:28:05 +0700 Subject: [PATCH] Revert "8.6" This reverts commit 7dc2e85fe54ab5a6b7f19de57a9e87febffca470. --- public/cart.html | 4 ++-- public/checkout.html | 6 ++---- public/styles/home.css | 13 ------------- 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/public/cart.html b/public/cart.html index 0a23d78..4f90180 100644 --- a/public/cart.html +++ b/public/cart.html @@ -15,10 +15,10 @@ <!-- Cart items will be dynamically loaded here --> </div> - <button > + <button> <div class="checkout" onclick="goToCheckout()">Checkout</div> </button> - + <footer> <p>© 2025 ASA</p> diff --git a/public/checkout.html b/public/checkout.html index feb2bd8..3780870 100644 --- a/public/checkout.html +++ b/public/checkout.html @@ -14,12 +14,10 @@ <div class="cart-items" id="cart-items"> <!-- Cart items will be dynamically loaded here --> </div> - <button > - <div class="checkout-button" onclick="processCheckout()">Confirm and Checkout</div> - </button> + <footer> <p>© 2025 ASA</p> - + <div class="checkout-button" onclick="processCheckout()">Confirm and Checkout</div> </footer> <script> diff --git a/public/styles/home.css b/public/styles/home.css index fa77f24..e30a3b8 100644 --- a/public/styles/home.css +++ b/public/styles/home.css @@ -13,19 +13,6 @@ body { min-height: 100vh; } -button { - width: 100%; - padding: 15px; - background-color: #ff7e5f; - color: white; - font-size: 18px; - font-weight: 500; - border: none; - border-radius: 8px; - cursor: pointer; - transition: background-color 0.3s ease; -} - /* Header */ header { width: 100%; -- GitLab