Spaces:
Sleeping
Sleeping
File size: 9,630 Bytes
3d7d477 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MysteryBox | Home</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Navbar -->
<header class="bg-purple-700 text-white">
<div class="max-w-7xl mx-auto flex justify-between items-center py-4 px-6">
<!-- Logo -->
<a href="/" class="text-xl font-bold tracking-wide">
π MysteryBox
</a>
<!-- Navigation Links (Desktop) -->
<nav class="hidden md:flex space-x-6 text-sm font-medium">
<a href="/" class="hover:text-yellow-300">Home</a>
<a href="/boxes" class="hover:text-yellow-300">All Boxes</a>
<a href="/boxes/?category=gadgets" class="hover:text-yellow-300">electronics</a>
<a href="/boxes/?category=clothes" class="hover:text-yellow-300">Clothes</a>
<a href="/boxes/?category=accessories" class="hover:text-yellow-300">Accessories</a>
<a href="reward" class="hover:text-yellow-300">Rewards</a>
</nav>
<!-- Right Icons -->
<div class="flex items-center space-x-4">
<!-- Search -->
<!-- Cart -->
<a href="/cart/" class="relative">
<span class="text-xl">π</span>
<span class="absolute -top-2 -right-2 bg-yellow-400 text-black text-xs font-bold px-1 rounded">3</span>
</a>
<!-- Account -->
<a href="/Accounts/" class="hover:text-yellow-300">
{% if request.user.is_authenticated %}
<span>π€ Hello,{{ request.user.first_name|slice:"0:8" }}</span>
{% else %}
π€ Account
{% endif %}
</a>
{% if request.user.is_authenticated %}
<a href="Accounts/logout" class="hover:text-yellow-300">
π€ Logout
</a>
{% else %}
<a href="Accounts/login" class="hover:text-yellow-300">
π€ Login
</a>
{% endif %}
</div>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gradient-to-r from-purple-700 to-purple-500 text-white py-20">
<div class="max-w-4xl mx-auto text-center">
<!-- Search Bar -->
<form action="/search/" method="get" class="mb-8">
<input type="text"
name="q"
placeholder="Search..."
class="w-full max-w-2xl px-5 py-2.5 rounded-full text-black text-base focus:outline-none focus:ring-4 focus:ring-yellow-300 shadow" />
</form>
<h1 class="text-4xl md:text-6xl font-bold mb-4">
Unbox the Mystery. Discover the Surprise!
</h1>
<p class="text-xl mb-6">
Branded products at unbelievable prices β delivered to your door.
</p>
<a href="#boxes"
class="px-8 py-4 rounded-full bg-yellow-400 text-black font-semibold shadow-lg hover:bg-yellow-500 transition">
Shop Now
</a>
</div>
</section>
<!-- Mystery Boxes -->
<section id="boxes" class="py-16 max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-6 text-center">
<div class="p-6 rounded-lg bg-orange-400 text-white shadow-lg">
<h2 class="text-2xl font-bold mb-4">βΉ299 Box</h2>
<a href="#" class="px-4 py-2 rounded-full bg-white text-black font-semibold">Buy Now</a>
</div>
<div class="p-6 rounded-lg bg-yellow-400 text-black shadow-lg">
<h2 class="text-2xl font-bold mb-4">βΉ499 Box</h2>
<a href="#" class="px-4 py-2 rounded-full bg-black text-white font-semibold">Buy Now</a>
</div>
<div class="p-6 rounded-lg bg-blue-500 text-white shadow-lg">
<h2 class="text-2xl font-bold mb-4">βΉ999 Box</h2>
<a href="#" class="px-4 py-2 rounded-full bg-white text-black font-semibold">Buy Now</a>
</div>
</section>
<main class="max-w-7xl mx-auto px-6 py-10">
<!-- Grid of Boxes -->
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-8">
<!-- Example Box Item -->
<div class="bg-white shadow-lg rounded-lg overflow-hidden hover:scale-105 transition">
<img src="https://em-content.zobj.net/source/microsoft-teams/337/wrapped-gift_1f381.png" alt="Box" class="w-full h-40 object-contain bg-gray-200 p-6">
<div class="p-4 text-center">
<h2 class="text-lg font-bold">Box βΉ299</h2>
<p class="text-gray-500 text-sm">Small Mystery Surprise</p>
<button class="mt-4 px-4 py-2 bg-purple-700 text-white rounded hover:bg-purple-800">Buy Now</button>
</div>
</div>
<div class="bg-white shadow-lg rounded-lg overflow-hidden hover:scale-105 transition">
<img src="https://em-content.zobj.net/source/microsoft-teams/337/wrapped-gift_1f381.png" alt="Box" class="w-full h-40 object-contain bg-gray-200 p-6">
<div class="p-4 text-center">
<h2 class="text-lg font-bold">Box βΉ499</h2>
<p class="text-gray-500 text-sm">Medium Mystery Box</p>
<button class="mt-4 px-4 py-2 bg-purple-700 text-white rounded hover:bg-purple-800">Buy Now</button>
</div>
</div>
<div class="bg-white shadow-lg rounded-lg overflow-hidden hover:scale-105 transition">
<img src="https://em-content.zobj.net/source/microsoft-teams/337/wrapped-gift_1f381.png" alt="Box" class="w-full h-40 object-contain bg-gray-200 p-6">
<div class="p-4 text-center">
<h2 class="text-lg font-bold">Box βΉ999</h2>
<p class="text-gray-500 text-sm">Premium Mystery Offer</p>
<button class="mt-4 px-4 py-2 bg-purple-700 text-white rounded hover:bg-purple-800">Buy Now</button>
</div>
</div>
<div class="bg-white shadow-lg rounded-lg overflow-hidden hover:scale-105 transition">
<img src="https://em-content.zobj.net/source/microsoft-teams/337/wrapped-gift_1f381.png" alt="Box" class="w-full h-40 object-contain bg-gray-200 p-6">
<div class="p-4 text-center">
<h2 class="text-lg font-bold">Box βΉ1499</h2>
<p class="text-gray-500 text-sm">Ultra Luxury Box</p>
<button class="mt-4 px-4 py-2 bg-purple-700 text-white rounded hover:bg-purple-800">Buy Now</button>
</div>
</div>
<!-- 3rd row (add more if needed) -->
</div>
</main>
<!-- Features -->
<section class="bg-white py-16">
<div class="max-w-6xl mx-auto text-center">
<h2 class="text-3xl font-bold mb-8">Why Choose Us</h2>
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<div class="text-4xl">π°</div>
<p class="mt-2">Affordable Prices</p>
</div>
<div>
<div class="text-4xl">π</div>
<p class="mt-2">Surprise & Fun</p>
</div>
<div>
<div class="text-4xl">π±</div>
<p class="mt-2">Eco-Friendly</p>
</div>
<div>
<div class="text-4xl">β</div>
<p class="mt-2">Trusted Sellers</p>
</div>
</div>
</div>
</section>
<!-- Reviews -->
<section class="py-16 bg-gray-100">
<div class="max-w-6xl mx-auto text-center">
<h2 class="text-3xl font-bold mb-8">Customer Reviews</h2>
<div class="grid md:grid-cols-2 gap-8">
<div class="p-6 bg-white rounded-lg shadow">
<strong class="block mb-2">π Aman</strong>
<p>βLoved the mystery box! Amazing quality at low cost.β</p>
<p class="mt-2 text-yellow-500">βββββ</p>
</div>
<div class="p-6 bg-white rounded-lg shadow">
<strong class="block mb-2">π Lucky</strong>
<p>βGreat surprise and value. Will order again!β</p>
<p class="mt-2 text-yellow-500">ββββ</p>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-purple-700 text-white py-8">
<div class="max-w-6xl mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 text-center md:text-left">
<!-- Logo & Tagline -->
<div>
<h2 class="text-lg font-bold">π MysteryBox</h2>
<p class="text-sm mt-2">Affordable. Fun. Eco-Friendly.</p>
</div>
<!-- Navigation Links -->
<div>
<h3 class="font-semibold mb-3">Quick Links</h3>
<ul class="space-y-2">
<li><a href="/about" class="hover:underline">About Us</a></li>
<li><a href="/contact" class="hover:underline">Contact</a></li>
<li><a href="/faq" class="hover:underline">FAQ</a></li>
</ul>
</div>
<!-- Social Media -->
<div>
<h3 class="font-semibold mb-3">Follow Us</h3>
<div class="flex justify-center md:justify-start space-x-4 text-2xl">
<a href="https://instagram.com" target="_blank" class="hover:text-pink-400">
<i class="fab fa-instagram"></i>
</a>
<a href="https://facebook.com" target="_blank" class="hover:text-blue-400">
<i class="fab fa-facebook"></i>
</a>
</div>
</div>
</div>
<!-- Divider -->
<div class="border-t border-purple-500 mt-6 pt-4 text-center text-sm">
<p>© 2024 MysteryBox. All rights reserved.</p>
</div>
</div>
</footer>
<!-- β
Font Awesome (for social icons) -->
<script src="https://kit.fontawesome.com/3b5fbf8a70.js" crossorigin="anonymous"></script>
</body>
</html>
|