Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Kitchen Visualizer | Design Your Dream Kitchen</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <h1 class="text-4xl font-bold text-center mb-8">Design Your Dream Kitchen</h1> | |
| <div class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Kitchen Canvas --> | |
| <div class="lg:w-2/3 bg-white p-6 rounded-xl shadow-lg"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-2xl font-semibold">Kitchen Canvas</h2> | |
| <button id="reset-kitchen" class="text-amber-600 hover:text-amber-700"> | |
| <i class="fas fa-redo mr-1"></i> Reset | |
| </button> | |
| </div> | |
| <div id="kitchen-container" class="relative bg-gray-100 rounded-lg h-96 md:h-[500px] overflow-hidden"> | |
| <!-- Kitchen elements will be added here dynamically --> | |
| </div> | |
| </div> | |
| <!-- Design Controls --> | |
| <div class="lg:w-1/3"> | |
| <div class="bg-white p-6 rounded-xl shadow-lg mb-6"> | |
| <h2 class="text-2xl font-semibold mb-4">Kitchen Layout</h2> | |
| <div class="grid grid-cols-2 gap-4 mb-4"> | |
| <button class="layout-btn p-3 border rounded-lg hover:bg-gray-50" data-layout="l-shape"> | |
| <img src="http://static.photos/workspace/200x200/1" alt="L-Shape" class="w-full h-20 object-cover mb-2 rounded"> | |
| <span>L-Shape</span> | |
| </button> | |
| <button class="layout-btn p-3 border rounded-lg hover:bg-gray-50" data-layout="u-shape"> | |
| <img src="http://static.photos/workspace/200x200/2" alt="U-Shape" class="w-full h-20 object-cover mb-2 rounded"> | |
| <span>U-Shape</span> | |
| </button> | |
| <button class="layout-btn p-3 border rounded-lg hover:bg-gray-50" data-layout="galley"> | |
| <img src="http://static.photos/workspace/200x200/3" alt="Galley" class="w-full h-20 object-cover mb-2 rounded"> | |
| <span>Galley</span> | |
| </button> | |
| <button class="layout-btn p-3 border rounded-lg hover:bg-gray-50" data-layout="island"> | |
| <img src="http://static.photos/workspace/200x200/4" alt="Island" class="w-full h-20 object-cover mb-2 rounded"> | |
| <span>Island</span> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-white p-6 rounded-xl shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-4">Color & Materials</h2> | |
| <div class="mb-4"> | |
| <h3 class="font-medium mb-2">Cabinet Color</h3> | |
| <div class="flex flex-wrap gap-2"> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #f5f5f4;" data-target="cabinets" data-color="#f5f5f4"></button> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #e7e5e4;" data-target="cabinets" data-color="#e7e5e4"></button> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #57534e;" data-target="cabinets" data-color="#57534e"></button> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #1c1917;" data-target="cabinets" data-color="#1c1917"></button> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #7c2d12;" data-target="cabinets" data-color="#7c2d12"></button> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #365314;" data-target="cabinets" data-color="#365314"></button> | |
| <button class="color-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #1e40af;" data-target="cabinets" data-color="#1e40af"></button> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <h3 class="font-medium mb-2">Countertop</h3> | |
| <div class="flex flex-wrap gap-2"> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #f3f4f6;" data-target="countertop" data-material="quartz"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #d1d5db;" data-target="countertop" data-material="granite"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #9ca3af;" data-target="countertop" data-material="marble"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #f59e0b;" data-target="countertop" data-material="butcher-block"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #10b981;" data-target="countertop" data-material="concrete"></button> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <h3 class="font-medium mb-2">Backsplash</h3> | |
| <div class="flex flex-wrap gap-2"> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #f8fafc;" data-target="backsplash" data-material="subway-tile"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #e2e8f0;" data-target="backsplash" data-material="glass-tile"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #cbd5e1;" data-target="backsplash" data-material="mosaic"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #94a3b8;" data-target="backsplash" data-material="stone"></button> | |
| <button class="material-btn w-8 h-8 rounded-full border-2 border-white shadow" style="background-color: #64748b;" data-target="backsplash" data-material="metal"></button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Appliances Section --> | |
| <section class="mt-12 bg-white p-6 rounded-xl shadow-lg"> | |
| <h2 class="text-2xl font-semibold mb-6">Add Appliances & Tools</h2> | |
| <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-4"> | |
| <button class="appliance-btn p-3 border rounded-lg hover:bg-gray-50 flex flex-col items-center" data-appliance="refrigerator"> | |
| <i class="fas fa-refrigerator text-3xl mb-2"></i> | |
| <span>Refrigerator</span> | |
| </button> | |
| <button class="appliance-btn p-3 border rounded-lg hover:bg-gray-50 flex flex-col items-center" data-appliance="oven"> | |
| <i class="fas fa-oven text-3xl mb-2"></i> | |
| <span>Oven</span> | |
| </button> | |
| <button class="appliance-btn p-3 border rounded-lg hover:bg-gray-50 flex flex-col items-center" data-appliance="microwave"> | |
| <i class="fas fa-microwave text-3xl mb-2"></i> | |
| <span>Microwave</span> | |
| </button> | |
| <button class="appliance-btn p-3 border rounded-lg hover:bg-gray-50 flex flex-col items-center" data-appliance="sink"> | |
| <i class="fas fa-sink text-3xl mb-2"></i> | |
| <span>Sink</span> | |
| </button> | |
| <button class="appliance-btn p-3 border rounded-lg hover:bg-gray-50 flex flex-col items-center" data-appliance="dishwasher"> | |
| <i class="fas fa-dishwasher text-3xl mb-2"></i> | |
| <span>Dishwasher</span> | |
| </button> | |
| <button class="appliance-btn p-3 border rounded-lg hover:bg-gray-50 flex flex-col items-center" data-appliance="coffee-maker"> | |
| <i class="fas fa-coffee-pot text-3xl mb-2"></i> | |
| <span>Coffee Maker</span> | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Save Design Section --> | |
| <section class="mt-12 text-center"> | |
| <button id="save-design" class="bg-amber-500 hover:bg-amber-600 text-white font-semibold px-8 py-3 rounded-lg transition duration-300 inline-flex items-center text-lg"> | |
| <i class="fas fa-save mr-2"></i> Save My Kitchen Design | |
| </button> | |
| <p class="text-gray-600 mt-2">Save your design to revisit later or share with friends</p> | |
| </section> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script src="kitchen-visualizer.js"></script> | |
| <script>feather.replace();</script> | |
| </body> | |
| </html> |