Spaces:
Running
Running
Download index.html from Ronkey/hello-world: direct link, hf CLI and curl.
- Browser
- Download file 18.2 kB
-
https://huggingface.co/spaces/Ronkey/hello-world/resolve/main/index.html
- Command line
-
hf download hf://spaces/Ronkey/hello-world/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Ronkey/hello-world/resolve/main/index.html
18.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Interactive Greeting</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, #f5f7fa 0%, #c3cfe2 100%); | |
| } | |
| .card-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .wave { | |
| animation: wave 2.5s infinite; | |
| transform-origin: 70% 70%; | |
| display: inline-block; | |
| } | |
| @keyframes wave { | |
| 0% { transform: rotate(0deg); } | |
| 10% { transform: rotate(14deg); } | |
| 20% { transform: rotate(-8deg); } | |
| 30% { transform: rotate(14deg); } | |
| 40% { transform: rotate(-4deg); } | |
| 50% { transform: rotate(10deg); } | |
| 60% { transform: rotate(0deg); } | |
| 100% { transform: rotate(0deg); } | |
| } | |
| </style> | |
| </head> | |
| <body class="gradient-bg min-h-screen flex flex-col"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-lg"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="flex justify-between"> | |
| <div class="flex space-x-7"> | |
| <div> | |
| <a href="#" class="flex items-center py-4 px-2"> | |
| <i class="fas fa-smile-beam text-purple-600 text-2xl mr-2"></i> | |
| <span class="font-semibold text-gray-500 text-lg">HelloApp</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-3"> | |
| <a href="#" class="py-2 px-2 font-medium text-gray-500 border-b-4 border-purple-500 transition duration-300">Home</a> | |
| <a href="#" class="py-2 px-2 font-medium text-gray-500 hover:text-purple-500 transition duration-300">Features</a> | |
| <a href="#" class="py-2 px-2 font-medium text-gray-500 hover:text-purple-500 transition duration-300">About</a> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button class="outline-none mobile-menu-button"> | |
| <i class="fas fa-bars text-gray-500 text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Main Content --> | |
| <main class="flex-grow container mx-auto px-4 py-8 md:py-16"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-4xl md:text-6xl font-bold text-gray-800 mb-4"> | |
| Hello <span class="wave">👋</span> | |
| </h1> | |
| <p class="text-xl md:text-2xl text-gray-600 max-w-2xl mx-auto"> | |
| Welcome to this interactive greeting experience! How can we make your day better? | |
| </p> | |
| </div> | |
| <!-- Interactive Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Card 1 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-purple-100 p-3 rounded-full"> | |
| <i class="fas fa-comment-dots text-purple-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 ml-3">Chat</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4"> | |
| Start a conversation with our friendly chatbot who's always ready to help. | |
| </p> | |
| <button onclick="startChat()" class="w-full bg-purple-500 hover:bg-purple-600 text-white font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Start Chat | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Card 2 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full"> | |
| <i class="fas fa-music text-blue-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 ml-3">Music</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4"> | |
| Listen to relaxing music curated to improve your mood and productivity. | |
| </p> | |
| <button onclick="playMusic()" class="w-full bg-blue-500 hover:bg-blue-600 text-white font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Play Music | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Card 3 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden card-hover"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i class="fas fa-lightbulb text-green-600 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 ml-3">Inspire</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4"> | |
| Get daily inspirational quotes to motivate you and brighten your day. | |
| </p> | |
| <button onclick="showQuote()" class="w-full bg-green-500 hover:bg-green-600 text-white font-medium py-2 px-4 rounded-lg transition duration-300"> | |
| Get Inspired | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Interactive Section --> | |
| <div id="interactive-section" class="mt-16 hidden"> | |
| <div class="bg-white rounded-xl shadow-lg p-6 max-w-2xl mx-auto"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 id="section-title" class="text-2xl font-bold text-gray-800"></h2> | |
| <button onclick="closeSection()" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div id="section-content" class="text-gray-600"></div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-4 md:mb-0"> | |
| <h3 class="text-xl font-bold flex items-center"> | |
| <i class="fas fa-smile-beam mr-2"></i> HelloApp | |
| </h3> | |
| <p class="text-gray-400 mt-1">Making the world a friendlier place</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-github"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-6 pt-6 text-center text-gray-400 text-sm"> | |
| <p>© 2023 HelloApp. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| </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=Ronkey/hello-world" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |