Upload 3 files
Browse files- forms.html +77 -0
- index.html +927 -0
- tt.html +291 -0
forms.html
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="vi">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Gadget Form</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
|
| 8 |
+
<style>
|
| 9 |
+
* {
|
| 10 |
+
box-sizing: border-box;
|
| 11 |
+
margin: 0;
|
| 12 |
+
padding: 0;
|
| 13 |
+
}
|
| 14 |
+
body {
|
| 15 |
+
font-family: 'Poppins', sans-serif;
|
| 16 |
+
display: flex;
|
| 17 |
+
justify-content: center;
|
| 18 |
+
align-items: center;
|
| 19 |
+
min-height: 100vh;
|
| 20 |
+
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
|
| 21 |
+
background-size: 400% 400%;
|
| 22 |
+
animation: gradient 15s ease infinite;
|
| 23 |
+
padding: 20px;
|
| 24 |
+
}
|
| 25 |
+
@keyframes gradient {
|
| 26 |
+
0% { background-position: 0% 50%; }
|
| 27 |
+
50% { background-position: 100% 50%; }
|
| 28 |
+
100% { background-position: 0% 50%; }
|
| 29 |
+
}
|
| 30 |
+
.form-container {
|
| 31 |
+
background: rgba(255, 255, 255, 0.1);
|
| 32 |
+
backdrop-filter: blur(10px);
|
| 33 |
+
padding: 30px;
|
| 34 |
+
border-radius: 16px;
|
| 35 |
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
| 36 |
+
border: 1px solid rgba(255, 255, 255, 0.18);
|
| 37 |
+
width: 100%;
|
| 38 |
+
max-width: 800px;
|
| 39 |
+
text-align: center;
|
| 40 |
+
}
|
| 41 |
+
h2 {
|
| 42 |
+
color: #fff;
|
| 43 |
+
margin-bottom: 20px;
|
| 44 |
+
font-size: 28px;
|
| 45 |
+
font-weight: 600;
|
| 46 |
+
}
|
| 47 |
+
iframe {
|
| 48 |
+
width: 100%;
|
| 49 |
+
height: 600px;
|
| 50 |
+
border: none;
|
| 51 |
+
border-radius: 12px;
|
| 52 |
+
background-color: white;
|
| 53 |
+
}
|
| 54 |
+
.back-btn {
|
| 55 |
+
margin-top: 20px;
|
| 56 |
+
padding: 12px 24px;
|
| 57 |
+
background: #ff6b6b;
|
| 58 |
+
color: #fff;
|
| 59 |
+
border: none;
|
| 60 |
+
border-radius: 8px;
|
| 61 |
+
font-size: 16px;
|
| 62 |
+
cursor: pointer;
|
| 63 |
+
transition: background 0.3s ease;
|
| 64 |
+
}
|
| 65 |
+
.back-btn:hover {
|
| 66 |
+
background: #cc5555;
|
| 67 |
+
}
|
| 68 |
+
</style>
|
| 69 |
+
</head>
|
| 70 |
+
<body>
|
| 71 |
+
<div class="form-container">
|
| 72 |
+
<h2>Gadget Form</h2>
|
| 73 |
+
<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSevMp42F9h4r6efgDzKQHdyei0GVz4KeZxXzZ0OzFXsgmkUlA/viewform?usp=header" allowfullscreen></iframe>
|
| 74 |
+
<button class="back-btn" onclick="window.location.href='index.html'">Quay về Trang Chủ</button>
|
| 75 |
+
</div>
|
| 76 |
+
</body>
|
| 77 |
+
</html>
|
index.html
ADDED
|
@@ -0,0 +1,927 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
|
| 3 |
+
<html lang="en">
|
| 4 |
+
<head>
|
| 5 |
+
<meta charset="utf-8"/>
|
| 6 |
+
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
| 7 |
+
<title>GadgetHub - Premium Phone Accessories</title>
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"/>
|
| 10 |
+
<style>
|
| 11 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 12 |
+
|
| 13 |
+
body {
|
| 14 |
+
font-family: 'Poppins', sans-serif;
|
| 15 |
+
background-color: #f8fafc;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.gradient-bg {
|
| 19 |
+
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.product-card:hover {
|
| 23 |
+
transform: translateY(-5px);
|
| 24 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.product-card {
|
| 28 |
+
transition: all 0.3s ease;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.cart-badge {
|
| 32 |
+
position: absolute;
|
| 33 |
+
top: -8px;
|
| 34 |
+
right: -8px;
|
| 35 |
+
font-size: 10px;
|
| 36 |
+
width: 18px;
|
| 37 |
+
height: 18px;
|
| 38 |
+
display: flex;
|
| 39 |
+
align-items: center;
|
| 40 |
+
justify-content: center;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.dropdown:hover .dropdown-menu {
|
| 44 |
+
display: block;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.toast-notification {
|
| 48 |
+
position: fixed;
|
| 49 |
+
bottom: 20px;
|
| 50 |
+
right: 20px;
|
| 51 |
+
background: rgba(0,0,0,0.8);
|
| 52 |
+
color: white;
|
| 53 |
+
padding: 1rem;
|
| 54 |
+
border-radius: 0.5rem;
|
| 55 |
+
z-index: 1000;
|
| 56 |
+
display: none;
|
| 57 |
+
animation: slideIn 0.5s ease-out;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
@keyframes slideIn {
|
| 61 |
+
from {
|
| 62 |
+
transform: translateX(100%);
|
| 63 |
+
opacity: 0;
|
| 64 |
+
}
|
| 65 |
+
to {
|
| 66 |
+
transform: translateX(0);
|
| 67 |
+
opacity: 1;
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
</head>
|
| 72 |
+
<body>
|
| 73 |
+
<!-- Top Announcement Bar -->
|
| 74 |
+
<div class="bg-indigo-900 text-white text-sm py-1 px-4 text-center">
|
| 75 |
+
🚀 Free shipping on all orders over $50 | Use code: GADGET10 for 10% off
|
| 76 |
+
</div>
|
| 77 |
+
<!-- Navigation -->
|
| 78 |
+
<nav class="bg-white shadow-sm sticky top-0 z-50">
|
| 79 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 80 |
+
<div class="flex justify-between h-16">
|
| 81 |
+
<div class="flex items-center">
|
| 82 |
+
<!-- Logo -->
|
| 83 |
+
<div class="flex-shrink-0 flex items-center">
|
| 84 |
+
<i class="fas fa-mobile-alt text-indigo-600 text-2xl mr-2"></i>
|
| 85 |
+
<span class="text-xl font-bold text-gray-800">GadgetHub</span>
|
| 86 |
+
</div>
|
| 87 |
+
<!-- Desktop Navigation -->
|
| 88 |
+
<div class="hidden md:ml-8 md:flex md:space-x-8">
|
| 89 |
+
<a class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium" href="#">Home</a>
|
| 90 |
+
<div class="dropdown relative">
|
| 91 |
+
<button class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium">
|
| 92 |
+
Categories <i class="fas fa-chevron-down ml-1 text-xs"></i>
|
| 93 |
+
</button>
|
| 94 |
+
<div class="dropdown-menu absolute hidden mt-2 w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 z-50">
|
| 95 |
+
<div class="py-1">
|
| 96 |
+
<a class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100" href="#">Phone Cases</a>
|
| 97 |
+
<a class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100" href="#">Screen Protectors</a>
|
| 98 |
+
<a class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100" href="#">Chargers & Cables</a>
|
| 99 |
+
<a class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100" href="#">Headphones</a>
|
| 100 |
+
<a class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100" href="#">Accessories</a>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
<a class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium" href="#">New Arrivals</a>
|
| 105 |
+
<a class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium" href="#">Deals</a><a class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium" href="forms.html"><i class="fas fa-edit mr-1"></i> Form</a>
|
| 106 |
+
<a class="text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 text-sm font-medium" href="#">About</a>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
<!-- Right side icons -->
|
| 110 |
+
<div class="flex items-center">
|
| 111 |
+
<div class="flex-shrink-0 flex items-center space-x-4">
|
| 112 |
+
<div class="relative">
|
| 113 |
+
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none" id="search-btn">
|
| 114 |
+
<i class="fas fa-search h-6 w-6"></i>
|
| 115 |
+
</button>
|
| 116 |
+
<div class="hidden absolute right-0 mt-2 w-72 bg-white rounded-md shadow-lg z-50" id="search-bar">
|
| 117 |
+
<input class="w-full px-4 py-2 rounded-md border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500" placeholder="Search for products..." type="text"/>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
<a class="p-1 rounded-full text-gray-400 hover:text-gray-500" href="#">
|
| 121 |
+
<i class="far fa-user h-6 w-6"></i>
|
| 122 |
+
</a>
|
| 123 |
+
<div class="relative">
|
| 124 |
+
<a class="p-1 rounded-full text-gray-400 hover:text-gray-500" href="#" id="cart-btn">
|
| 125 |
+
<i class="fas fa-shopping-cart h-6 w-6"></i>
|
| 126 |
+
<span class="cart-badge bg-red-500 text-white rounded-full">0</span>
|
| 127 |
+
</a>
|
| 128 |
+
</div>
|
| 129 |
+
</div>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
</nav>
|
| 134 |
+
<!-- Cart Modal -->
|
| 135 |
+
<div aria-modal="true" class="hidden fixed inset-0 z-50 overflow-y-auto" id="cart-modal">
|
| 136 |
+
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
|
| 137 |
+
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>
|
| 138 |
+
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
|
| 139 |
+
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
|
| 140 |
+
<div class="sm:flex sm:items-start">
|
| 141 |
+
<div class="w-full">
|
| 142 |
+
<h3 class="text-lg font-medium leading-6 text-gray-900 mb-4">Shopping Cart</h3>
|
| 143 |
+
<div class="space-y-4" id="cart-items">
|
| 144 |
+
<!-- Cart items will be inserted here -->
|
| 145 |
+
</div>
|
| 146 |
+
<div class="mt-4 border-t pt-4">
|
| 147 |
+
<div class="flex justify-between">
|
| 148 |
+
<span class="font-bold">Total:</span>
|
| 149 |
+
<span class="font-bold" id="cart-total">$0.00</span>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
|
| 156 |
+
<button class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-indigo-600 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none sm:ml-3 sm:w-auto sm:text-sm" type="button">
|
| 157 |
+
Checkout
|
| 158 |
+
</button>
|
| 159 |
+
<button class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm" id="close-cart" type="button">
|
| 160 |
+
Close
|
| 161 |
+
</button>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
<!-- Hero Section -->
|
| 167 |
+
<div class="gradient-bg text-white">
|
| 168 |
+
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
|
| 169 |
+
<div class="text-center">
|
| 170 |
+
<h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
|
| 171 |
+
Upgrade Your Mobile Experience
|
| 172 |
+
</h1>
|
| 173 |
+
<p class="mt-6 max-w-lg mx-auto text-xl">
|
| 174 |
+
Premium phone accessories designed to protect, enhance, and personalize your devices.
|
| 175 |
+
</p>
|
| 176 |
+
<div class="mt-10">
|
| 177 |
+
<a class="inline-block bg-white text-indigo-600 py-3 px-8 rounded-md text-lg font-medium hover:bg-gray-100 transition duration-300" href="#">
|
| 178 |
+
Shop Now
|
| 179 |
+
</a>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</div>
|
| 184 |
+
<!-- Featured Categories -->
|
| 185 |
+
<div class="max-w-7xl mx-auto py-12 px-4 sm:py-16 sm:px-6 lg:px-8">
|
| 186 |
+
<h2 class="text-2xl font-bold text-gray-900 mb-8">Shop by Category</h2>
|
| 187 |
+
<div class="grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-5">
|
| 188 |
+
<a class="group relative bg-white rounded-lg overflow-hidden shadow-sm p-6 text-center hover:shadow-md transition duration-300" href="#">
|
| 189 |
+
<div class="mx-auto h-16 w-16 flex items-center justify-center rounded-full bg-indigo-50">
|
| 190 |
+
<img alt="Phone Cases" class="h-16 w-16 object-contain" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=64&q=80"/>
|
| 191 |
+
</div>
|
| 192 |
+
<h3 class="mt-4 text-sm font-medium text-gray-900">Phone Cases</h3>
|
| 193 |
+
<p class="mt-1 text-xs text-gray-500">200+ products</p>
|
| 194 |
+
</a>
|
| 195 |
+
<a class="group relative bg-white rounded-lg overflow-hidden shadow-sm p-6 text-center hover:shadow-md transition duration-300" href="#">
|
| 196 |
+
<div class="mx-auto h-16 w-16 flex items-center justify-center rounded-full bg-indigo-50">
|
| 197 |
+
<img alt="Screen Protectors" class="h-16 w-16 object-contain" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=64&q=80"/>
|
| 198 |
+
</div>
|
| 199 |
+
<h3 class="mt-4 text-sm font-medium text-gray-900">Screen Protectors</h3>
|
| 200 |
+
<p class="mt-1 text-xs text-gray-500">150+ products</p>
|
| 201 |
+
</a>
|
| 202 |
+
<a class="group relative bg-white rounded-lg overflow-hidden shadow-sm p-6 text-center hover:shadow-md transition duration-300" href="#">
|
| 203 |
+
<div class="mx-auto h-16 w-16 flex items-center justify-center rounded-full bg-indigo-50">
|
| 204 |
+
<i class="fas fa-bolt text-indigo-600 text-xl"></i>
|
| 205 |
+
</div>
|
| 206 |
+
<h3 class="mt-4 text-sm font-medium text-gray-900">Chargers</h3>
|
| 207 |
+
<p class="mt-1 text-xs text-gray-500">80+ products</p>
|
| 208 |
+
</a>
|
| 209 |
+
<a class="group relative bg-white rounded-lg overflow-hidden shadow-sm p-6 text-center hover:shadow-md transition duration-300" href="#">
|
| 210 |
+
<div class="mx-auto h-16 w-16 flex items-center justify-center rounded-full bg-indigo-50">
|
| 211 |
+
<i class="fas fa-headphones text-indigo-600 text-xl"></i>
|
| 212 |
+
</div>
|
| 213 |
+
<h3 class="mt-4 text-sm font-medium text-gray-900">Headphones</h3>
|
| 214 |
+
<p class="mt-1 text-xs text-gray-500">120+ products</p>
|
| 215 |
+
</a>
|
| 216 |
+
<a class="group relative bg-white rounded-lg overflow-hidden shadow-sm p-6 text-center hover:shadow-md transition duration-300" href="#">
|
| 217 |
+
<div class="mx-auto h-16 w-16 flex items-center justify-center rounded-full bg-indigo-50">
|
| 218 |
+
<i class="fas fa-plug text-indigo-600 text-xl"></i>
|
| 219 |
+
</div>
|
| 220 |
+
<h3 class="mt-4 text-sm font-medium text-gray-900">Cables</h3>
|
| 221 |
+
<p class="mt-1 text-xs text-gray-500">90+ products</p>
|
| 222 |
+
</a>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
<!-- Popular Products -->
|
| 226 |
+
<div class="bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">
|
| 227 |
+
<div class="max-w-7xl mx-auto">
|
| 228 |
+
<div class="flex justify-between items-center mb-8">
|
| 229 |
+
<h2 class="text-2xl font-bold text-gray-900">Popular Products</h2>
|
| 230 |
+
<a class="text-indigo-600 hover:text-indigo-800 font-medium" href="#">View all</a>
|
| 231 |
+
</div>
|
| 232 |
+
<div class="grid grid-cols-1 gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8">
|
| 233 |
+
<!-- Product 1 -->
|
| 234 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 235 |
+
<div class="relative">
|
| 236 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 237 |
+
<img alt="Clear Phone Case" class="w-full h-full object-center object-cover" src="https://cdn11.bigcommerce.com/s-ow8tzhpoo1/images/stencil/1920w/products/185/1153/Ultra_Thin_Soft_Clear_Cover_Case_Apple_iPhone_12_Pro_Max_Mini_11_X_Xr_Xs_7_8_SE_d__20070.1628083834.png?c=1"/>
|
| 238 |
+
</div>
|
| 239 |
+
<div class="absolute top-2 right-2">
|
| 240 |
+
<button class="p-1 bg-white rounded-full shadow-md text-gray-400 hover:text-red-500">
|
| 241 |
+
<i class="far fa-heart"></i>
|
| 242 |
+
</button>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
<div class="mt-4">
|
| 246 |
+
<h3 class="text-sm font-medium text-gray-900">Ultra-Thin Clear Case</h3>
|
| 247 |
+
<p class="mt-1 text-xs text-gray-500">For iPhone 14 Pro Max</p>
|
| 248 |
+
</div>
|
| 249 |
+
<div class="mt-4 flex justify-between items-center">
|
| 250 |
+
<span class="text-lg font-bold text-gray-900">479,000₫</span>
|
| 251 |
+
<button class="bg-indigo-600 text-white px-3 py-1 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 252 |
+
Add to Cart
|
| 253 |
+
</button>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
<!-- Product 2 -->
|
| 257 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 258 |
+
<div class="relative">
|
| 259 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 260 |
+
<img alt="Tempered Glass" class="w-full h-full object-center object-cover" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAsJCQcJCQcJCQkJCwkJCQkJCQsJCwsMCwsLDA0QDBEODQ4MEhkSJRodJR0ZHxwpKRYlNzU2GioyPi0pMBk7IRP/2wBDAQcICAsJCxULCxUsHRkdLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCz/wAARCAC0AMMDASIAAhEBAxEB/8QAHAAAAQQDAQAAAAAAAAAAAAAAAAMEBQYBAgcI/8QAVhAAAgEDAgMDBAsMBgcGBwAAAQIDAAQRBSEGEjETQVEUImFxBzI0UnJzgZGSsbIVFiMkMzVCdKG10fBTVaLB0uEXJSZDY4LxREVig6XCVGR1k6SztP/EABsBAAICAwEAAAAAAAAAAAAAAAACAwQBBQYH/8QAOxEAAgEDAQQGBwcCBwAAAAAAAAECAwQRIQUSMVEGEzJBcbEUNGFygZHRFiJCUqHB8BXSIyUzYoLh8f/aAAwDAQACEQMRAD8A63SElzBE/I7ENgHZSdj6qXqIvT+MP6FQfszWj25tCps+266kk3lLX4k1GCnLDHvltp78/Rajy209+fotUTRX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UO3lUxJf1LuB6s93TuFjj4F4riDdnrelJzbsV0vBJ9PnVhuBOLGbmbXtNZvE6c3+Os06fVrCHlUUnlkDfWtuWkEwuJE7JLibEhjjQBuzQKQe0PXcbDGB6sxXdjEiiIRRnlAGAA+AABzE5P7anp+BOK7hI45Nc0vlSRpfN0wgs5Xlyx5t8d3hTJ/Yz4ieUSnX7MNyGPAs5AnKf/AA8+M+mpIx0xIV1MPMRi05cZUls94z19GKYXVp2/nX14/YIUK2+URObBwxRRknvGelWYcAcUqqomu6aiKoRVTT2AA6Y9vmkP9GvEZd3bX7FuZucq9i5X2oXGC/TAFZisCym5cSvWsFnavBGnNHBI2WclpGIJALbkk02sZbrV9VW2BYp5bp+nwIqELG8uow3JHKN8qkLM59Hh1tX+jPiB5ZJH4jtozKixs8Ni5ZVUbcgMgA+QirLwxwNpvDcpuTdTXtygkFs86JGlsJVCytGi589sAFiScAAYGeZnqJnTBbqKKKwYCiiigDFaPDA55njRjjGWUE0UUk4RmsSWUGcGvk9r/QxfQFZ7C3/oo/oiiio1b0lwgvkjO8+Ydhb/ANFH9EUeT239DF9AUUVnqKX5V8gyw7C2/oYvoLWeyhH+6j+itFFZ6mmvwr5Blm3JH7xPoijlT3q/MKKKbcjyDIcq+9X5hWcAdAB6qKKbdSMGaxRRWQCiiigDNYoooAKKKKAM1iiigAooooAKKKKAP//Z"/>
|
| 261 |
+
</div>
|
| 262 |
+
<div class="absolute top-2 right-2">
|
| 263 |
+
<button class="p-1 bg-white rounded-full shadow-md text-gray-400 hover:text-red-500">
|
| 264 |
+
<i class="far fa-heart"></i>
|
| 265 |
+
</button>
|
| 266 |
+
</div>
|
| 267 |
+
</div>
|
| 268 |
+
<div class="mt-4">
|
| 269 |
+
<h3 class="text-sm font-medium text-gray-900">9H Tempered Glass</h3>
|
| 270 |
+
<p class="mt-1 text-xs text-gray-500">For Samsung S23 Ultra</p>
|
| 271 |
+
</div>
|
| 272 |
+
<div class="mt-4 flex justify-between items-center">
|
| 273 |
+
<span class="text-lg font-bold text-gray-900">299,000₫</span>
|
| 274 |
+
<button class="bg-indigo-600 text-white px-3 py-1 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 275 |
+
Add to Cart
|
| 276 |
+
</button>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
<!-- Product 3 -->
|
| 280 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 281 |
+
<div class="relative">
|
| 282 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 283 |
+
<img alt="Wireless Charger" class="w-full h-full object-center object-cover" src="https://th.bing.com/th/id/OIP.5k1N_wLi38Z9rkPO-BX3sQHaHa?w=180&h=180&c=7&r=0&o=5&cb=iwc2&pid=1.7"/>
|
| 284 |
+
</div>
|
| 285 |
+
<div class="absolute top-2 right-2">
|
| 286 |
+
<button class="p-1 bg-white rounded-full shadow-md text-gray-400 hover:text-red-500">
|
| 287 |
+
<i class="far fa-heart"></i>
|
| 288 |
+
</button>
|
| 289 |
+
</div>
|
| 290 |
+
</div>
|
| 291 |
+
<div class="mt-4">
|
| 292 |
+
<h3 class="text-sm font-medium text-gray-900">Fast Wireless Charger</h3>
|
| 293 |
+
<p class="mt-1 text-xs text-gray-500">15W Qi Certified</p>
|
| 294 |
+
</div>
|
| 295 |
+
<div class="mt-4 flex justify-between items-center">
|
| 296 |
+
<span class="text-lg font-bold text-gray-900">699,000₫</span>
|
| 297 |
+
<button class="bg-indigo-600 text-white px-3 py-1 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 298 |
+
Add to Cart
|
| 299 |
+
</button>
|
| 300 |
+
</div>
|
| 301 |
+
</div>
|
| 302 |
+
<!-- Product 4 -->
|
| 303 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 304 |
+
<div class="relative">
|
| 305 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 306 |
+
<img alt="Wireless Earbuds" class="w-full h-full object-center object-cover" src="https://th.bing.com/th/id/OIP.W2uMzjsyyGuo49z_EBx37wHaHa?w=174&h=180&c=7&r=0&o=5&cb=iwc2&pid=1.7"/>
|
| 307 |
+
</div>
|
| 308 |
+
<div class="absolute top-2 right-2">
|
| 309 |
+
<button class="p-1 bg-white rounded-full shadow-md text-gray-400 hover:text-red-500">
|
| 310 |
+
<i class="far fa-heart"></i>
|
| 311 |
+
</button>
|
| 312 |
+
</div>
|
| 313 |
+
</div>
|
| 314 |
+
<div class="mt-4">
|
| 315 |
+
<h3 class="text-sm font-medium text-gray-900">Pro Wireless Earbuds</h3>
|
| 316 |
+
<p class="mt-1 text-xs text-gray-500">Active Noise Cancelling</p>
|
| 317 |
+
</div>
|
| 318 |
+
<div class="mt-4 flex justify-between items-center">
|
| 319 |
+
<span class="text-lg font-bold text-gray-900">$79.99</span>
|
| 320 |
+
<button class="bg-indigo-600 text-white px-3 py-1 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 321 |
+
Add to Cart
|
| 322 |
+
</button>
|
| 323 |
+
</div>
|
| 324 |
+
</div>
|
| 325 |
+
</div>
|
| 326 |
+
</div>
|
| 327 |
+
</div>
|
| 328 |
+
<!-- Used Products -->
|
| 329 |
+
<div class="bg-gray-100 py-12 px-4 sm:px-6 lg:px-8">
|
| 330 |
+
<div class="max-w-7xl mx-auto">
|
| 331 |
+
<div class="flex justify-between items-center mb-8">
|
| 332 |
+
<div>
|
| 333 |
+
<h2 class="text-2xl font-bold text-gray-900">Used Products</h2>
|
| 334 |
+
<p class="text-gray-600 mt-1">Quality checked pre-owned accessories at great prices</p>
|
| 335 |
+
</div>
|
| 336 |
+
<a class="text-indigo-600 hover:text-indigo-800 font-medium" href="#">View all</a>
|
| 337 |
+
</div>
|
| 338 |
+
<div class="grid grid-cols-1 gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8">
|
| 339 |
+
<!-- Used Product 1 -->
|
| 340 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 341 |
+
<div class="relative">
|
| 342 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 343 |
+
<img alt="Used iPhone Case" class="w-full h-full object-center object-cover" src="https://th.bing.com/th/id/OIP.73FQWK9CMxcjvFnx8_dMpgHaHa?w=196&h=197&c=7&r=0&o=5&cb=iwc2&pid=1.7"/>
|
| 344 |
+
<div class="absolute top-2 left-2 bg-yellow-500 text-white px-2 py-1 rounded-md text-xs">
|
| 345 |
+
Used - Good
|
| 346 |
+
</div>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
<div class="mt-4">
|
| 350 |
+
<h3 class="text-sm font-medium text-gray-900">iPhone 14 Pro Leather Case</h3>
|
| 351 |
+
<p class="mt-1 text-xs text-gray-500">Minor wear, 3 months old</p>
|
| 352 |
+
</div>
|
| 353 |
+
<div class="mt-4">
|
| 354 |
+
<div class="flex items-center">
|
| 355 |
+
<span class="text-lg font-bold text-gray-900">$12.50</span>
|
| 356 |
+
<span class="ml-2 text-sm text-gray-500 line-through">$25.00</span>
|
| 357 |
+
<span class="ml-2 text-xs text-green-600">50% off</span>
|
| 358 |
+
</div>
|
| 359 |
+
<div class="text-xs text-gray-500 mt-1">
|
| 360 |
+
Original price: 600,000₫ → Now: 300,000₫
|
| 361 |
+
</div>
|
| 362 |
+
<button class="mt-2 w-full bg-indigo-600 text-white px-3 py-2 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 363 |
+
Add to Cart
|
| 364 |
+
</button>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
<!-- Used Product 2 -->
|
| 368 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 369 |
+
<div class="relative">
|
| 370 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 371 |
+
<img alt="Used AirPods Pro" class="w-full h-full object-center object-cover" src="https://th.bing.com/th/id/OIP.FNCgxsLghwwMOAPuLY4lBgHaDs?w=302&h=174&c=7&r=0&o=5&cb=iwc2&pid=1.7"/>
|
| 372 |
+
<div class="absolute top-2 left-2 bg-green-500 text-white px-2 py-1 rounded-md text-xs">
|
| 373 |
+
Used - Like New
|
| 374 |
+
</div>
|
| 375 |
+
</div>
|
| 376 |
+
</div>
|
| 377 |
+
<div class="mt-4">
|
| 378 |
+
<h3 class="text-sm font-medium text-gray-900">AirPods Pro Case</h3>
|
| 379 |
+
<p class="mt-1 text-xs text-gray-500">Barely used, complete box</p>
|
| 380 |
+
</div>
|
| 381 |
+
<div class="mt-4">
|
| 382 |
+
<div class="flex items-center">
|
| 383 |
+
<span class="text-lg font-bold text-gray-900">$16.67</span>
|
| 384 |
+
<span class="ml-2 text-sm text-gray-500 line-through">$29.99</span>
|
| 385 |
+
<span class="ml-2 text-xs text-green-600">45% off</span>
|
| 386 |
+
</div>
|
| 387 |
+
<div class="text-xs text-gray-500 mt-1">
|
| 388 |
+
Original price: 720,000₫ → Now: 400,000₫
|
| 389 |
+
</div>
|
| 390 |
+
<button class="mt-2 w-full bg-indigo-600 text-white px-3 py-2 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 391 |
+
Add to Cart
|
| 392 |
+
</button>
|
| 393 |
+
</div>
|
| 394 |
+
</div>
|
| 395 |
+
<!-- Used Product 3 -->
|
| 396 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 397 |
+
<div class="relative">
|
| 398 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 399 |
+
<img alt="Used Wireless Charger" class="w-full h-full object-center object-cover" src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAsJCQcJCQcJCQkJCwkJCQkJCQsJCwsMCwsLDA0QDBEODQ4MEhkSJRodJR0ZHxwpKRYlNzU2GioyPi0pMBk7IRP/2wBDAQcICAsJCxULCxUsHRkdLCwsLC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fZ7tmI7xOvUkk+gNQ7Q6d5tP4iAfYVIiDJySM++vqulRYICcOD0HKDt70ySF1Psmkz82pyDoQSSD604ty+BiXl20DsP7oxVfzDfUZz4aelS5l0+bQYGuNKDgmFTaGpN5PVarJgO/oPm/ka9Xq0LkzsgwHZg4Geb+VejA7mg+ler1ECIHp7V0fs+9er1BjEv2hXB85HTO3SvV6gEINvpXiTg+hr1epBkdTYf8tFXUHP7ler1Ix0C1z/nwro616vVYKzp6e1Tk00G3cr1eqEBNufU11wvd0HTpXq9UIQ/aFSP7Pqa9XqICY0Ix5fpUyBy+1er1AiOqByroNj/Oojf6/wAq9XqhCWTrr4fpXVAzsNq9XqUYi/zAdM1E9fSvV6iVsiNcZ106+lQPT0Fer1RACKBk6dKY5V8B9BXq9RQT/9k="/>
|
| 400 |
+
<div class="absolute top-2 left-2 bg-yellow-500 text-white px-2 py-1 rounded-md text-xs">
|
| 401 |
+
Used - Good
|
| 402 |
+
</div>
|
| 403 |
+
</div>
|
| 404 |
+
</div>
|
| 405 |
+
<div class="mt-4">
|
| 406 |
+
<h3 class="text-sm font-medium text-gray-900">Samsung Wireless Charger</h3>
|
| 407 |
+
<p class="mt-1 text-xs text-gray-500">Light scratches, works perfect</p>
|
| 408 |
+
</div>
|
| 409 |
+
<div class="mt-4">
|
| 410 |
+
<div class="flex items-center">
|
| 411 |
+
<span class="text-lg font-bold text-gray-900">$14.58</span>
|
| 412 |
+
<span class="ml-2 text-sm text-gray-500 line-through">$24.99</span>
|
| 413 |
+
<span class="ml-2 text-xs text-green-600">42% off</span>
|
| 414 |
+
</div>
|
| 415 |
+
<div class="text-xs text-gray-500 mt-1">
|
| 416 |
+
Original price: 600,000₫ → Now: 350,000₫
|
| 417 |
+
</div>
|
| 418 |
+
<button class="mt-2 w-full bg-indigo-600 text-white px-3 py-2 rounded-md text-sm hover:bg-indigo-700 transition duration-300">
|
| 419 |
+
Add to Cart
|
| 420 |
+
</button>
|
| 421 |
+
</div>
|
| 422 |
+
</div>
|
| 423 |
+
<!-- Used Product 4 -->
|
| 424 |
+
<div class="product-card bg-white p-6 rounded-lg shadow-sm">
|
| 425 |
+
<div class="relative">
|
| 426 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden aspect-w-1 aspect-h-1">
|
| 427 |
+
<img alt="Used Power Bank" class="w-full h-full object-center object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=500&q=80"/>
|
| 428 |
+
<div class="absolute top-2 left-2 bg-green-500 text-white px-2 py-1 rounded-md text-xs">
|
| 429 |
+
Used - Like New
|
| 430 |
+
</div>
|
| 431 |
+
</div>
|
| 432 |
+
</div>
|
| 433 |
+
<div class="mt-4">
|
| 434 |
+
<div class="flex items-center">
|
| 435 |
+
<span class="text-lg font-bold text-gray-900">1,900,000₫</span>
|
| 436 |
+
<span class="ml-2 text-sm text-gray-500 line-through">2,500,000₫</span>
|
| 437 |
+
<span class="ml-2 text-xs text-green-600">24% off</span>
|
| 438 |
+
</div>
|
| 439 |
+
</div>
|
| 440 |
+
</div>
|
| 441 |
+
</div>
|
| 442 |
+
</div>
|
| 443 |
+
</div>
|
| 444 |
+
<!-- Budget Accessories -->
|
| 445 |
+
<div class="bg-white py-12 px-4 sm:px-6 lg:px-8">
|
| 446 |
+
<div class="max-w-7xl mx-auto">
|
| 447 |
+
<div class="flex justify-between items-center mb-8">
|
| 448 |
+
<div>
|
| 449 |
+
<h2 class="text-2xl font-bold text-gray-900">Budget Accessories</h2>
|
| 450 |
+
<p class="text-gray-600 mt-1">Affordable charging cables and adapters</p>
|
| 451 |
+
</div>
|
| 452 |
+
<a class="text-indigo-600 hover:text-indigo-800 font-medium" href="#">View all</a>
|
| 453 |
+
</div>
|
| 454 |
+
<div class="grid grid-cols-2 gap-y-10 gap-x-6 sm:grid-cols-3 lg:grid-cols-6 xl:gap-x-8">
|
| 455 |
+
<!-- Budget Item 1 -->
|
| 456 |
+
<div class="product-card bg-white p-4 rounded-lg shadow-sm border">
|
| 457 |
+
<div class="relative">
|
| 458 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden">
|
| 459 |
+
<img alt="Type C Cable" class="w-full h-32 object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=200&q=80"/>
|
| 460 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white px-2 py-1 rounded-md text-xs">
|
| 461 |
+
Sale
|
| 462 |
+
</div>
|
| 463 |
+
</div>
|
| 464 |
+
</div>
|
| 465 |
+
<div class="mt-2">
|
| 466 |
+
<h3 class="text-sm font-medium text-gray-900">Type C Cable</h3>
|
| 467 |
+
<div class="mt-1 flex justify-between items-center">
|
| 468 |
+
<div>
|
| 469 |
+
<span class="text-sm font-bold text-gray-900">10,000₫</span>
|
| 470 |
+
<span class="ml-2 text-xs text-red-600">-70%</span>
|
| 471 |
+
</div>
|
| 472 |
+
<button class="bg-indigo-600 text-white px-2 py-1 rounded-md text-xs hover:bg-indigo-700">
|
| 473 |
+
Add
|
| 474 |
+
</button>
|
| 475 |
+
</div>
|
| 476 |
+
</div>
|
| 477 |
+
</div>
|
| 478 |
+
<!-- Budget Item 2 -->
|
| 479 |
+
<div class="product-card bg-white p-4 rounded-lg shadow-sm border">
|
| 480 |
+
<div class="relative">
|
| 481 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden">
|
| 482 |
+
<img alt="Lightning Cable" class="w-full h-32 object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=200&q=80"/>
|
| 483 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white px-2 py-1 rounded-md text-xs">
|
| 484 |
+
Sale
|
| 485 |
+
</div>
|
| 486 |
+
</div>
|
| 487 |
+
</div>
|
| 488 |
+
<div class="mt-2">
|
| 489 |
+
<h3 class="text-sm font-medium text-gray-900">Lightning Cable</h3>
|
| 490 |
+
<div class="mt-1 flex justify-between items-center">
|
| 491 |
+
<div>
|
| 492 |
+
<span class="text-sm font-bold text-gray-900">9,000₫</span>
|
| 493 |
+
<span class="ml-2 text-xs text-red-600">-75%</span>
|
| 494 |
+
</div>
|
| 495 |
+
<button class="bg-indigo-600 text-white px-2 py-1 rounded-md text-xs hover:bg-indigo-700">
|
| 496 |
+
Add
|
| 497 |
+
</button>
|
| 498 |
+
</div>
|
| 499 |
+
</div>
|
| 500 |
+
</div>
|
| 501 |
+
<!-- Budget Item 3 -->
|
| 502 |
+
<div class="product-card bg-white p-4 rounded-lg shadow-sm border">
|
| 503 |
+
<div class="relative">
|
| 504 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden">
|
| 505 |
+
<img alt="USB Adapter" class="w-full h-32 object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=200&q=80"/>
|
| 506 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white px-2 py-1 rounded-md text-xs">
|
| 507 |
+
Sale
|
| 508 |
+
</div>
|
| 509 |
+
</div>
|
| 510 |
+
</div>
|
| 511 |
+
<div class="mt-2">
|
| 512 |
+
<h3 class="text-sm font-medium text-gray-900">USB Adapter</h3>
|
| 513 |
+
<div class="mt-1 flex justify-between items-center">
|
| 514 |
+
<div>
|
| 515 |
+
<span class="text-sm font-bold text-gray-900">8,000₫</span>
|
| 516 |
+
<span class="ml-2 text-xs text-red-600">-80%</span>
|
| 517 |
+
</div>
|
| 518 |
+
<button class="bg-indigo-600 text-white px-2 py-1 rounded-md text-xs hover:bg-indigo-700">
|
| 519 |
+
Add
|
| 520 |
+
</button>
|
| 521 |
+
</div>
|
| 522 |
+
</div>
|
| 523 |
+
</div>
|
| 524 |
+
</div>
|
| 525 |
+
</div>
|
| 526 |
+
</div>
|
| 527 |
+
<!-- Phụ kiện bán lẻ -->
|
| 528 |
+
<div class="bg-white py-12 px-4 sm:px-6 lg:px-8">
|
| 529 |
+
<div class="max-w-7xl mx-auto">
|
| 530 |
+
<div class="flex justify-between items-center mb-8">
|
| 531 |
+
<div>
|
| 532 |
+
<h2 class="text-2xl font-bold text-gray-900">Phụ kiện bán lẻ</h2>
|
| 533 |
+
<p class="text-gray-600 mt-1">Dây sạc, cáp dữ liệu giá siêu rẻ</p>
|
| 534 |
+
</div>
|
| 535 |
+
<a class="text-indigo-600 hover:text-indigo-800 font-medium" href="#">Xem tất cả</a>
|
| 536 |
+
</div>
|
| 537 |
+
<div class="grid grid-cols-2 gap-y-10 gap-x-6 sm:grid-cols-3 lg:grid-cols-6 xl:gap-x-8">
|
| 538 |
+
<!-- Dây sạc 1 -->
|
| 539 |
+
<div class="product-card bg-white p-4 rounded-lg shadow-sm border">
|
| 540 |
+
<div class="relative">
|
| 541 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden">
|
| 542 |
+
<img alt="Dây sạc Type C" class="w-full h-32 object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=200&q=80"/>
|
| 543 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white px-2 py-1 rounded-md text-xs">
|
| 544 |
+
Siêu rẻ
|
| 545 |
+
</div>
|
| 546 |
+
</div>
|
| 547 |
+
</div>
|
| 548 |
+
<div class="mt-2">
|
| 549 |
+
<h3 class="text-sm font-medium text-gray-900">Dây sạc Type C</h3>
|
| 550 |
+
<div class="mt-1 flex justify-between items-center">
|
| 551 |
+
<div>
|
| 552 |
+
<span class="text-sm font-bold text-gray-900">10,000₫</span>
|
| 553 |
+
<span class="text-xs text-gray-500 block">10,000₫</span>
|
| 554 |
+
</div>
|
| 555 |
+
<button class="bg-indigo-600 text-white px-2 py-1 rounded-md text-xs hover:bg-indigo-700">
|
| 556 |
+
Thêm
|
| 557 |
+
</button>
|
| 558 |
+
</div>
|
| 559 |
+
</div>
|
| 560 |
+
</div>
|
| 561 |
+
<!-- Dây sạc 2 -->
|
| 562 |
+
<div class="product-card bg-white p-4 rounded-lg shadow-sm border">
|
| 563 |
+
<div class="relative">
|
| 564 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden">
|
| 565 |
+
<img alt="Dây sạc Lightning" class="w-full h-32 object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=200&q=80"/>
|
| 566 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white px-2 py-1 rounded-md text-xs">
|
| 567 |
+
Siêu rẻ
|
| 568 |
+
</div>
|
| 569 |
+
</div>
|
| 570 |
+
</div>
|
| 571 |
+
<div class="mt-2">
|
| 572 |
+
<h3 class="text-sm font-medium text-gray-900">Dây sạc Lightning</h3>
|
| 573 |
+
<div class="mt-1 flex justify-between items-center">
|
| 574 |
+
<div>
|
| 575 |
+
<span class="text-sm font-bold text-gray-900">9,000₫</span>
|
| 576 |
+
<span class="text-xs text-gray-500 block">9,000₫</span>
|
| 577 |
+
</div>
|
| 578 |
+
<button class="bg-indigo-600 text-white px-2 py-1 rounded-md text-xs hover:bg-indigo-700">
|
| 579 |
+
Thêm
|
| 580 |
+
</button>
|
| 581 |
+
</div>
|
| 582 |
+
</div>
|
| 583 |
+
</div>
|
| 584 |
+
<!-- Dây sạc 3 -->
|
| 585 |
+
<div class="product-card bg-white p-4 rounded-lg shadow-sm border">
|
| 586 |
+
<div class="relative">
|
| 587 |
+
<div class="bg-indigo-50 rounded-lg overflow-hidden">
|
| 588 |
+
<img alt="Dây sạc Micro USB" class="w-full h-32 object-cover" src="https://images.unsplash.com/photo-1603791440384-56cd371ee9a7?auto=format&fit=crop&w=200&q=80"/>
|
| 589 |
+
<div class="flex items-center">
|
| 590 |
+
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-2">
|
| 591 |
+
<i class="fas fa-headset text-white"></i>
|
| 592 |
+
</div>
|
| 593 |
+
<h3 class="ml-3 text-lg font-medium text-gray-900">24/7 Support</h3>
|
| 594 |
+
</div>
|
| 595 |
+
<p class="mt-2 text-gray-500">
|
| 596 |
+
Our customer service team is always ready to assist you with any questions.
|
| 597 |
+
</p>
|
| 598 |
+
</div>
|
| 599 |
+
</div>
|
| 600 |
+
</div>
|
| 601 |
+
</div>
|
| 602 |
+
</div>
|
| 603 |
+
<!-- Testimonials -->
|
| 604 |
+
<div class="bg-indigo-50 py-16 px-4 sm:px-6 lg:px-8">
|
| 605 |
+
<div class="max-w-7xl mx-auto">
|
| 606 |
+
<h2 class="text-center text-3xl font-bold text-gray-900 mb-12">What Our Customers Say</h2>
|
| 607 |
+
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
|
| 608 |
+
<!-- Testimonial 1 -->
|
| 609 |
+
<div class="bg-white p-6 rounded-lg shadow-sm">
|
| 610 |
+
<div class="flex items-center">
|
| 611 |
+
<div class="flex-shrink-0">
|
| 612 |
+
<img alt="Sarah Johnson" class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"/>
|
| 613 |
+
</div>
|
| 614 |
+
<div class="ml-4">
|
| 615 |
+
<div class="text-sm font-medium text-gray-900">Sarah Johnson</div>
|
| 616 |
+
<div class="flex mt-1">
|
| 617 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 618 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 619 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 620 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 621 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 622 |
+
</div>
|
| 623 |
+
</div>
|
| 624 |
+
</div>
|
| 625 |
+
<div class="mt-4">
|
| 626 |
+
<p class="text-sm text-gray-600">
|
| 627 |
+
"The screen protector I bought fits my phone perfectly and was so easy to install. It's been months and still looks brand new!"
|
| 628 |
+
</p>
|
| 629 |
+
</div>
|
| 630 |
+
</div>
|
| 631 |
+
<!-- Testimonial 2 -->
|
| 632 |
+
<div class="bg-white p-6 rounded-lg shadow-sm">
|
| 633 |
+
<div class="flex items-center">
|
| 634 |
+
<div class="flex-shrink-0">
|
| 635 |
+
<img alt="Michael Chen" class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80"/>
|
| 636 |
+
</div>
|
| 637 |
+
<div class="ml-4">
|
| 638 |
+
<div class="text-sm font-medium text-gray-900">Michael Chen</div>
|
| 639 |
+
<div class="flex mt-1">
|
| 640 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 641 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 642 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 643 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 644 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 645 |
+
</div>
|
| 646 |
+
</div>
|
| 647 |
+
</div>
|
| 648 |
+
<div class="mt-4">
|
| 649 |
+
<p class="text-sm text-gray-600">
|
| 650 |
+
"Fast shipping and excellent customer service. The wireless charger works great and looks sleek on my desk. Highly recommend!"
|
| 651 |
+
</p>
|
| 652 |
+
</div>
|
| 653 |
+
</div>
|
| 654 |
+
<!-- Testimonial 3 -->
|
| 655 |
+
<div class="bg-white p-6 rounded-lg shadow-sm">
|
| 656 |
+
<div class="flex items-center">
|
| 657 |
+
<div class="flex-shrink-0">
|
| 658 |
+
<img alt="Emily Rodriguez" class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=688&q=80"/>
|
| 659 |
+
</div>
|
| 660 |
+
<div class="ml-4">
|
| 661 |
+
<div class="text-sm font-medium text-gray-900">Emily Rodriguez</div>
|
| 662 |
+
<div class="flex mt-1">
|
| 663 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 664 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 665 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 666 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 667 |
+
<i class="fas fa-star-half-alt text-yellow-400"></i>
|
| 668 |
+
</div>
|
| 669 |
+
</div>
|
| 670 |
+
</div>
|
| 671 |
+
<div class="mt-4">
|
| 672 |
+
<p class="text-sm text-gray-600">
|
| 673 |
+
"Love the case I got for my new phone! It's protective without being bulky and the color is exactly as shown. Will definitely shop here again."
|
| 674 |
+
</p>
|
| 675 |
+
</div>
|
| 676 |
+
</div>
|
| 677 |
+
</div>
|
| 678 |
+
</div>
|
| 679 |
+
</div>
|
| 680 |
+
<!-- Newsletter -->
|
| 681 |
+
<div class="bg-white py-16 px-4 sm:px-6 lg:px-8">
|
| 682 |
+
<div class="max-w-7xl mx-auto">
|
| 683 |
+
<div class="text-center">
|
| 684 |
+
<h2 class="text-3xl font-bold text-gray-900">Stay Updated</h2>
|
| 685 |
+
<p class="mt-4 text-lg text-gray-600">
|
| 686 |
+
Subscribe to our newsletter for the latest products, deals, and tech tips.
|
| 687 |
+
</p>
|
| 688 |
+
<div class="mt-8 max-w-md mx-auto">
|
| 689 |
+
<form class="sm:flex">
|
| 690 |
+
<label class="sr-only" for="email-address">Email address</label>
|
| 691 |
+
<input autocomplete="email" class="w-full px-5 py-3 border border-gray-300 shadow-sm placeholder-gray-400 focus:ring-indigo-500 focus:border-indigo-500 sm:max-w-xs rounded-md" id="email-address" name="email" placeholder="Enter your email" required="" type="email"/>
|
| 692 |
+
<div class="mt-3 rounded-md shadow sm:mt-0 sm:ml-3 sm:flex-shrink-0">
|
| 693 |
+
<button class="w-full bg-indigo-600 flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" type="submit">
|
| 694 |
+
Subscribe
|
| 695 |
+
</button>
|
| 696 |
+
</div>
|
| 697 |
+
</form>
|
| 698 |
+
</div>
|
| 699 |
+
</div>
|
| 700 |
+
</div>
|
| 701 |
+
</div>
|
| 702 |
+
<!-- Footer -->
|
| 703 |
+
<footer class="bg-gray-800 text-white">
|
| 704 |
+
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
| 705 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
|
| 706 |
+
<div>
|
| 707 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Shop</h3>
|
| 708 |
+
<ul class="mt-4 space-y-2">
|
| 709 |
+
<li><a class="text-gray-300 hover:text-white" href="#">All Products</a></li>
|
| 710 |
+
<li><a class="text-gray-300 hover:text-white" href="#">New Arrivals</a></li>
|
| 711 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Best Sellers</a></li>
|
| 712 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Deals & Promotions</a></li>
|
| 713 |
+
</ul>
|
| 714 |
+
</div>
|
| 715 |
+
<div>
|
| 716 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Support</h3>
|
| 717 |
+
<ul class="mt-4 space-y-2">
|
| 718 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Contact Us</a></li>
|
| 719 |
+
<li><a class="text-gray-300 hover:text-white" href="#">FAQs</a></li>
|
| 720 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Shipping Policy</a></li>
|
| 721 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Returns & Exchanges</a></li>
|
| 722 |
+
</ul>
|
| 723 |
+
</div>
|
| 724 |
+
<div>
|
| 725 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Company</h3>
|
| 726 |
+
<ul class="mt-4 space-y-2">
|
| 727 |
+
<li><a class="text-gray-300 hover:text-white" href="#">About Us</a></li>
|
| 728 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Blog</a></li>
|
| 729 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Careers</a></li>
|
| 730 |
+
<li><a class="text-gray-300 hover:text-white" href="#">Privacy Policy</a></li>
|
| 731 |
+
</ul>
|
| 732 |
+
</div>
|
| 733 |
+
<div>
|
| 734 |
+
<h3 class="text-sm font-semibold uppercase tracking-wider">Connect</h3>
|
| 735 |
+
<div class="mt-4 flex space-x-6">
|
| 736 |
+
<a class="text-gray-300 hover:text-white" href="#">
|
| 737 |
+
<i class="fab fa-facebook-f"></i>
|
| 738 |
+
</a>
|
| 739 |
+
<a class="text-gray-300 hover:text-white" href="#">
|
| 740 |
+
<i class="fab fa-twitter"></i>
|
| 741 |
+
</a>
|
| 742 |
+
<a class="text-gray-300 hover:text-white" href="#">
|
| 743 |
+
<i class="fab fa-instagram"></i>
|
| 744 |
+
</a>
|
| 745 |
+
<a class="text-gray-300 hover:text-white" href="#">
|
| 746 |
+
<i class="fab fa-pinterest"></i>
|
| 747 |
+
</a>
|
| 748 |
+
</div>
|
| 749 |
+
<div class="mt-6">
|
| 750 |
+
<h4 class="text-sm font-semibold">Payment Methods</h4>
|
| 751 |
+
<div class="mt-2 flex space-x-4">
|
| 752 |
+
<i class="fab fa-cc-visa text-2xl"></i>
|
| 753 |
+
<i class="fab fa-cc-mastercard text-2xl"></i>
|
| 754 |
+
<i class="fab fa-cc-amex text-2xl"></i>
|
| 755 |
+
<i class="fab fa-cc-paypal text-2xl"></i>
|
| 756 |
+
</div>
|
| 757 |
+
</div>
|
| 758 |
+
</div>
|
| 759 |
+
</div>
|
| 760 |
+
<div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between items-center">
|
| 761 |
+
<p class="text-gray-400 text-sm">
|
| 762 |
+
© 2023 GadgetHub. All rights reserved.
|
| 763 |
+
</p>
|
| 764 |
+
<div class="mt-4 md:mt-0">
|
| 765 |
+
<img alt="GadgetHub" class="h-8" src="https://tailwindui.com/img/logos/workflow-mark-indigo-500.svg"/>
|
| 766 |
+
</div>
|
| 767 |
+
</div>
|
| 768 |
+
</div>
|
| 769 |
+
</footer>
|
| 770 |
+
<!-- Toast Notification -->
|
| 771 |
+
<div class="toast-notification" id="toast"></div>
|
| 772 |
+
<script>
|
| 773 |
+
// Cart functionality
|
| 774 |
+
let cartItems = [];
|
| 775 |
+
let cartCount = 0;
|
| 776 |
+
const cartBadge = document.querySelector('.cart-badge');
|
| 777 |
+
const cartModal = document.getElementById('cart-modal');
|
| 778 |
+
const cartBtn = document.getElementById('cart-btn');
|
| 779 |
+
const closeCart = document.getElementById('close-cart');
|
| 780 |
+
const cartItemsContainer = document.getElementById('cart-items');
|
| 781 |
+
|
| 782 |
+
function updateCart() {
|
| 783 |
+
cartBadge.textContent = cartCount;
|
| 784 |
+
let total = 0;
|
| 785 |
+
cartItemsContainer.innerHTML = '';
|
| 786 |
+
|
| 787 |
+
cartItems.forEach((item, index) => {
|
| 788 |
+
total += item.price;
|
| 789 |
+
cartItemsContainer.innerHTML += `
|
| 790 |
+
<div class="flex items-center justify-between">
|
| 791 |
+
<div class="flex items-center">
|
| 792 |
+
<img src="${item.image}" alt="${item.name}" class="h-16 w-16 object-cover rounded">
|
| 793 |
+
<div class="ml-4">
|
| 794 |
+
<div class="text-sm font-medium text-gray-900">${item.name}</div>
|
| 795 |
+
<div class="text-sm text-gray-500">${item.price.toLocaleString()}₫</div>
|
| 796 |
+
</div>
|
| 797 |
+
</div>
|
| 798 |
+
<button onclick="removeFromCart(${index})" class="text-red-500 hover:text-red-700">
|
| 799 |
+
<i class="fas fa-trash"></i>
|
| 800 |
+
</button>
|
| 801 |
+
</div>
|
| 802 |
+
`;
|
| 803 |
+
});
|
| 804 |
+
|
| 805 |
+
document.getElementById('cart-total').textContent = `${total.toLocaleString()}₫`;
|
| 806 |
+
}
|
| 807 |
+
|
| 808 |
+
function addToCart(button) {
|
| 809 |
+
const card = button.closest('.product-card');
|
| 810 |
+
const name = card.querySelector('h3').textContent;
|
| 811 |
+
|
| 812 |
+
// Cập nhật cách lấy giá VND
|
| 813 |
+
let priceElement = card.querySelector('.text-lg.font-bold, .text-sm.font-bold');
|
| 814 |
+
let price = parseInt(priceElement.textContent.replace(/[^\d]/g, ''));
|
| 815 |
+
|
| 816 |
+
const image = card.querySelector('img').src;
|
| 817 |
+
|
| 818 |
+
cartItems.push({ name, price, image });
|
| 819 |
+
cartCount++;
|
| 820 |
+
updateCart();
|
| 821 |
+
|
| 822 |
+
// Animation feedback
|
| 823 |
+
cartBadge.parentElement.classList.add('animate-bounce');
|
| 824 |
+
setTimeout(() => {
|
| 825 |
+
cartBadge.parentElement.classList.remove('animate-bounce');
|
| 826 |
+
}, 1000);
|
| 827 |
+
|
| 828 |
+
// Button feedback
|
| 829 |
+
const originalText = button.textContent.trim();
|
| 830 |
+
button.textContent = 'Added!';
|
| 831 |
+
button.classList.remove('bg-indigo-600');
|
| 832 |
+
button.classList.add('bg-green-500');
|
| 833 |
+
|
| 834 |
+
setTimeout(() => {
|
| 835 |
+
button.textContent = originalText;
|
| 836 |
+
button.classList.remove('bg-green-500');
|
| 837 |
+
button.classList.add('bg-indigo-600');
|
| 838 |
+
}, 1500);
|
| 839 |
+
}
|
| 840 |
+
|
| 841 |
+
function removeFromCart(index) {
|
| 842 |
+
cartItems.splice(index, 1);
|
| 843 |
+
cartCount--;
|
| 844 |
+
updateCart();
|
| 845 |
+
}
|
| 846 |
+
|
| 847 |
+
// Event Listeners
|
| 848 |
+
cartBtn.addEventListener('click', () => {
|
| 849 |
+
cartModal.classList.remove('hidden');
|
| 850 |
+
});
|
| 851 |
+
|
| 852 |
+
closeCart.addEventListener('click', () => {
|
| 853 |
+
cartModal.classList.add('hidden');
|
| 854 |
+
});
|
| 855 |
+
|
| 856 |
+
// Close modal when clicking outside
|
| 857 |
+
cartModal.addEventListener('click', (e) => {
|
| 858 |
+
if (e.target === cartModal) {
|
| 859 |
+
cartModal.classList.add('hidden');
|
| 860 |
+
}
|
| 861 |
+
});
|
| 862 |
+
|
| 863 |
+
// Add to cart buttons
|
| 864 |
+
document.querySelectorAll('.product-card button').forEach(button => {
|
| 865 |
+
button.addEventListener('click', () => addToCart(button));
|
| 866 |
+
});
|
| 867 |
+
|
| 868 |
+
// Search functionality
|
| 869 |
+
document.getElementById('search-btn').addEventListener('click', function() {
|
| 870 |
+
const searchBar = document.getElementById('search-bar');
|
| 871 |
+
searchBar.classList.toggle('hidden');
|
| 872 |
+
});
|
| 873 |
+
|
| 874 |
+
// Thêm hàm lưu cartItems vào localStorage và chuyển đến trang thanh toán
|
| 875 |
+
document.querySelector('.bg-gray-50 button').addEventListener('click', () => {
|
| 876 |
+
localStorage.setItem('cartItems', JSON.stringify(cartItems));
|
| 877 |
+
window.location.href = 'tt.html';
|
| 878 |
+
});
|
| 879 |
+
|
| 880 |
+
// Biến để lưu số lượng giao dịch đã kiểm tra
|
| 881 |
+
let lastCheckedCount = 0;
|
| 882 |
+
let lastBuyer = '';
|
| 883 |
+
|
| 884 |
+
// Hàm kiểm tra API
|
| 885 |
+
async function checkNewTransactions() {
|
| 886 |
+
try {
|
| 887 |
+
// Kiểm tra số lượng giao dịch hiện tại
|
| 888 |
+
const currentResponse = await fetch('https://manhteky123-banking.hf.space/currentCK');
|
| 889 |
+
const currentData = await currentResponse.json();
|
| 890 |
+
const currentCount = currentData.count;
|
| 891 |
+
|
| 892 |
+
// Nếu có giao dịch mới
|
| 893 |
+
if (currentCount > lastCheckedCount) {
|
| 894 |
+
// Lấy thông tin người mua gần nhất
|
| 895 |
+
const lastResponse = await fetch('https://manhteky123-banking.hf.space/lastCK');
|
| 896 |
+
const lastData = await lastResponse.json();
|
| 897 |
+
|
| 898 |
+
// Nếu người mua mới khác với người mua cuối cùng đã thông báo
|
| 899 |
+
if (lastData.name !== lastBuyer) {
|
| 900 |
+
showToast(`${lastData.name} vừa mua hàng!`);
|
| 901 |
+
lastBuyer = lastData.name;
|
| 902 |
+
}
|
| 903 |
+
|
| 904 |
+
lastCheckedCount = currentCount;
|
| 905 |
+
}
|
| 906 |
+
} catch (error) {
|
| 907 |
+
console.error('Error checking transactions:', error);
|
| 908 |
+
}
|
| 909 |
+
}
|
| 910 |
+
|
| 911 |
+
// Hàm hiển thị toast
|
| 912 |
+
function showToast(message) {
|
| 913 |
+
const toast = document.getElementById('toast');
|
| 914 |
+
toast.textContent = message;
|
| 915 |
+
toast.style.display = 'block';
|
| 916 |
+
|
| 917 |
+
// Ẩn toast sau 3 giây
|
| 918 |
+
setTimeout(() => {
|
| 919 |
+
toast.style.display = 'none';
|
| 920 |
+
}, 3000);
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
// Kiểm tra API mỗi 2 giây
|
| 924 |
+
setInterval(checkNewTransactions, 2000);
|
| 925 |
+
</script>
|
| 926 |
+
</div></body>
|
| 927 |
+
</html>
|
tt.html
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Thanh toán - GadgetHub</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 11 |
+
body {
|
| 12 |
+
font-family: 'Poppins', sans-serif;
|
| 13 |
+
background-color: #f8fafc;
|
| 14 |
+
}
|
| 15 |
+
.countdown {
|
| 16 |
+
font-size: 2rem;
|
| 17 |
+
font-weight: bold;
|
| 18 |
+
color: #4f46e5;
|
| 19 |
+
}
|
| 20 |
+
.payment-status {
|
| 21 |
+
position: fixed;
|
| 22 |
+
bottom: 20px;
|
| 23 |
+
right: 20px;
|
| 24 |
+
padding: 1rem;
|
| 25 |
+
border-radius: 0.5rem;
|
| 26 |
+
z-index: 1000;
|
| 27 |
+
display: none;
|
| 28 |
+
animation: slideIn 0.5s ease-out;
|
| 29 |
+
}
|
| 30 |
+
.payment-status.success {
|
| 31 |
+
background-color: #dcfce7;
|
| 32 |
+
color: #166534;
|
| 33 |
+
}
|
| 34 |
+
.payment-status.error {
|
| 35 |
+
background-color: #fee2e2;
|
| 36 |
+
color: #991b1b;
|
| 37 |
+
}
|
| 38 |
+
@keyframes slideIn {
|
| 39 |
+
from { transform: translateX(100%); opacity: 0; }
|
| 40 |
+
to { transform: translateX(0); opacity: 1; }
|
| 41 |
+
}
|
| 42 |
+
</style>
|
| 43 |
+
</head>
|
| 44 |
+
<body>
|
| 45 |
+
<div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
|
| 46 |
+
<div class="max-w-3xl w-full space-y-8">
|
| 47 |
+
<!-- QR Section -->
|
| 48 |
+
<div class="bg-white p-8 rounded-lg shadow-lg text-center">
|
| 49 |
+
<h2 class="text-2xl font-bold mb-6">Quét mã để thanh toán</h2>
|
| 50 |
+
|
| 51 |
+
<!-- QR Code -->
|
| 52 |
+
<div class="mb-8">
|
| 53 |
+
<img src="https://images.unsplash.com/photo-1584433144859-1fc1f76d03b1?auto=format&fit=crop&w=300&q=80" alt="QR Code" class="mx-auto max-w-[300px]">
|
| 54 |
+
</div>
|
| 55 |
+
|
| 56 |
+
<!-- Order Summary -->
|
| 57 |
+
<div class="border-t border-b py-4 my-6">
|
| 58 |
+
<div id="cart-items" class="space-y-4">
|
| 59 |
+
<!-- Cart items will be inserted here -->
|
| 60 |
+
</div>
|
| 61 |
+
<div class="mt-4 text-right">
|
| 62 |
+
<div class="text-sm text-gray-600">Tổng tiền:</div>
|
| 63 |
+
<div id="total" class="text-2xl font-bold text-indigo-600">0₫</div>
|
| 64 |
+
</div>
|
| 65 |
+
</div>
|
| 66 |
+
|
| 67 |
+
<div class="border-t pt-4"> <div class="mb-4">
|
| 68 |
+
<label class="block text-sm font-medium text-gray-700 mb-2">Mã đơn hàng của bạn:</label>
|
| 69 |
+
<div class="flex items-center space-x-2">
|
| 70 |
+
<input type="text" id="orderCode" readonly
|
| 71 |
+
class="px-3 py-2 border border-gray-300 rounded-md bg-gray-50 w-full">
|
| 72 |
+
<button onclick="copyOrderCode()" class="p-2 text-indigo-600 hover:text-indigo-800">
|
| 73 |
+
<i class="far fa-copy"></i>
|
| 74 |
+
</button>
|
| 75 |
+
</div>
|
| 76 |
+
<p class="text-sm text-gray-500 mt-2">
|
| 77 |
+
Vui lòng sử dụng mã này trong nội dung chuyển khoản
|
| 78 |
+
</p>
|
| 79 |
+
</div>
|
| 80 |
+
</div>
|
| 81 |
+
|
| 82 |
+
<!-- Countdown -->
|
| 83 |
+
<div class="text-center space-y-4">
|
| 84 |
+
<div id="countdown" class="countdown">05:00</div>
|
| 85 |
+
<p class="text-gray-600">Đang chờ thanh toán...</p>
|
| 86 |
+
</div>
|
| 87 |
+
|
| 88 |
+
<a href="index.html" class="mt-6 inline-block text-indigo-600 hover:text-indigo-800">
|
| 89 |
+
← Quay lại mua sắm
|
| 90 |
+
</a>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
|
| 95 |
+
<!-- Payment Status -->
|
| 96 |
+
<div id="paymentStatus" class="payment-status"></div>
|
| 97 |
+
|
| 98 |
+
<!-- Success Modal -->
|
| 99 |
+
<div id="successModal" class="hidden fixed inset-0 z-50 overflow-y-auto" aria-modal="true">
|
| 100 |
+
<div class="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">
|
| 101 |
+
<div class="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"></div>
|
| 102 |
+
<div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full">
|
| 103 |
+
<div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4">
|
| 104 |
+
<div class="sm:flex sm:items-start">
|
| 105 |
+
<div class="mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-green-100 sm:mx-0 sm:h-10 sm:w-10">
|
| 106 |
+
<i class="fas fa-check text-green-600"></i>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left">
|
| 109 |
+
<h3 class="text-lg leading-6 font-medium text-gray-900">Thanh toán thành công!</h3>
|
| 110 |
+
<div class="mt-2">
|
| 111 |
+
<p class="text-sm text-gray-500">Cảm ơn bạn đã mua hàng tại GadgetHub.</p>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
<div class="bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse">
|
| 117 |
+
<button type="button" onclick="window.location.href='index.html'" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-green-600 text-base font-medium text-white hover:bg-green-700 focus:outline-none sm:ml-3 sm:w-auto sm:text-sm">
|
| 118 |
+
OK
|
| 119 |
+
</button>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
|
| 125 |
+
<script>
|
| 126 |
+
// Khởi tạo biến
|
| 127 |
+
const slCK = "https://manhteky123-banking.hf.space/currentCK";
|
| 128 |
+
const layCK = "https://manhteky123-banking.hf.space/lastCK";
|
| 129 |
+
let slckhientai;
|
| 130 |
+
let checkInterval;
|
| 131 |
+
let isChecking = false;
|
| 132 |
+
let timeLeft = 300; // 5 minutes
|
| 133 |
+
|
| 134 |
+
// Lấy sản phẩm từ localStorage và thiết lập giỏ hàng
|
| 135 |
+
let cartItems = JSON.parse(localStorage.getItem('cartItems')) || [];
|
| 136 |
+
let total = 0;
|
| 137 |
+
const cartItemsContainer = document.getElementById('cart-items');
|
| 138 |
+
const countdownDisplay = document.getElementById('countdown');
|
| 139 |
+
|
| 140 |
+
// Tạo mã đơn hàng ngẫu nhiên
|
| 141 |
+
const randomCode = Math.random().toString(36).substr(2, 6).toUpperCase();
|
| 142 |
+
|
| 143 |
+
// Hiển thị sản phẩm
|
| 144 |
+
cartItems.forEach(item => {
|
| 145 |
+
total += item.price;
|
| 146 |
+
cartItemsContainer.innerHTML += `
|
| 147 |
+
<div class="flex items-center justify-between">
|
| 148 |
+
<div class="flex items-center">
|
| 149 |
+
<img src="${item.image}" alt="${item.name}" class="h-16 w-16 object-cover rounded">
|
| 150 |
+
<div class="ml-4">
|
| 151 |
+
<div class="text-sm font-medium text-gray-900">${item.name}</div>
|
| 152 |
+
<div class="text-sm text-gray-500">${item.price.toLocaleString()}₫</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
`;
|
| 157 |
+
});
|
| 158 |
+
|
| 159 |
+
// Cập nhật UI
|
| 160 |
+
document.getElementById('total').textContent = total.toLocaleString() + '₫';
|
| 161 |
+
document.getElementById('orderCode').value = `GH-${randomCode}`;
|
| 162 |
+
|
| 163 |
+
// Lưu tổng tiền cần thanh toán
|
| 164 |
+
const totalAmount = total;
|
| 165 |
+
|
| 166 |
+
console.log("Tổng tiền cần thanh toán:", totalAmount);
|
| 167 |
+
|
| 168 |
+
// Copy mã đơn hàng
|
| 169 |
+
function copyOrderCode() {
|
| 170 |
+
const orderCodeInput = document.getElementById('orderCode');
|
| 171 |
+
orderCodeInput.select();
|
| 172 |
+
document.execCommand('copy');
|
| 173 |
+
|
| 174 |
+
const toast = document.createElement('div');
|
| 175 |
+
toast.className = 'payment-status success';
|
| 176 |
+
toast.textContent = 'Đã sao chép mã đơn hàng!';
|
| 177 |
+
document.body.appendChild(toast);
|
| 178 |
+
|
| 179 |
+
setTimeout(() => {
|
| 180 |
+
toast.remove();
|
| 181 |
+
}, 2000);
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
// Đếm ngược thời gian
|
| 185 |
+
const countdown = setInterval(() => {
|
| 186 |
+
const minutes = Math.floor(timeLeft / 60);
|
| 187 |
+
const seconds = timeLeft % 60;
|
| 188 |
+
countdownDisplay.textContent = `${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
|
| 189 |
+
|
| 190 |
+
if (timeLeft <= 0) {
|
| 191 |
+
clearInterval(countdown);
|
| 192 |
+
window.location.href = 'index.html';
|
| 193 |
+
}
|
| 194 |
+
timeLeft--;
|
| 195 |
+
}, 1000);
|
| 196 |
+
|
| 197 |
+
// Lấy số lượng ban đầu và bắt đầu kiểm tra giao dịch
|
| 198 |
+
console.log("Khởi tạo kiểm tra giao dịch...");
|
| 199 |
+
fetch(slCK)
|
| 200 |
+
.then(response => response.json())
|
| 201 |
+
.then(data => {
|
| 202 |
+
console.log("Dữ liệu ban đầu:", data);
|
| 203 |
+
slckhientai = data['currentCK'];
|
| 204 |
+
console.log("Số lượng hiện tại:", slckhientai);
|
| 205 |
+
startCheck(); // Bắt đầu kiểm tra sau khi có dữ liệu ban đầu
|
| 206 |
+
});
|
| 207 |
+
|
| 208 |
+
function startCheck() {
|
| 209 |
+
if (isChecking) return;
|
| 210 |
+
|
| 211 |
+
console.log("Bắt đầu kiểm tra giao dịch mỗi 2 giây...");
|
| 212 |
+
isChecking = true;
|
| 213 |
+
|
| 214 |
+
checkInterval = setInterval(function () {
|
| 215 |
+
console.log("Kiểm tra giao dịch lần:", new Date().toLocaleTimeString());
|
| 216 |
+
fetch(slCK)
|
| 217 |
+
.then(response => response.json())
|
| 218 |
+
.then(data => {
|
| 219 |
+
console.log("Dữ liệu từ API currentCK:", data);
|
| 220 |
+
if (data['currentCK'] != slckhientai) {
|
| 221 |
+
console.log("Phát hiện giao dịch mới!");
|
| 222 |
+
slckhientai = data['currentCK'];
|
| 223 |
+
|
| 224 |
+
fetch(layCK)
|
| 225 |
+
.then(response => response.json())
|
| 226 |
+
.then(data => {
|
| 227 |
+
console.log("Giao dịch mới:", data);
|
| 228 |
+
var content = data['content'];
|
| 229 |
+
var amount = parseInt(data['transferAmount']);
|
| 230 |
+
|
| 231 |
+
if (content.includes(randomCode)) {
|
| 232 |
+
console.log("Mã đơn hàng khớp!");
|
| 233 |
+
if (amount === totalAmount) {
|
| 234 |
+
// Xóa giỏ hàng
|
| 235 |
+
localStorage.removeItem('cartItems');
|
| 236 |
+
|
| 237 |
+
// Hiển thị modal thành công
|
| 238 |
+
document.getElementById('successModal').classList.remove('hidden');
|
| 239 |
+
|
| 240 |
+
// Dừng đếm ngược và hiển thị trạng thái thanh toán
|
| 241 |
+
clearInterval(countdown);
|
| 242 |
+
countdownDisplay.textContent = 'Đã thanh toán';
|
| 243 |
+
countdownDisplay.style.color = '#059669'; // màu xanh lá
|
| 244 |
+
|
| 245 |
+
// Dừng kiểm tra API
|
| 246 |
+
stopCheck();
|
| 247 |
+
} else {
|
| 248 |
+
console.log("Số tiền không khớp:", {
|
| 249 |
+
received: amount,
|
| 250 |
+
expected: totalAmount
|
| 251 |
+
});
|
| 252 |
+
|
| 253 |
+
const toast = document.createElement('div');
|
| 254 |
+
toast.className = 'payment-status error';
|
| 255 |
+
toast.textContent = 'Số tiền thanh toán không đúng!';
|
| 256 |
+
document.body.appendChild(toast);
|
| 257 |
+
|
| 258 |
+
setTimeout(() => {
|
| 259 |
+
toast.remove();
|
| 260 |
+
}, 3000);
|
| 261 |
+
}
|
| 262 |
+
} else {
|
| 263 |
+
console.log("Mã đơn hàng không khớp:", {
|
| 264 |
+
received: content,
|
| 265 |
+
expected: randomCode
|
| 266 |
+
});
|
| 267 |
+
|
| 268 |
+
const toast = document.createElement('div');
|
| 269 |
+
toast.className = 'payment-status error';
|
| 270 |
+
toast.textContent = 'Mã đơn hàng không đúng!';
|
| 271 |
+
document.body.appendChild(toast);
|
| 272 |
+
|
| 273 |
+
setTimeout(() => {
|
| 274 |
+
toast.remove();
|
| 275 |
+
}, 3000);
|
| 276 |
+
}
|
| 277 |
+
});
|
| 278 |
+
}
|
| 279 |
+
});
|
| 280 |
+
}, 2000);
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
function stopCheck() {
|
| 284 |
+
if (!isChecking) return;
|
| 285 |
+
console.log("Dừng kiểm tra giao dịch");
|
| 286 |
+
clearInterval(checkInterval);
|
| 287 |
+
isChecking = false;
|
| 288 |
+
}
|
| 289 |
+
</script>
|
| 290 |
+
</body>
|
| 291 |
+
</html>
|