Spaces:
Running
Running
Download index.html from diegoru/pizzapixel-palate: direct link, hf CLI and curl.
- Browser
- Download file 13.6 kB
-
https://huggingface.co/spaces/diegoru/pizzapixel-palate/resolve/main/index.html
- Command line
-
hf download hf://spaces/diegoru/pizzapixel-palate/index.html
-
curl -L -o index.html https://huggingface.co/spaces/diegoru/pizzapixel-palate/resolve/main/index.html
13.6 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Loja DGM | Ecommerce</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| dgm: { | |
| primary: '#FF0000', | |
| secondary: '#000000', | |
| accent: '#333333', | |
| light: '#F1F1F1' | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .category-btn.active { | |
| background-color: #FF0000; | |
| color: white; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-dgm-light"> | |
| <!-- Navigation --> | |
| <nav class="sticky top-0 z-50 bg-dgm-secondary text-white shadow-lg"> | |
| <div class="container mx-auto px-6 py-4"> | |
| <div class="flex justify-between items-center"> | |
| <div class="text-2xl font-bold text-dgm-primary">Loja DGM</div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="cars.html" class="hover:text-dgm-primary transition">Carros</a> | |
| <a href="landing.html" class="hover:text-dgm-primary transition">Landing</a> | |
| <a href="#products" class="hover:text-dgm-primary transition">Produtos</a> | |
| <a href="#categories" class="hover:text-dgm-primary transition">Categorias</a> | |
| <a href="#about" class="hover:text-dgm-primary transition">Sobre</a> | |
| <a href="#contact" class="hover:text-dgm-primary transition">Contato</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <a href="#cart"><i data-feather="shopping-cart" class="hover:text-dgm-primary"></i></a> | |
| <a href="#account"><i data-feather="user" class="hover:text-dgm-primary"></i></a> | |
| <button class="md:hidden"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="bg-dgm-secondary text-white py-20"> | |
| <div class="container mx-auto px-6 text-center"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6">Bem-vindo à Loja DGM</h1> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Os melhores produtos com os melhores preços</p> | |
| <a href="#products" class="bg-dgm-primary text-white px-8 py-3 rounded-md font-semibold hover:bg-red-700 transition">Ver Produtos</a> | |
| </div> | |
| </section> | |
| <!-- Products Section --> | |
| <section id="products" class="py-16"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Nossos Produtos</h2> | |
| <!-- Category Filter --> | |
| <div id="categories" class="flex overflow-x-auto pb-4 mb-8 space-x-2"> | |
| <button class="category-btn px-6 py-2 rounded-full bg-dgm-primary text-white whitespace-nowrap active">Todos</button> | |
| <button class="category-btn px-6 py-2 rounded-full bg-dgm-accent text-white whitespace-nowrap">Eletrônicos</button> | |
| <button class="category-btn px-6 py-2 rounded-full bg-dgm-accent text-white whitespace-nowrap">Roupas</button> | |
| <button class="category-btn px-6 py-2 rounded-full bg-dgm-accent text-white whitespace-nowrap">Acessórios</button> | |
| <button class="category-btn px-6 py-2 rounded-full bg-dgm-accent text-white whitespace-nowrap">Casa</button> | |
| </div> | |
| <!-- Product Grid --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| <!-- Product 1 --> | |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/technology/640x360/1" alt="Produto 1" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="text-lg font-bold">Smartphone Premium</h3> | |
| <span class="bg-dgm-primary text-white text-xs px-2 py-1 rounded">Novo</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mt-1">128GB, 8GB RAM, Câmera Tripla</p> | |
| <div class="mt-4 flex justify-between items-center"> | |
| <span class="text-xl font-bold text-dgm-primary">R$ 2.499</span> | |
| <button class="bg-dgm-primary text-white px-3 py-1 rounded hover:bg-red-700 transition">Comprar</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/technology/640x360/2" alt="Produto 2" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-bold">Notebook Ultra Slim</h3> | |
| <p class="text-gray-600 text-sm mt-1">i7, 16GB RAM, SSD 512GB</p> | |
| <div class="mt-4 flex justify-between items-center"> | |
| <span class="text-xl font-bold text-dgm-primary">R$ 4.299</span> | |
| <button class="bg-dgm-primary text-white px-3 py-1 rounded hover:bg-red-700 transition">Comprar</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/technology/640x360/3" alt="Produto 3" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-start"> | |
| <h3 class="text-lg font-bold">Fones Bluetooth</h3> | |
| <span class="bg-red-700 text-white text-xs px-2 py-1 rounded">-20%</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mt-1">Cancelamento de Ruído</p> | |
| <div class="mt-4 flex justify-between items-center"> | |
| <div> | |
| <span class="text-sm line-through text-gray-400">R$ 599</span> | |
| <span class="text-xl font-bold text-dgm-primary ml-2">R$ 479</span> | |
| </div> | |
| <button class="bg-dgm-primary text-white px-3 py-1 rounded hover:bg-red-700 transition">Comprar</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/technology/640x360/4" alt="Produto 4" class="w-full h-48 object-cover"> | |
| <div class="p-4"> | |
| <h3 class="text-lg font-bold">Smartwatch Pro</h3> | |
| <p class="text-gray-600 text-sm mt-1">Monitor Cardíaco, GPS</p> | |
| <div class="mt-4 flex justify-between items-center"> | |
| <span class="text-xl font-bold text-dgm-primary">R$ 899</span> | |
| <button class="bg-dgm-primary text-white px-3 py-1 rounded hover:bg-red-700 transition">Comprar</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section class="py-16 bg-dgm-secondary text-white"> | |
| <div class="container mx-auto px-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="text-center"> | |
| <i data-feather="truck" class="w-12 h-12 mx-auto mb-4 text-dgm-primary"></i> | |
| <h3 class="text-xl font-bold mb-2">Frete Grátis</h3> | |
| <p>Para compras acima de R$ 200 em todo o Brasil</p> | |
| </div> | |
| <div class="text-center"> | |
| <i data-feather="credit-card" class="w-12 h-12 mx-auto mb-4 text-dgm-primary"></i> | |
| <h3 class="text-xl font-bold mb-2">Parcelamento</h3> | |
| <p>Em até 12x sem juros no cartão</p> | |
| </div> | |
| <div class="text-center"> | |
| <i data-feather="shield" class="w-12 h-12 mx-auto mb-4 text-dgm-primary"></i> | |
| <h3 class="text-xl font-bold mb-2">Segurança</h3> | |
| <p>Site 100% seguro e protegido</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Newsletter --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-6 max-w-2xl text-center"> | |
| <h2 class="text-3xl font-bold mb-4">Receba nossas ofertas</h2> | |
| <p class="mb-6">Cadastre-se e receba promoções exclusivas por email</p> | |
| <div class="flex"> | |
| <input type="email" placeholder="Seu melhor email" class="flex-grow px-4 py-3 border border-gray-300 rounded-l focus:outline-none focus:ring-2 focus:ring-dgm-primary"> | |
| <button class="bg-dgm-primary text-white px-6 py-3 rounded-r hover:bg-red-700 transition">Cadastrar</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-dgm-secondary text-white py-8"> | |
| <div class="container mx-auto px-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold text-dgm-primary mb-4">Loja DGM</h3> | |
| <p>Os melhores produtos com os melhores preços.</p> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="index.html" class="hover:text-dgm-primary transition">Início</a></li> | |
| <li><a href="cars.html" class="hover:text-dgm-primary transition">Carros</a></li> | |
| <li><a href="landing.html" class="hover:text-dgm-primary transition">Landing</a></li> | |
| <li><a href="#products" class="hover:text-dgm-primary transition">Produtos</a></li> | |
| <li><a href="#about" class="hover:text-dgm-primary transition">Sobre</a></li> | |
| <li><a href="#contact" class="hover:text-dgm-primary transition">Contato</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Ajuda</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-dgm-primary transition">FAQ</a></li> | |
| <li><a href="#" class="hover:text-dgm-primary transition">Trocas e Devoluções</a></li> | |
| <li><a href="#" class="hover:text-dgm-primary transition">Política de Privacidade</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">Contato</h4> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center"> | |
| <i data-feather="mail" class="mr-2"></i> | |
| contato@lojadgm.com | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="phone" class="mr-2"></i> | |
| (11) 99999-9999 | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-dgm-accent mt-8 pt-8 text-center"> | |
| <p>© 2023 Loja DGM. Todos os direitos reservados.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| // Category filter | |
| const categoryBtns = document.querySelectorAll('.category-btn'); | |
| categoryBtns.forEach(btn => { | |
| btn.addEventListener('click', () => { | |
| categoryBtns.forEach(b => b.classList.remove('active')); | |
| btn.classList.add('active'); | |
| }); | |
| }); | |
| // Add to cart buttons | |
| const addButtons = document.querySelectorAll('.product-card button'); | |
| addButtons.forEach(button => { | |
| button.addEventListener('click', () => { | |
| const productName = button.closest('.product-card').querySelector('h3').textContent; | |
| const price = button.closest('.product-card').querySelector('span').textContent; | |
| alert(`Adicionado ao carrinho: ${productName} - ${price}`); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |