Spaces:
Running
Running
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Mate Desktop Simulator</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="components/top-panel.js"></script> | |
| <script src="components/bottom-panel.js"></script> | |
| <script src="components/desktop-icon.js"></script> | |
| <script src="components/window.js"></script> | |
| </head> | |
| <body class="bg-zinc-900 overflow-hidden select-none"> | |
| <div id="desktop" class="relative w-full h-screen"> | |
| <!-- Wallpaper Pattern --> | |
| <div class="absolute inset-0 bg-gradient-to-br from-zinc-900 via-zinc-800 to-zinc-900 opacity-90"></div> | |
| <div class="absolute inset-0" style="background-image: radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(217, 70, 239, 0.05) 0%, transparent 50%);"></div> | |
| <!-- Desktop Icons --> | |
| <div class="absolute top-8 left-8 space-y-4"> | |
| <desktop-icon name="Página Inicial" icon="home" color="text-blue-400"></desktop-icon> | |
| <desktop-icon name="Documentos" icon="file-text" color="text-yellow-400"></desktop-icon> | |
| <desktop-icon name="Imagens" icon="image" color="text-green-400"></desktop-icon> | |
| <desktop-icon name="Música" icon="music" color="text-purple-400"></desktop-icon> | |
| <desktop-icon name="Vídeos" icon="film" color="text-red-400"></desktop-icon> | |
| <desktop-icon name="Lixeira" icon="trash-2" color="text-zinc-400"></desktop-icon> | |
| </div> | |
| <div class="absolute top-8 right-8 space-y-4"> | |
| <desktop-icon name="Terminal" icon="terminal" color="text-green-400"></desktop-icon> | |
| <desktop-icon name="Navegador Web" icon="globe" color="text-blue-400"></desktop-icon> | |
| <desktop-icon name="Editor de Texto" icon="edit-3" color="text-orange-400"></desktop-icon> | |
| </div> | |
| <!-- Windows Container --> | |
| <div id="windows-container" class="absolute inset-0"> | |
| <!-- Sample Window 1 --> | |
| <app-window id="window1" title="Terminal" icon="terminal" width="600" height="400" x="100" y="150"> | |
| <div class="bg-black h-full p-4 font-mono text-sm text-green-400 overflow-auto"> | |
| <div>mate@mate-desktop:~$ sudo apt update</div> | |
| <div>[sudo] password for mate: ********</div> | |
| <div>0% [Conectando archive.ubuntu.com]</div> | |
| <div class="mt-2">mate@mate-desktop:~$ _</div> | |
| </div> | |
| </app-window> | |
| <!-- Sample Window 2 --> | |
| <app-window id="window2" title="Editor de Texto" icon="edit-3" width="500" height="350" x="300" y="200"> | |
| <div class="bg-zinc-800 h-full p-4"> | |
| <textarea class="w-full h-full bg-zinc-900 text-zinc-200 p-2 rounded resize-none outline-none" placeholder="Comece a digitar...">Bem-vindo ao MATE Desktop! | |
| Este é um ambiente de trabalho simples e elegante, | |
| baseado na tradição do GNOME 2.</textarea> | |
| </div> | |
| </app-window> | |
| <!-- Sample Window 3 --> | |
| <app-window id="window3" title="Visualizador de Imagens" icon="image" width="450" height="380" x="450" y="100"> | |
| <div class="bg-zinc-800 h-full p-4 flex items-center justify-center"> | |
| <img src="http://static.photos/nature/400x300/42" alt="Nature" class="rounded shadow-lg"> | |
| </div> | |
| </app-window> | |
| </div> | |
| <!-- Top Panel --> | |
| <top-panel></top-panel> | |
| <!-- Bottom Panel --> | |
| <bottom-panel></bottom-panel> | |
| </div> | |
| <!-- Context Menu --> | |
| <div id="context-menu" class="hidden fixed bg-zinc-800 border border-zinc-700 rounded-lg shadow-xl py-1 z-50"> | |
| <button class="w-full px-4 py-2 text-left text-zinc-200 hover:bg-zinc-700 flex items-center gap-2 text-sm"> | |
| <i data-feather="folder-plus" class="w-4 h-4"></i> | |
| Nova Pasta | |
| </button> | |
| <button class="w-full px-4 py-2 text-left text-zinc-200 hover:bg-zinc-700 flex items-center gap-2 text-sm"> | |
| <i data-feather="file-plus" class="w-4 h-4"></i> | |
| Novo Documento | |
| </button> | |
| <hr class="my-1 border-zinc-700"> | |
| <button class="w-full px-4 py-2 text-left text-zinc-200 hover:bg-zinc-700 flex items-center gap-2 text-sm"> | |
| <i data-feather="refresh-cw" class="w-4 h-4"></i> | |
| Atualizar | |
| </button> | |
| <button class="w-full px-4 py-2 text-left text-zinc-200 hover:bg-zinc-700 flex items-center gap-2 text-sm"> | |
| <i data-feather="grid" class="w-4 h-4"></i> | |
| Organizar Ícones | |
| </button> | |
| <hr class="my-1 border-zinc-700"> | |
| <button class="w-full px-4 py-2 text-left text-zinc-200 hover:bg-zinc-700 flex items-center gap-2 text-sm"> | |
| <i data-feather="settings" class="w-4 h-4"></i> | |
| Configurações | |
| </button> | |
| </div> | |
| <!-- App Menu --> | |
| <div id="app-menu" class="hidden fixed bg-zinc-800 border border-zinc-700 rounded-lg shadow-xl z-50"> | |
| <div class="p-2"> | |
| <div class="grid grid-cols-3 gap-1"> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="globe" class="w-8 h-8 mb-1 text-blue-400"></i> | |
| <span class="text-xs">Internet</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="mail" class="w-8 h-8 mb-1 text-red-400"></i> | |
| <span class="text-xs">Email</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="edit-3" class="w-8 h-8 mb-1 text-orange-400"></i> | |
| <span class="text-xs">Escritório</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="image" class="w-8 h-8 mb-1 text-green-400"></i> | |
| <span class="text-xs">Gráficos</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="music" class="w-8 h-8 mb-1 text-purple-400"></i> | |
| <span class="text-xs">Áudio e Vídeo</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="terminal" class="w-8 h-8 mb-1 text-green-500"></i> | |
| <span class="text-xs">Sistema</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="tool" class="w-8 h-8 mb-1 text-yellow-400"></i> | |
| <span class="text-xs">Ferramentas</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="help-circle" class="w-8 h-8 mb-1 text-cyan-400"></i> | |
| <span class="text-xs">Ajuda</span> | |
| </button> | |
| <button class="flex flex-col items-center p-3 hover:bg-zinc-700 rounded text-zinc-200 transition-all"> | |
| <i data-feather="settings" class="w-8 h-8 mb-1 text-zinc-400"></i> | |
| <span class="text-xs">Preferências</span> | |
| </button> | |
| </div> | |
| <hr class="my-2 border-zinc-700"> | |
| <button class="w-full px-3 py-2 text-left text-zinc-200 hover:bg-zinc-700 rounded flex items-center gap-2 text-sm"> | |
| <i data-feather="search" class="w-4 h-4"></i> | |
| Pesquisar Aplicativo... | |
| </button> | |
| <button class="w-full px-3 py-2 text-left text-zinc-200 hover:bg-zinc-700 rounded flex items-center gap-2 text-sm"> | |
| <i data-feather="folder" class="w-4 h-4"></i> | |
| Pastas Recentes | |
| </button> | |
| <button class="w-full px-3 py-2 text-left text-zinc-200 hover:bg-zinc-700 rounded flex items-center gap-2 text-sm"> | |
| <i data-feather="file" class="w-4 h-4"></i> | |
| Documentos Recentes | |
| </button> | |
| <hr class="my-2 border-zinc-700"> | |
| <button class="w-full px-3 py-2 text-left text-zinc-200 hover:bg-zinc-700 rounded flex items-center gap-2 text-sm"> | |
| <i data-feather="log-out" class="w-4 h-4"></i> | |
| Encerrar Sessão | |
| </button> | |
| </div> | |
| </div> | |
| <script src="script.js"></script> | |
| <script> | |
| // Inicializa os Feather Icons | |
| document.addEventListener('DOMContentLoaded', () => { | |
| feather.replace(); | |
| // Re-inicializa os ícones quando novos componentes são adicionados | |
| const observer = new MutationObserver(() => { | |
| feather.replace(); | |
| }); | |
| observer.observe(document.body, { | |
| childList: true, | |
| subtree: true | |
| }); | |
| }); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| <script src="components/sidebar.js"></script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |