Spaces:
Running
Running
CRIE UM CARDAPIO INTERATIVO MODERNO E BONITO DA EMPRESA JAIME SUSHI,deliivery em Praia Grande - SP - COMIDAS CHINESAS, SESSÕES DE PRATOSM PORÇÕES E BEBIDAS, NÃO USE EMOJIS OU ÍCONES MAS FOTOS DE IA DOS PRODUTOS, CARRINHO DE COMPRAS COMO FORMAS DE PAGAMENTO E FINALIZA O PEDIDO NO WHATSAPP +5513997678009 - Initial Deployment
Browse files- README.md +7 -5
- index.html +455 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: jaimesushi
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,455 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="pt-BR">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Jaime Sushi - Cardápio Digital</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<style>
|
| 9 |
+
.food-image {
|
| 10 |
+
height: 180px;
|
| 11 |
+
object-fit: cover;
|
| 12 |
+
transition: transform 0.3s ease;
|
| 13 |
+
}
|
| 14 |
+
.food-card:hover .food-image {
|
| 15 |
+
transform: scale(1.05);
|
| 16 |
+
}
|
| 17 |
+
.cart-item-enter {
|
| 18 |
+
animation: slideIn 0.3s forwards;
|
| 19 |
+
}
|
| 20 |
+
.cart-item-exit {
|
| 21 |
+
animation: slideOut 0.3s forwards;
|
| 22 |
+
}
|
| 23 |
+
@keyframes slideIn {
|
| 24 |
+
from { transform: translateX(100%); opacity: 0; }
|
| 25 |
+
to { transform: translateX(0); opacity: 1; }
|
| 26 |
+
}
|
| 27 |
+
@keyframes slideOut {
|
| 28 |
+
from { transform: translateX(0); opacity: 1; }
|
| 29 |
+
to { transform: translateX(100%); opacity: 0; }
|
| 30 |
+
}
|
| 31 |
+
.section-title {
|
| 32 |
+
position: relative;
|
| 33 |
+
display: inline-block;
|
| 34 |
+
}
|
| 35 |
+
.section-title:after {
|
| 36 |
+
content: '';
|
| 37 |
+
position: absolute;
|
| 38 |
+
width: 100%;
|
| 39 |
+
height: 3px;
|
| 40 |
+
bottom: -5px;
|
| 41 |
+
left: 0;
|
| 42 |
+
background: linear-gradient(90deg, #ef4444, #f97316);
|
| 43 |
+
}
|
| 44 |
+
</style>
|
| 45 |
+
</head>
|
| 46 |
+
<body class="bg-gray-100 font-sans">
|
| 47 |
+
<div class="container mx-auto px-4 py-8 max-w-6xl">
|
| 48 |
+
<!-- Header -->
|
| 49 |
+
<header class="text-center mb-12">
|
| 50 |
+
<h1 class="text-4xl font-bold text-gray-800 mb-2">JAIME SUSHI</h1>
|
| 51 |
+
<p class="text-lg text-gray-600 mb-4">Comida Chinesa e Japonesa • Delivery em Praia Grande - SP</p>
|
| 52 |
+
<div class="flex justify-center space-x-4 mb-6">
|
| 53 |
+
<button id="showMenuBtn" class="px-6 py-2 bg-red-500 text-white rounded-full font-medium hover:bg-red-600 transition">Cardápio</button>
|
| 54 |
+
<button id="showCartBtn" class="px-6 py-2 bg-amber-500 text-white rounded-full font-medium hover:bg-amber-600 transition">Meu Carrinho</button>
|
| 55 |
+
</div>
|
| 56 |
+
</header>
|
| 57 |
+
|
| 58 |
+
<!-- Menu Sections -->
|
| 59 |
+
<div id="menuContent">
|
| 60 |
+
<!-- Sushi Section -->
|
| 61 |
+
<section class="mb-16">
|
| 62 |
+
<h2 class="section-title text-2xl font-bold text-gray-800 mb-8">SUSHIS</h2>
|
| 63 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 64 |
+
<!-- Sushi Item 1 -->
|
| 65 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 66 |
+
<img src="https://images.unsplash.com/photo-1611143669185-af224c5e3252?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Sushi Salmão" class="food-image w-full">
|
| 67 |
+
<div class="p-4">
|
| 68 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Sushi Salmão</h3>
|
| 69 |
+
<p class="text-gray-600 mb-4">Tradicional sushi com salmão fresco e arroz temperado.</p>
|
| 70 |
+
<div class="flex justify-between items-center">
|
| 71 |
+
<span class="font-bold text-red-500">R$ 12,90</span>
|
| 72 |
+
<button onclick="addToCart('Sushi Salmão', 12.90, 'https://images.unsplash.com/photo-1611143669185-af224c5e3252?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
|
| 77 |
+
<!-- Sushi Item 2 -->
|
| 78 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 79 |
+
<img src="https://images.unsplash.com/photo-1579586337278-3befd40fd17a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Sushi Atum" class="food-image w-full">
|
| 80 |
+
<div class="p-4">
|
| 81 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Sushi Atum</h3>
|
| 82 |
+
<p class="text-gray-600 mb-4">Delicioso sushi com atum fresco e arroz vinagrado.</p>
|
| 83 |
+
<div class="flex justify-between items-center">
|
| 84 |
+
<span class="font-bold text-red-500">R$ 14,90</span>
|
| 85 |
+
<button onclick="addToCart('Sushi Atum', 14.90, 'https://images.unsplash.com/photo-1579586337278-3befd40fd17a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 86 |
+
</div>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
|
| 90 |
+
<!-- Sushi Item 3 -->
|
| 91 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 92 |
+
<img src="https://images.unsplash.com/photo-1553621042-f6e147245754?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Sushi Camarão" class="food-image w-full">
|
| 93 |
+
<div class="p-4">
|
| 94 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Sushi Camarão</h3>
|
| 95 |
+
<p class="text-gray-600 mb-4">Sushi com camarão empanado e molho especial.</p>
|
| 96 |
+
<div class="flex justify-between items-center">
|
| 97 |
+
<span class="font-bold text-red-500">R$ 16,90</span>
|
| 98 |
+
<button onclick="addToCart('Sushi Camarão', 16.90, 'https://images.unsplash.com/photo-1553621042-f6e147245754?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</section>
|
| 104 |
+
|
| 105 |
+
<!-- Chinese Food Section -->
|
| 106 |
+
<section class="mb-16">
|
| 107 |
+
<h2 class="section-title text-2xl font-bold text-gray-800 mb-8">COMIDAS CHINESAS</h2>
|
| 108 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 109 |
+
<!-- Chinese Item 1 -->
|
| 110 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 111 |
+
<img src="https://images.unsplash.com/photo-1563245372-f21724e3856d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Yakissoba" class="food-image w-full">
|
| 112 |
+
<div class="p-4">
|
| 113 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Yakissoba</h3>
|
| 114 |
+
<p class="text-gray-600 mb-4">Macarrão com legumes, carne e molho especial.</p>
|
| 115 |
+
<div class="flex justify-between items-center">
|
| 116 |
+
<span class="font-bold text-red-500">R$ 32,90</span>
|
| 117 |
+
<button onclick="addToCart('Yakissoba', 32.90, 'https://images.unsplash.com/photo-1563245372-f21724e3856d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 118 |
+
</div>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<!-- Chinese Item 2 -->
|
| 123 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 124 |
+
<img src="https://images.unsplash.com/photo-1585032226651-759b368d7246?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Frango Xadrez" class="food-image w-full">
|
| 125 |
+
<div class="p-4">
|
| 126 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Frango Xadrez</h3>
|
| 127 |
+
<p class="text-gray-600 mb-4">Frango com legumes e castanhas no molho especial.</p>
|
| 128 |
+
<div class="flex justify-between items-center">
|
| 129 |
+
<span class="font-bold text-red-500">R$ 28,90</span>
|
| 130 |
+
<button onclick="addToCart('Frango Xadrez', 28.90, 'https://images.unsplash.com/photo-1585032226651-759b368d7246?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
|
| 135 |
+
<!-- Chinese Item 3 -->
|
| 136 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 137 |
+
<img src="https://images.unsplash.com/photo-1630911426143-bf0a072d0c3e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Rolinho Primavera" class="food-image w-full">
|
| 138 |
+
<div class="p-4">
|
| 139 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Rolinho Primavera</h3>
|
| 140 |
+
<p class="text-gray-600 mb-4">6 unidades de rolinhos crocantes recheados.</p>
|
| 141 |
+
<div class="flex justify-between items-center">
|
| 142 |
+
<span class="font-bold text-red-500">R$ 18,90</span>
|
| 143 |
+
<button onclick="addToCart('Rolinho Primavera', 18.90, 'https://images.unsplash.com/photo-1630911426143-bf0a072d0c3e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</section>
|
| 149 |
+
|
| 150 |
+
<!-- Drinks Section -->
|
| 151 |
+
<section class="mb-16">
|
| 152 |
+
<h2 class="section-title text-2xl font-bold text-gray-800 mb-8">BEBIDAS</h2>
|
| 153 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 154 |
+
<!-- Drink Item 1 -->
|
| 155 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 156 |
+
<img src="https://images.unsplash.com/photo-1566633806327-68e152aaf26d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Chá Gelado" class="food-image w-full">
|
| 157 |
+
<div class="p-4">
|
| 158 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Chá Gelado</h3>
|
| 159 |
+
<p class="text-gray-600 mb-4">Chá verde gelado com limão e mel.</p>
|
| 160 |
+
<div class="flex justify-between items-center">
|
| 161 |
+
<span class="font-bold text-red-500">R$ 8,90</span>
|
| 162 |
+
<button onclick="addToCart('Chá Gelado', 8.90, 'https://images.unsplash.com/photo-1566633806327-68e152aaf26d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<!-- Drink Item 2 -->
|
| 168 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 169 |
+
<img src="https://images.unsplash.com/photo-1553456558-afff85c51b8e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Refrigerante" class="food-image w-full">
|
| 170 |
+
<div class="p-4">
|
| 171 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Refrigerante</h3>
|
| 172 |
+
<p class="text-gray-600 mb-4">Lata 350ml - Coca-Cola, Guaraná ou Fanta.</p>
|
| 173 |
+
<div class="flex justify-between items-center">
|
| 174 |
+
<span class="font-bold text-red-500">R$ 6,90</span>
|
| 175 |
+
<button onclick="addToCart('Refrigerante', 6.90, 'https://images.unsplash.com/photo-1553456558-afff85c51b8e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
|
| 180 |
+
<!-- Drink Item 3 -->
|
| 181 |
+
<div class="food-card bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
|
| 182 |
+
<img src="https://images.unsplash.com/photo-1600271886742-f049cd451bba?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Água Mineral" class="food-image w-full">
|
| 183 |
+
<div class="p-4">
|
| 184 |
+
<h3 class="font-bold text-xl text-gray-800 mb-2">Água Mineral</h3>
|
| 185 |
+
<p class="text-gray-600 mb-4">Garrafa 500ml - Com ou sem gás.</p>
|
| 186 |
+
<div class="flex justify-between items-center">
|
| 187 |
+
<span class="font-bold text-red-500">R$ 4,90</span>
|
| 188 |
+
<button onclick="addToCart('Água Mineral', 4.90, 'https://images.unsplash.com/photo-1600271886742-f049cd451bba?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80')" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600 transition">Adicionar</button>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
</section>
|
| 194 |
+
</div>
|
| 195 |
+
|
| 196 |
+
<!-- Shopping Cart (Hidden by default) -->
|
| 197 |
+
<div id="cartContent" class="hidden bg-white rounded-lg shadow-lg p-6 max-w-2xl mx-auto">
|
| 198 |
+
<div class="flex justify-between items-center mb-6">
|
| 199 |
+
<h2 class="text-2xl font-bold text-gray-800">Meu Carrinho</h2>
|
| 200 |
+
<button id="closeCartBtn" class="text-gray-500 hover:text-gray-700">
|
| 201 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
| 202 |
+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
| 203 |
+
</svg>
|
| 204 |
+
</button>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<div id="cartItems" class="mb-6 max-h-96 overflow-y-auto">
|
| 208 |
+
<!-- Cart items will be added here dynamically -->
|
| 209 |
+
<p id="emptyCartMessage" class="text-gray-500 text-center py-8">Seu carrinho está vazio</p>
|
| 210 |
+
</div>
|
| 211 |
+
|
| 212 |
+
<div class="border-t border-gray-200 pt-4">
|
| 213 |
+
<div class="flex justify-between mb-2">
|
| 214 |
+
<span class="font-medium text-gray-700">Subtotal:</span>
|
| 215 |
+
<span id="subtotal" class="font-medium">R$ 0,00</span>
|
| 216 |
+
</div>
|
| 217 |
+
<div class="flex justify-between mb-4">
|
| 218 |
+
<span class="font-medium text-gray-700">Taxa de Entrega:</span>
|
| 219 |
+
<span id="deliveryFee" class="font-medium">R$ 5,00</span>
|
| 220 |
+
</div>
|
| 221 |
+
<div class="flex justify-between text-lg font-bold text-gray-800 mb-6">
|
| 222 |
+
<span>Total:</span>
|
| 223 |
+
<span id="total">R$ 5,00</span>
|
| 224 |
+
</div>
|
| 225 |
+
|
| 226 |
+
<div class="mb-6">
|
| 227 |
+
<h3 class="font-medium text-gray-700 mb-2">Forma de Pagamento:</h3>
|
| 228 |
+
<div class="grid grid-cols-2 gap-2">
|
| 229 |
+
<button class="payment-method bg-gray-100 hover:bg-gray-200 py-2 px-4 rounded border border-gray-300 transition" data-method="Dinheiro">Dinheiro</button>
|
| 230 |
+
<button class="payment-method bg-gray-100 hover:bg-gray-200 py-2 px-4 rounded border border-gray-300 transition" data-method="Cartão">Cartão</button>
|
| 231 |
+
<button class="payment-method bg-gray-100 hover:bg-gray-200 py-2 px-4 rounded border border-gray-300 transition" data-method="PIX">PIX</button>
|
| 232 |
+
<button class="payment-method bg-gray-100 hover:bg-gray-200 py-2 px-4 rounded border border-gray-300 transition" data-method="Débito">Débito</button>
|
| 233 |
+
</div>
|
| 234 |
+
</div>
|
| 235 |
+
|
| 236 |
+
<div class="mb-6">
|
| 237 |
+
<h3 class="font-medium text-gray-700 mb-2">Endereço de Entrega:</h3>
|
| 238 |
+
<textarea id="deliveryAddress" class="w-full p-3 border border-gray-300 rounded focus:ring-2 focus:ring-red-500 focus:border-transparent" rows="2" placeholder="Informe seu endereço completo"></textarea>
|
| 239 |
+
</div>
|
| 240 |
+
|
| 241 |
+
<button id="checkoutBtn" class="w-full py-3 bg-green-600 text-white font-bold rounded-lg hover:bg-green-700 transition flex items-center justify-center">
|
| 242 |
+
Finalizar Pedido via WhatsApp
|
| 243 |
+
</button>
|
| 244 |
+
</div>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
|
| 248 |
+
<script>
|
| 249 |
+
// Cart functionality
|
| 250 |
+
let cart = [];
|
| 251 |
+
let selectedPaymentMethod = null;
|
| 252 |
+
|
| 253 |
+
// DOM Elements
|
| 254 |
+
const menuContent = document.getElementById('menuContent');
|
| 255 |
+
const cartContent = document.getElementById('cartContent');
|
| 256 |
+
const showMenuBtn = document.getElementById('showMenuBtn');
|
| 257 |
+
const showCartBtn = document.getElementById('showCartBtn');
|
| 258 |
+
const closeCartBtn = document.getElementById('closeCartBtn');
|
| 259 |
+
const cartItems = document.getElementById('cartItems');
|
| 260 |
+
const emptyCartMessage = document.getElementById('emptyCartMessage');
|
| 261 |
+
const subtotalElement = document.getElementById('subtotal');
|
| 262 |
+
const deliveryFeeElement = document.getElementById('deliveryFee');
|
| 263 |
+
const totalElement = document.getElementById('total');
|
| 264 |
+
const checkoutBtn = document.getElementById('checkoutBtn');
|
| 265 |
+
const deliveryAddress = document.getElementById('deliveryAddress');
|
| 266 |
+
const paymentMethods = document.querySelectorAll('.payment-method');
|
| 267 |
+
|
| 268 |
+
// Event Listeners
|
| 269 |
+
showMenuBtn.addEventListener('click', () => {
|
| 270 |
+
menuContent.classList.remove('hidden');
|
| 271 |
+
cartContent.classList.add('hidden');
|
| 272 |
+
});
|
| 273 |
+
|
| 274 |
+
showCartBtn.addEventListener('click', () => {
|
| 275 |
+
menuContent.classList.add('hidden');
|
| 276 |
+
cartContent.classList.remove('hidden');
|
| 277 |
+
updateCart();
|
| 278 |
+
});
|
| 279 |
+
|
| 280 |
+
closeCartBtn.addEventListener('click', () => {
|
| 281 |
+
cartContent.classList.add('hidden');
|
| 282 |
+
menuContent.classList.remove('hidden');
|
| 283 |
+
});
|
| 284 |
+
|
| 285 |
+
paymentMethods.forEach(method => {
|
| 286 |
+
method.addEventListener('click', () => {
|
| 287 |
+
paymentMethods.forEach(m => m.classList.remove('bg-red-500', 'text-white', 'border-red-500'));
|
| 288 |
+
method.classList.add('bg-red-500', 'text-white', 'border-red-500');
|
| 289 |
+
selectedPaymentMethod = method.dataset.method;
|
| 290 |
+
});
|
| 291 |
+
});
|
| 292 |
+
|
| 293 |
+
checkoutBtn.addEventListener('click', () => {
|
| 294 |
+
if (cart.length === 0) {
|
| 295 |
+
alert('Seu carrinho está vazio!');
|
| 296 |
+
return;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
if (!selectedPaymentMethod) {
|
| 300 |
+
alert('Selecione uma forma de pagamento!');
|
| 301 |
+
return;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
if (!deliveryAddress.value.trim()) {
|
| 305 |
+
alert('Informe o endereço de entrega!');
|
| 306 |
+
return;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
const total = calculateTotal();
|
| 310 |
+
const orderDetails = generateOrderDetails();
|
| 311 |
+
|
| 312 |
+
const whatsappMessage = encodeURIComponent(
|
| 313 |
+
`Olá, Jaime Sushi! Gostaria de fazer um pedido:\n\n` +
|
| 314 |
+
`${orderDetails}\n\n` +
|
| 315 |
+
`*Forma de Pagamento:* ${selectedPaymentMethod}\n` +
|
| 316 |
+
`*Endereço de Entrega:* ${deliveryAddress.value}\n\n` +
|
| 317 |
+
`*Total:* R$ ${total.toFixed(2)}`
|
| 318 |
+
);
|
| 319 |
+
|
| 320 |
+
window.open(`https://wa.me/5513997678009?text=${whatsappMessage}`, '_blank');
|
| 321 |
+
});
|
| 322 |
+
|
| 323 |
+
// Functions
|
| 324 |
+
function addToCart(name, price, image) {
|
| 325 |
+
const existingItem = cart.find(item => item.name === name);
|
| 326 |
+
|
| 327 |
+
if (existingItem) {
|
| 328 |
+
existingItem.quantity += 1;
|
| 329 |
+
} else {
|
| 330 |
+
cart.push({
|
| 331 |
+
name,
|
| 332 |
+
price,
|
| 333 |
+
image,
|
| 334 |
+
quantity: 1
|
| 335 |
+
});
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
updateCart();
|
| 339 |
+
|
| 340 |
+
// Show cart automatically when adding first item
|
| 341 |
+
if (cart.length === 1) {
|
| 342 |
+
menuContent.classList.add('hidden');
|
| 343 |
+
cartContent.classList.remove('hidden');
|
| 344 |
+
}
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
function updateCart() {
|
| 348 |
+
// Clear cart items
|
| 349 |
+
cartItems.innerHTML = '';
|
| 350 |
+
|
| 351 |
+
if (cart.length === 0) {
|
| 352 |
+
emptyCartMessage.classList.remove('hidden');
|
| 353 |
+
subtotalElement.textContent = 'R$ 0,00';
|
| 354 |
+
deliveryFeeElement.textContent = 'R$ 5,00';
|
| 355 |
+
totalElement.textContent = 'R$ 5,00';
|
| 356 |
+
return;
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
+
emptyCartMessage.classList.add('hidden');
|
| 360 |
+
|
| 361 |
+
// Add items to cart
|
| 362 |
+
cart.forEach((item, index) => {
|
| 363 |
+
const itemTotal = item.price * item.quantity;
|
| 364 |
+
|
| 365 |
+
const cartItemElement = document.createElement('div');
|
| 366 |
+
cartItemElement.className = 'flex items-center py-4 border-b border-gray-200 cart-item-enter';
|
| 367 |
+
cartItemElement.innerHTML = `
|
| 368 |
+
<img src="${item.image}" alt="${item.name}" class="w-16 h-16 object-cover rounded">
|
| 369 |
+
<div class="ml-4 flex-grow">
|
| 370 |
+
<h3 class="font-medium text-gray-800">${item.name}</h3>
|
| 371 |
+
<div class="flex items-center mt-1">
|
| 372 |
+
<button onclick="decreaseQuantity(${index})" class="text-gray-500 hover:text-red-500">
|
| 373 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
| 374 |
+
<path fill-rule="evenodd" d="M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z" clip-rule="evenodd" />
|
| 375 |
+
</svg>
|
| 376 |
+
</button>
|
| 377 |
+
<span class="mx-2 text-gray-700">${item.quantity}</span>
|
| 378 |
+
<button onclick="increaseQuantity(${index})" class="text-gray-500 hover:text-green-500">
|
| 379 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
| 380 |
+
<path fill-rule="evenodd" d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z" clip-rule="evenodd" />
|
| 381 |
+
</svg>
|
| 382 |
+
</button>
|
| 383 |
+
</div>
|
| 384 |
+
</div>
|
| 385 |
+
<div class="text-right">
|
| 386 |
+
<span class="font-medium text-gray-800">R$ ${itemTotal.toFixed(2)}</span>
|
| 387 |
+
<button onclick="removeFromCart(${index})" class="ml-2 text-red-500 hover:text-red-700">
|
| 388 |
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
|
| 389 |
+
<path fill-rule="evenodd" d="M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z" clip-rule="evenodd" />
|
| 390 |
+
</svg>
|
| 391 |
+
</button>
|
| 392 |
+
</div>
|
| 393 |
+
`;
|
| 394 |
+
|
| 395 |
+
cartItems.appendChild(cartItemElement);
|
| 396 |
+
});
|
| 397 |
+
|
| 398 |
+
// Update totals
|
| 399 |
+
const subtotal = calculateSubtotal();
|
| 400 |
+
const total = calculateTotal();
|
| 401 |
+
|
| 402 |
+
subtotalElement.textContent = `R$ ${subtotal.toFixed(2)}`;
|
| 403 |
+
totalElement.textContent = `R$ ${total.toFixed(2)}`;
|
| 404 |
+
}
|
| 405 |
+
|
| 406 |
+
function increaseQuantity(index) {
|
| 407 |
+
cart[index].quantity += 1;
|
| 408 |
+
updateCart();
|
| 409 |
+
}
|
| 410 |
+
|
| 411 |
+
function decreaseQuantity(index) {
|
| 412 |
+
if (cart[index].quantity > 1) {
|
| 413 |
+
cart[index].quantity -= 1;
|
| 414 |
+
} else {
|
| 415 |
+
removeFromCart(index);
|
| 416 |
+
return;
|
| 417 |
+
}
|
| 418 |
+
updateCart();
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
function removeFromCart(index) {
|
| 422 |
+
cart.splice(index, 1);
|
| 423 |
+
updateCart();
|
| 424 |
+
|
| 425 |
+
// If cart is empty, show menu again
|
| 426 |
+
if (cart.length === 0) {
|
| 427 |
+
menuContent.classList.remove('hidden');
|
| 428 |
+
cartContent.classList.add('hidden');
|
| 429 |
+
}
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
function calculateSubtotal() {
|
| 433 |
+
return cart.reduce((sum, item) => sum + (item.price * item.quantity), 0);
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
function calculateTotal() {
|
| 437 |
+
const subtotal = calculateSubtotal();
|
| 438 |
+
const deliveryFee = 5.00; // Fixed delivery fee
|
| 439 |
+
return subtotal + deliveryFee;
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
function generateOrderDetails() {
|
| 443 |
+
let details = '';
|
| 444 |
+
|
| 445 |
+
cart.forEach(item => {
|
| 446 |
+
details += `- ${item.name} (${item.quantity}x) - R$ ${(item.price * item.quantity).toFixed(2)}\n`;
|
| 447 |
+
});
|
| 448 |
+
|
| 449 |
+
details += `\n*Taxa de Entrega:* R$ 5,00`;
|
| 450 |
+
|
| 451 |
+
return details;
|
| 452 |
+
}
|
| 453 |
+
</script>
|
| 454 |
+
<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=Proimage/jaimesushi" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 455 |
+
</html>
|