Spaces:
Running
Running
Download index.html from Temafeika/helloartem: direct link, hf CLI and curl.
- Browser
- Download file 4.11 kB
-
https://huggingface.co/spaces/Temafeika/helloartem/resolve/main/index.html
- Command line
-
hf download hf://spaces/Temafeika/helloartem/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Temafeika/helloartem/resolve/main/index.html
4.11 kB
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Приветствие</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> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .wave { | |
| animation: wave 3s linear infinite; | |
| } | |
| @keyframes wave { | |
| 0% { transform: rotate(0deg); } | |
| 25% { transform: rotate(5deg); } | |
| 50% { transform: rotate(0deg); } | |
| 75% { transform: rotate(-5deg); } | |
| 100% { transform: rotate(0deg); } | |
| } | |
| </style> | |
| </head> | |
| <body class="gradient-bg min-h-screen flex flex-col items-center justify-center p-4"> | |
| <div class="bg-white/10 backdrop-blur-md rounded-2xl shadow-2xl p-8 max-w-md w-full text-center overflow-hidden"> | |
| <div class="wave inline-block text-5xl mb-6">👋</div> | |
| <h1 class="text-4xl font-bold text-white mb-4">Привет!</h1> | |
| <p class="text-white/80 mb-6">Добро пожаловать на эту красивую страницу с анимациями!</p> | |
| <div class="flex space-x-4 justify-center mb-6"> | |
| <button onclick="changeColor('blue')" class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full transition-all"> | |
| <i class="fas fa-palette mr-2"></i>Синий | |
| </button> | |
| <button onclick="changeColor('purple')" class="bg-purple-500 hover:bg-purple-600 text-white px-4 py-2 rounded-full transition-all"> | |
| <i class="fas fa-palette mr-2"></i>Фиолетовый | |
| </button> | |
| </div> | |
| <div class="bg-white/20 p-4 rounded-lg mb-6"> | |
| <p class="text-white" id="timeDisplay">Текущее время: </p> | |
| </div> | |
| <button onclick="showMessage()" class="bg-white text-purple-700 hover:bg-gray-100 font-semibold px-6 py-3 rounded-full transition-all transform hover:scale-105"> | |
| Нажми меня! | |
| </button> | |
| </div> | |
| <div class="mt-8 text-white/60 text-sm"> | |
| Создано с <i class="fas fa-heart text-red-400"></i> для вас | |
| </div> | |
| <script> | |
| // Обновление времени | |
| function updateTime() { | |
| const now = new Date(); | |
| const timeString = now.toLocaleTimeString('ru-RU'); | |
| document.getElementById('timeDisplay').textContent = `Текущее время: ${timeString}`; | |
| } | |
| setInterval(updateTime, 1000); | |
| updateTime(); | |
| // Изменение цвета фона | |
| function changeColor(color) { | |
| let gradient; | |
| if (color === 'blue') { | |
| gradient = 'linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%)'; | |
| } else { | |
| gradient = 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)'; | |
| } | |
| document.body.style.background = gradient; | |
| } | |
| // Показать сообщение | |
| function showMessage() { | |
| alert('Привет! Спасибо, что нажали на кнопку! 😊'); | |
| } | |
| </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=Temafeika/helloartem" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |