Spaces:
Running
Running
Download index.html from ffcc9393/data-delight-dash: direct link, hf CLI and curl.
- Browser
- Download file 5.02 kB
-
https://huggingface.co/spaces/ffcc9393/data-delight-dash/resolve/main/index.html
- Command line
-
hf download hf://spaces/ffcc9393/data-delight-dash/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ffcc9393/data-delight-dash/resolve/main/index.html
5.02 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Data Delight Dash</title> | |
| <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> | |
| </head> | |
| <body class="bg-gradient-to-br from-indigo-50 to-purple-50 min-h-screen"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-indigo-900 mb-4">Random Data Generator</h1> | |
| <p class="text-lg text-indigo-700 max-w-2xl mx-auto">Discover interesting random data from various APIs</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- User Card --> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow duration-300"> | |
| <div class="h-48 bg-indigo-500 flex items-center justify-center"> | |
| <i data-feather="user" class="text-white w-16 h-16"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h2 class="text-xl font-bold text-indigo-900 mb-2">Random Users</h2> | |
| <p class="text-gray-600 mb-4">Generate random user profiles with all details</p> | |
| <button id="fetchUserBtn" class="w-full bg-indigo-600 hover:bg-indigo-700 text-white py-2 px-4 rounded-lg transition-colors duration-300"> | |
| Get Random User | |
| </button> | |
| <div id="userResult" class="mt-4 hidden"> | |
| <div class="flex items-center mb-3"> | |
| <div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center mr-3"> | |
| <i data-feather="user" class="text-indigo-600"></i> | |
| </div> | |
| <div> | |
| <h3 id="userName" class="font-medium text-gray-900"></h3> | |
| <p id="userEmail" class="text-sm text-gray-500"></p> | |
| </div> | |
| </div> | |
| <div class="text-sm text-gray-600"> | |
| <p id="userLocation" class="mb-1"></p> | |
| <p id="userPhone"></p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Joke Card --> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow duration-300"> | |
| <div class="h-48 bg-purple-500 flex items-center justify-center"> | |
| <i data-feather="smile" class="text-white w-16 h-16"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h2 class="text-xl font-bold text-purple-900 mb-2">Random Jokes</h2> | |
| <p class="text-gray-600 mb-4">Get a dose of laughter with random jokes</p> | |
| <button id="fetchJokeBtn" class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition-colors duration-300"> | |
| Tell Me a Joke | |
| </button> | |
| <div id="jokeResult" class="mt-4 hidden bg-purple-50 p-4 rounded-lg"> | |
| <p id="jokeText" class="text-purple-800"></p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Activity Card --> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-shadow duration-300"> | |
| <div class="h-48 bg-pink-500 flex items-center justify-center"> | |
| <i data-feather="activity" class="text-white w-16 h-16"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h2 class="text-xl font-bold text-pink-900 mb-2">Random Activities</h2> | |
| <p class="text-gray-600 mb-4">Find something interesting to do</p> | |
| <button id="fetchActivityBtn" class="w-full bg-pink-600 hover:bg-pink-700 text-white py-2 px-4 rounded-lg transition-colors duration-300"> | |
| Get Activity | |
| </button> | |
| <div id="activityResult" class="mt-4 hidden bg-pink-50 p-4 rounded-lg"> | |
| <p id="activityText" class="text-pink-800"></p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |