Spaces:
Running
Running
File size: 12,851 Bytes
803aaea 5cc830e 803aaea 5cc830e f282b32 19a1ee1 803aaea 19d2497 f282b32 a99548a 5cc830e f282b32 19a1ee1 0894d9b f282b32 19a1ee1 0894d9b 19a1ee1 0894d9b 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 a99548a 19a1ee1 5cc830e f282b32 5cc830e 19d2497 cc0a382 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Amazon Clone</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<nav class="bg-gray-800 p-4 text-white">
<div class="container mx-auto flex items-center justify-between">
<a href="/" class="text-2xl font-bold">Amazon</a>
<div class="flex items-center">
<input type="text" placeholder="Search" class="bg-gray-700 text-white px-4 py-2 rounded-md mr-2">
<button class="bg-yellow-500 text-gray-800 px-4 py-2 rounded-md hover:bg-yellow-400">Search</button>
</div>
<div>
<a href="/cart.html" class="hover:text-yellow-500"><i class="fas fa-shopping-cart"></i> Cart</a>
</div>
</div>
</nav>
<main class="container mx-auto mt-8">
<div class="carousel">
<div class="carousel-item">
<img src="https://placehold.co/800x300" alt="Featured Product 1" class="w-full rounded-md">
</div>
<div class="carousel-item">
<img src="https://placehold.co/800x300" alt="Featured Product 2" class="w-full rounded-md">
</div>
<div class="carousel-item">
<img src="https://placehold.co/800x300" alt="Featured Product 3" class="w-full rounded-md">
</div>
</div>
<section class="product-listing">
<h2 class="text-2xl font-bold mb-4">Products</h2>
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4">
<!-- Product 1 -->
<a href="product.html?id=product-1" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 1" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 1</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</div>
<!-- Product 2 -->
<a href="product.html?id=product-2" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 2" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 2</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<span class="text-gray-600 ml-2">5.0</span>
</div>
</div>
<!-- Product 3 -->
<a href="product.html?id=product-3" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 3" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 3</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<i class="far fa-star text-yellow-500"></i>
<span class="text-gray-600 ml-2">3.5</span>
</div>
</div>
<!-- Product 4 -->
<a href="product.html?id=product-4" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 4" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 4</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="far fa-star text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.0</span>
</div>
</div>
<!-- Product 5 -->
<a href="product.html?id=product-5" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 5" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 5</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</div>
<!-- Product 6 -->
<a href="product.html?id=product-6" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 6" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 6</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<span class="text-gray-600 ml-2">5.0</span>
</div>
</div>
<!-- Product 7 -->
<a href="product.html?id=product-7" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 7" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 7</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<i class="far fa-star text-yellow-500"></i>
<span class="text-gray-600 ml-2">3.5</span>
</div>
</div>
<!-- Product 8 -->
<a href="product.html?id=product-8" class="product-card">
<img src="https://placehold.co/200x300" alt="Product 8" class="w-full rounded-md">
<h3 class="text-lg font-semibold">Product 8</h3>
<p class="text-gray-600">$19.99</p>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star-half-alt text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.5</span>
</div>
</a>
<div class="flex items-center">
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="fas fa-star text-yellow-500"></i>
<i class="far fa-star text-yellow-500"></i>
<span class="text-gray-600 ml-2">4.0</span>
</div>
</div>
</div>
</section>
</main>
<footer class="bg-gray-800 p-4 text-white text-center mt-8">
<p>© 2024 Amazon Clone</p>
</footer>
<script src="script.js"></script>
</body>
</html> |