Diogog commited on
Commit
04caf07
·
verified ·
1 Parent(s): 466ca42

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +288 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Webbo
3
- emoji: 😻
4
- colorFrom: purple
5
- colorTo: blue
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: webbo
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,288 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Sistema NFe</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
9
+ <style>
10
+ body {
11
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
12
+ background-color: #f8f9fa;
13
+ }
14
+ .card-effect {
15
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
16
+ border-radius: 12px;
17
+ background-color: white;
18
+ }
19
+ @media (max-width: 640px) {
20
+ .navbar-items {
21
+ display: none;
22
+ }
23
+ .mobile-menu-button {
24
+ display: block;
25
+ }
26
+ }
27
+ </style>
28
+ </head>
29
+ <body class="min-h-screen flex flex-col">
30
+ <!-- Navbar -->
31
+ <header class="bg-white shadow-md fixed w-full z-10">
32
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
33
+ <div class="text-2xl font-bold text-blue-600">SistemaNFe</div>
34
+
35
+ <!-- Desktop Nav -->
36
+ <nav class="navbar-items hidden md:block">
37
+ <ul class="flex space-x-6">
38
+ <li><a href="#" class="text-gray-600 hover:text-blue-600 transition">Home</a></li>
39
+ <li><a href="#" onclick="showConstruction()" class="text-gray-600 hover:text-blue-600 transition">Login</a></li>
40
+ <li><a href="#" onclick="showConstruction()" class="text-gray-600 hover:text-blue-600 transition">Registrar</a></li>
41
+ <li><a href="#" onclick="showConstruction()" class="text-gray-600 hover:text-blue-600 transition">Sobre Nós</a></li>
42
+ <li><a href="#nfe-reader" class="text-blue-600 font-medium hover:text-blue-800 transition">Leitor NFe</a></li>
43
+ </ul>
44
+ </nav>
45
+
46
+ <!-- Mobile Menu Button -->
47
+ <button class="mobile-menu-button md:hidden text-gray-600" onclick="toggleMobileMenu()">
48
+ <i class="fas fa-bars text-2xl"></i>
49
+ </button>
50
+ </div>
51
+
52
+ <!-- Mobile Menu -->
53
+ <div id="mobileMenu" class="hidden md:hidden bg-white border-t">
54
+ <ul class="flex flex-col space-y-2 px-4 py-3">
55
+ <li><a href="#" class="block text-gray-600 hover:text-blue-600 transition p-2">Home</a></li>
56
+ <li><a href="#" onclick="showConstruction()" class="block text-gray-600 hover:text-blue-600 transition p-2">Login</a></li>
57
+ <li><a href="#" onclick="showConstruction()" class="block text-gray-600 hover:text-blue-600 transition p-2">Registrar</a></li>
58
+ <li><a href="#" onclick="showConstruction()" class="block text-gray-600 hover:text-blue-600 transition p-2">Sobre Nós</a></li>
59
+ <li><a href="#nfe-reader" class="block text-blue-600 font-medium hover:text-blue-800 transition p-2">Leitor NFe</a></li>
60
+ </ul>
61
+ </div>
62
+ </header>
63
+
64
+ <!-- Main Content Container -->
65
+ <main class="flex-grow container mx-auto px-4 pt-24 pb-16">
66
+ <!-- Page Content -->
67
+ <div id="pageContent">
68
+ <!-- Home Page (default content) -->
69
+ <div id="homePage">
70
+ <!-- Hero Image -->
71
+ <div class="card-effect mb-8 overflow-hidden">
72
+ <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80"
73
+ alt="Financial analysis" class="w-full h-64 md:h-80 object-cover">
74
+ </div>
75
+
76
+ <!-- Description -->
77
+ <div class="card-effect p-6 mb-8">
78
+ <h2 class="text-2xl font-semibold text-gray-800 mb-4">Sistema Avançado de Gestão NFe</h2>
79
+ <p class="text-gray-600 leading-relaxed">
80
+ Bem-vindo ao nosso sistema especializado em Notas Fiscais Eletrônicas. Oferecemos soluções completas para gestão,
81
+ análise e automação de processos relacionados a NFes. Nossa plataforma foi desenvolvida para facilitar o dia a dia
82
+ de empresas que lidam com grandes volumes de documentos fiscais.
83
+ </p>
84
+ </div>
85
+
86
+ <!-- Features Section -->
87
+ <div class="space-y-8">
88
+ <!-- Feature 1 -->
89
+ <div class="card-effect p-6 flex flex-col md:flex-row items-start">
90
+ <div class="flex-shrink-0 mb-4 md:mb-0 md:mr-6">
91
+ <div class="w-16 h-16 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
92
+ <i class="fas fa-file-invoice-dollar text-2xl"></i>
93
+ </div>
94
+ </div>
95
+ <div>
96
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Leitura Automatizada</h3>
97
+ <p class="text-gray-600">
98
+ Sistema inteligente que identifica e extrai automaticamente os dados principais de qualquer NFe.
99
+ </p>
100
+ </div>
101
+ </div>
102
+
103
+ <!-- Feature 2 -->
104
+ <div class="card-effect p-6 flex flex-col md:flex-row items-start">
105
+ <div class="flex-shrink-0 mb-4 md:mb-0 md:mr-6">
106
+ <div class="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center text-green-600">
107
+ <i class="fas fa-shield-alt text-2xl"></i>
108
+ </div>
109
+ </div>
110
+ <div>
111
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Validação Segura</h3>
112
+ <p class="text-gray-600">
113
+ Verificação completa da autenticidade dos documentos com criptografia de ponta a ponta.
114
+ </p>
115
+ </div>
116
+ </div>
117
+
118
+ <!-- Feature 3 -->
119
+ <div class="card-effect p-6 flex flex-col md:flex-row items-start">
120
+ <div class="flex-shrink-0 mb-4 md:mb-0 md:mr-6">
121
+ <div class="w-16 h-16 rounded-full bg-purple-100 flex items-center justify-center text-purple-600">
122
+ <i class="fas fa-chart-line text-2xl"></i>
123
+ </div>
124
+ </div>
125
+ <div>
126
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Relatórios Customizáveis</h3>
127
+ <p class="text-gray-600">
128
+ Geração de relatórios detalhados com filtros personalizados para análise de dados fiscais.
129
+ </p>
130
+ </div>
131
+ </div>
132
+
133
+ <!-- Feature 4 -->
134
+ <div class="card-effect p-6 flex flex-col md:flex-row items-start">
135
+ <div class="flex-shrink-0 mb-4 md:mb-0 md:mr-6">
136
+ <div class="w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
137
+ <i class="fas fa-cloud-upload-alt text-2xl"></i>
138
+ </div>
139
+ </div>
140
+ <div>
141
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Integração Contínua</h3>
142
+ <p class="text-gray-600">
143
+ Conecte-se facilmente com os principais sistemas ERP do mercado para sincronização de dados.
144
+ </p>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ </div>
149
+
150
+ <!-- NFe Reader Page -->
151
+ <div id="nfeReaderPage" class="hidden">
152
+ <div class="card-effect p-8 max-w-2xl mx-auto text-center">
153
+ <h2 class="text-2xl font-semibold text-gray-800 mb-6">Leitor de Nota Fiscal Eletrônica</h2>
154
+
155
+ <div class="mb-8">
156
+ <img src="https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80"
157
+ alt="Document analysis" class="w-64 h-64 mx-auto object-cover rounded-lg shadow">
158
+ </div>
159
+
160
+ <div class="mb-6">
161
+ <label for="nfeOptions" class="block text-gray-700 font-medium mb-2">Selecione uma opção:</label>
162
+ <select id="nfeOptions" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
163
+ <option value="check">Checar Nota Fiscal</option>
164
+ <option value="5">5</option>
165
+ <option value="30">30</option>
166
+ </select>
167
+ </div>
168
+
169
+ <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-md transition duration-300">
170
+ Processar Nota
171
+ </button>
172
+ </div>
173
+ </div>
174
+
175
+ <!-- Construction Page -->
176
+ <div id="constructionPage" class="hidden">
177
+ <div class="card-effect p-8 max-w-2xl mx-auto text-center">
178
+ <div class="text-6xl text-gray-400 mb-6">
179
+ <i class="fas fa-tools"></i>
180
+ </div>
181
+ <h2 class="text-2xl font-semibold text-gray-800 mb-4">Página em Construção</h2>
182
+ <p class="text-gray-600 mb-6">
183
+ Estamos trabalhando para trazer a você a melhor experiência possível.
184
+ Esta funcionalidade estará disponível em breve!
185
+ </p>
186
+ <button onclick="backToHome()" class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-md transition duration-300">
187
+ Voltar para Home
188
+ </button>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </main>
193
+
194
+ <!-- Footer -->
195
+ <footer class="bg-gray-800 text-white py-8">
196
+ <div class="container mx-auto px-4">
197
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
198
+ <div>
199
+ <h3 class="text-lg font-semibold mb-4">Sobre Nós</h3>
200
+ <p class="text-gray-300">
201
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam in dui mauris. Vivamus hendrerit arcu sed erat molestie vehicula.
202
+ </p>
203
+ </div>
204
+ <div>
205
+ <h3 class="text-lg font-semibold mb-4">Serviços</h3>
206
+ <p class="text-gray-300">
207
+ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.
208
+ </p>
209
+ </div>
210
+ <div>
211
+ <h3 class="text-lg font-semibold mb-4">Contato</h3>
212
+ <p class="text-gray-300">
213
+ At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque.
214
+ </p>
215
+ </div>
216
+ </div>
217
+ <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
218
+ &copy; 2023 SistemaNFe. Todos os direitos reservados.
219
+ </div>
220
+ </div>
221
+ </footer>
222
+
223
+ <script>
224
+ // Handle mobile menu toggle
225
+ function toggleMobileMenu() {
226
+ const mobileMenu = document.getElementById('mobileMenu');
227
+ mobileMenu.classList.toggle('hidden');
228
+ }
229
+
230
+ // Show construction page
231
+ function showConstruction() {
232
+ document.getElementById('homePage').classList.add('hidden');
233
+ document.getElementById('nfeReaderPage').classList.add('hidden');
234
+ document.getElementById('constructionPage').classList.remove('hidden');
235
+ window.scrollTo(0, 0);
236
+ return false; // Prevent default anchor behavior
237
+ }
238
+
239
+ // Back to home from construction page
240
+ function backToHome() {
241
+ document.getElementById('homePage').classList.remove('hidden');
242
+ document.getElementById('constructionPage').classList.add('hidden');
243
+ window.scrollTo(0, 0);
244
+ }
245
+
246
+ // Handle navigation between pages
247
+ document.addEventListener('DOMContentLoaded', function() {
248
+ // Check for hash in URL (for NFe Reader link)
249
+ if (window.location.hash === '#nfe-reader') {
250
+ document.getElementById('homePage').classList.add('hidden');
251
+ document.getElementById('nfeReaderPage').classList.remove('hidden');
252
+ window.scrollTo(0, 0);
253
+ }
254
+
255
+ // Add click handlers for navigation
256
+ document.querySelectorAll('a[href="#"]').forEach(link => {
257
+ link.addEventListener('click', function(e) {
258
+ if (this.textContent.toLowerCase() !== 'home') {
259
+ showConstruction();
260
+ e.preventDefault();
261
+ }
262
+ });
263
+ });
264
+
265
+ // Home link should always show home page
266
+ document.querySelectorAll('a[href="#"]').forEach(link => {
267
+ if (link.textContent.toLowerCase() === 'home') {
268
+ link.addEventListener('click', function(e) {
269
+ document.getElementById('homePage').classList.remove('hidden');
270
+ document.getElementById('nfeReaderPage').classList.add('hidden');
271
+ document.getElementById('constructionPage').classList.add('hidden');
272
+ window.scrollTo(0, 0);
273
+ });
274
+ }
275
+ });
276
+
277
+ // NFe Reader link handler (if not using hash)
278
+ document.querySelectorAll('a[href="#nfe-reader"]').forEach(link => {
279
+ link.addEventListener('click', function(e) {
280
+ document.getElementById('homePage').classList.add('hidden');
281
+ document.getElementById('nfeReaderPage').classList.remove('hidden');
282
+ window.scrollTo(0, 0);
283
+ });
284
+ });
285
+ });
286
+ </script>
287
+ <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=Diogog/webbo" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
288
+ </html>