Spaces:
Running
Running
Create a visually attractive home page for Cakely, a cake marketplace for home bakers. Include a hero banner with tagline (e.g., 'Order handcrafted cakes near you'), featured cakes carousel, call-to-action buttons (Shop Now, Become a Baker), and short intro sections for Wedding Cakes, Birthday Cakes, and Reviews. - Initial Deployment
e578924 verified Download index.html from aliman98/cakelyadmin-cakeradmin: direct link, hf CLI and curl.
- Browser
- Download file 28.4 kB
-
https://huggingface.co/spaces/aliman98/cakelyadmin-cakeradmin/resolve/main/index.html
- Command line
-
hf download hf://spaces/aliman98/cakelyadmin-cakeradmin/index.html
-
curl -L -o index.html https://huggingface.co/spaces/aliman98/cakelyadmin-cakeradmin/resolve/main/index.html
28.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cakely - Handcrafted Cakes from Local Bakers</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| scroll-behavior: smooth; | |
| } | |
| .hero { | |
| background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1989&q=80'); | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| .cake-card { | |
| transition: transform 0.3s ease; | |
| } | |
| .cake-card:hover { | |
| transform: translateY(-10px); | |
| } | |
| .flavor-tag { | |
| position: absolute; | |
| top: 10px; | |
| right: 10px; | |
| z-index: 10; | |
| } | |
| .carousel { | |
| scroll-snap-type: x mandatory; | |
| } | |
| .carousel-item { | |
| scroll-snap-align: start; | |
| } | |
| .review-card { | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| } | |
| .category-card { | |
| transition: all 0.3s ease; | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| .category-card:hover { | |
| transform: scale(1.03); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-pink-50"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-lg sticky top-0 z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i class="fas fa-birthday-cake text-3xl text-pink-500 mr-2"></i> | |
| <span class="text-xl font-bold text-pink-600">Cakely</span> | |
| </div> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8"> | |
| <a href="#" class="text-pink-600 hover:text-pink-800 px-3 py-2 font-medium">Home</a> | |
| <a href="#" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium">Shop</a> | |
| <a href="#" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium">Bakers</a> | |
| <a href="#" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium">About</a> | |
| <a href="#" class="text-gray-700 hover:text-pink-600 px-3 py-2 font-medium">Contact</a> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="bg-pink-500 hover:bg-pink-600 text-white px-4 py-2 rounded-full font-medium transition duration-300"> | |
| Sign In | |
| </button> | |
| <button class="ml-4 md:hidden"> | |
| <i class="fas fa-bars text-gray-700 text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="hero h-96 flex items-center justify-center text-white"> | |
| <div class="text-center px-4"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-4">Order Handcrafted Cakes Near You</h1> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Discover delicious homemade cakes from talented local bakers in your community</p> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> | |
| <button class="bg-pink-500 hover:bg-pink-600 text-white px-6 py-3 rounded-full font-bold text-lg transition duration-300"> | |
| Shop Now | |
| </button> | |
| <button class="bg-white hover:bg-gray-100 text-pink-600 px-6 py-3 rounded-full font-bold text-lg transition duration-300"> | |
| Become a Baker | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Cakes Carousel --> | |
| <section class="py-12 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-2">Featured Cakes</h2> | |
| <div class="w-20 h-1 bg-pink-500 mx-auto"></div> | |
| </div> | |
| <div class="relative"> | |
| <div class="carousel flex overflow-x-auto pb-8 gap-6 scrollbar-hide"> | |
| <!-- Cake Card 1 --> | |
| <div class="cake-card flex-shrink-0 w-64 bg-white rounded-xl overflow-hidden shadow-lg carousel-item"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1559620192-032c4bc4674e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1889&q=80" alt="Chocolate Cake" class="w-full h-48 object-cover"> | |
| <span class="flavor-tag bg-pink-500 text-white text-xs px-2 py-1 rounded-full">Chocolate</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg mb-1">Decadent Chocolate Cake</h3> | |
| <p class="text-gray-600 text-sm mb-2">By Baker's Delight</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-bold text-pink-600">$32.99</span> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cake Card 2 --> | |
| <div class="cake-card flex-shrink-0 w-64 bg-white rounded-xl overflow-hidden shadow-lg carousel-item"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1571115177098-24ec42ed204d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80" alt="Vanilla Cake" class="w-full h-48 object-cover"> | |
| <span class="flavor-tag bg-blue-500 text-white text-xs px-2 py-1 rounded-full">Vanilla</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg mb-1">Classic Vanilla Dream</h3> | |
| <p class="text-gray-600 text-sm mb-2">By Sweet Creations</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-bold text-pink-600">$28.99</span> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="far fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cake Card 3 --> | |
| <div class="cake-card flex-shrink-0 w-64 bg-white rounded-xl overflow-hidden shadow-lg carousel-item"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1542829491-9b7f3a4e0d90?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80" alt="Red Velvet Cake" class="w-full h-48 object-cover"> | |
| <span class="flavor-tag bg-red-500 text-white text-xs px-2 py-1 rounded-full">Red Velvet</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg mb-1">Luxury Red Velvet</h3> | |
| <p class="text-gray-600 text-sm mb-2">By Cake Artistry</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-bold text-pink-600">$36.99</span> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cake Card 4 --> | |
| <div class="cake-card flex-shrink-0 w-64 bg-white rounded-xl overflow-hidden shadow-lg carousel-item"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1562440499-64c9a111f713?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80" alt="Lemon Cake" class="w-full h-48 object-cover"> | |
| <span class="flavor-tag bg-yellow-400 text-white text-xs px-2 py-1 rounded-full">Lemon</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg mb-1">Zesty Lemon Drizzle</h3> | |
| <p class="text-gray-600 text-sm mb-2">By Citrus Delights</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-bold text-pink-600">$30.99</span> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Cake Card 5 --> | |
| <div class="cake-card flex-shrink-0 w-64 bg-white rounded-xl overflow-hidden shadow-lg carousel-item"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1571115177098-24ec42ed204d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80" alt="Carrot Cake" class="w-full h-48 object-cover"> | |
| <span class="flavor-tag bg-orange-500 text-white text-xs px-2 py-1 rounded-full">Carrot</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold text-lg mb-1">Spiced Carrot Cake</h3> | |
| <p class="text-gray-600 text-sm mb-2">By Grandma's Recipes</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="font-bold text-pink-600">$29.99</span> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="far fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <button class="absolute left-0 top-1/2 transform -translate-y-1/2 bg-white rounded-full p-2 shadow-md ml-2 hidden md:block"> | |
| <i class="fas fa-chevron-left text-pink-500"></i> | |
| </button> | |
| <button class="absolute right-0 top-1/2 transform -translate-y-1/2 bg-white rounded-full p-2 shadow-md mr-2 hidden md:block"> | |
| <i class="fas fa-chevron-right text-pink-500"></i> | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Categories Section --> | |
| <section class="py-12 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-2">Our Cake Categories</h2> | |
| <div class="w-20 h-1 bg-pink-500 mx-auto"></div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Wedding Cakes --> | |
| <div class="category-card relative rounded-xl overflow-hidden h-64" style="background-image: url('https://images.unsplash.com/photo-1513151233558-d860c5398176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80');"> | |
| <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center"> | |
| <div class="text-center text-white p-4"> | |
| <h3 class="text-2xl font-bold mb-2">Wedding Cakes</h3> | |
| <p class="mb-4">Elegant designs for your special day</p> | |
| <button class="bg-white hover:bg-gray-100 text-pink-600 px-4 py-2 rounded-full font-medium transition duration-300"> | |
| View Collection | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Birthday Cakes --> | |
| <div class="category-card relative rounded-xl overflow-hidden h-64" style="background-image: url('https://images.unsplash.com/photo-1559620192-032c4bc4674e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1889&q=80');"> | |
| <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center"> | |
| <div class="text-center text-white p-4"> | |
| <h3 class="text-2xl font-bold mb-2">Birthday Cakes</h3> | |
| <p class="mb-4">Celebrate in style with our custom creations</p> | |
| <button class="bg-white hover:bg-gray-100 text-pink-600 px-4 py-2 rounded-full font-medium transition duration-300"> | |
| View Collection | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Special Occasions --> | |
| <div class="category-card relative rounded-xl overflow-hidden h-64" style="background-image: url('https://images.unsplash.com/photo-1571115177098-24ec42ed204d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80');"> | |
| <div class="absolute inset-0 bg-black bg-opacity-40 flex items-center justify-center"> | |
| <div class="text-center text-white p-4"> | |
| <h3 class="text-2xl font-bold mb-2">Special Occasions</h3> | |
| <p class="mb-4">Perfect cakes for any celebration</p> | |
| <button class="bg-white hover:bg-gray-100 text-pink-600 px-4 py-2 rounded-full font-medium transition duration-300"> | |
| View Collection | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- How It Works --> | |
| <section class="py-12 bg-pink-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-2">How Cakely Works</h2> | |
| <div class="w-20 h-1 bg-pink-500 mx-auto"></div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="text-center p-6 bg-white rounded-xl shadow-md"> | |
| <div class="w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-search text-pink-500 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Browse Local Bakers</h3> | |
| <p class="text-gray-600">Discover talented home bakers in your area and explore their cake collections.</p> | |
| </div> | |
| <div class="text-center p-6 bg-white rounded-xl shadow-md"> | |
| <div class="w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-cake text-pink-500 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Place Your Order</h3> | |
| <p class="text-gray-600">Select your favorite cake, choose pickup or delivery, and place your order.</p> | |
| </div> | |
| <div class="text-center p-6 bg-white rounded-xl shadow-md"> | |
| <div class="w-16 h-16 bg-pink-100 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-heart text-pink-500 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Enjoy & Review</h3> | |
| <p class="text-gray-600">Savor your delicious cake and leave a review to support local bakers.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section class="py-12 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-2">What Our Customers Say</h2> | |
| <div class="w-20 h-1 bg-pink-500 mx-auto"></div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="review-card bg-pink-50 rounded-xl p-6"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/women/32.jpg" alt="Sarah J." class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold">Sarah J.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"The chocolate cake I ordered for my daughter's birthday was absolutely divine! It was moist, rich, and beautifully decorated. Will definitely order again!"</p> | |
| </div> | |
| <div class="review-card bg-pink-50 rounded-xl p-6"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/men/45.jpg" alt="Michael T." class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold">Michael T.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"Found an amazing local baker through Cakely for our anniversary. The cake was not only beautiful but tasted incredible. So much better than store-bought!"</p> | |
| </div> | |
| <div class="review-card bg-pink-50 rounded-xl p-6"> | |
| <div class="flex items-center mb-4"> | |
| <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Jennifer L." class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold">Jennifer L.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"As a home baker myself, I love supporting others in the community. Cakely makes it so easy to find and order from talented bakers nearby."</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Call to Action --> | |
| <section class="py-16 bg-pink-600 text-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <h2 class="text-3xl font-bold mb-4">Ready to Order or Sell?</h2> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of happy customers and bakers in our community</p> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4"> | |
| <button class="bg-white hover:bg-gray-100 text-pink-600 px-6 py-3 rounded-full font-bold text-lg transition duration-300"> | |
| Shop Cakes | |
| </button> | |
| <button class="bg-pink-800 hover:bg-pink-900 text-white px-6 py-3 rounded-full font-bold text-lg transition duration-300"> | |
| Start Baking | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <i class="fas fa-birthday-cake text-2xl text-pink-500 mr-2"></i> | |
| <span class="text-xl font-bold">Cakely</span> | |
| </div> | |
| <p class="text-gray-400">Connecting cake lovers with talented home bakers in their community.</p> | |
| <div class="flex mt-4 space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-pinterest"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">About Us</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Shop</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Bakers</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Categories</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Wedding Cakes</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Birthday Cakes</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Cupcakes</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Special Occasions</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Custom Orders</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Newsletter</h3> | |
| <p class="text-gray-400 mb-4">Subscribe to get updates on new bakers and special offers.</p> | |
| <div class="flex"> | |
| <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-full w-full text-gray-800"> | |
| <button class="bg-pink-500 hover:bg-pink-600 px-4 py-2 rounded-r-full"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2023 Cakely. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple carousel functionality | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const carousel = document.querySelector('.carousel'); | |
| const items = document.querySelectorAll('.cake-card'); | |
| const prevBtn = document.querySelector('button:nth-of-type(1)'); | |
| const nextBtn = document.querySelector('button:nth-of-type(2)'); | |
| let currentIndex = 0; | |
| function updateCarousel() { | |
| const itemWidth = items[0].offsetWidth + 24; // width + gap | |
| carousel.scrollTo({ | |
| left: currentIndex * itemWidth, | |
| behavior: 'smooth' | |
| }); | |
| } | |
| nextBtn.addEventListener('click', function() { | |
| if (currentIndex < items.length - 3) { | |
| currentIndex++; | |
| updateCarousel(); | |
| } | |
| }); | |
| prevBtn.addEventListener('click', function() { | |
| if (currentIndex > 0) { | |
| currentIndex--; | |
| updateCarousel(); | |
| } | |
| }); | |
| // Responsive adjustments | |
| function handleResize() { | |
| if (window.innerWidth < 768) { | |
| carousel.scrollTo({ | |
| left: 0, | |
| behavior: 'auto' | |
| }); | |
| currentIndex = 0; | |
| } | |
| } | |
| window.addEventListener('resize', handleResize); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=aliman98/cakelyadmin-cakeradmin" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |