Spaces:
Running
Running
Download index.html from SalikPatug/sampleweb: direct link, hf CLI and curl.
- Browser
- Download file 7.3 kB
-
https://huggingface.co/spaces/SalikPatug/sampleweb/resolve/main/index.html
- Command line
-
hf download hf://spaces/SalikPatug/sampleweb/index.html
-
curl -L -o index.html https://huggingface.co/spaces/SalikPatug/sampleweb/resolve/main/index.html
7.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Google Redesign</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Roboto', sans-serif; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .search-input { | |
| box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28); | |
| } | |
| .search-input:focus { | |
| box-shadow: 0 1px 6px rgba(32, 33, 36, 0.4); | |
| } | |
| .nav-link:hover { | |
| color: #1a73e8; | |
| } | |
| .footer-link:hover { | |
| text-decoration: underline; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-white text-gray-800 flex flex-col"> | |
| <!-- Header --> | |
| <header class="w-full py-4 px-6 flex justify-between items-center"> | |
| <div class="flex space-x-6 items-center"> | |
| <a href="#" class="text-gray-700 hover:text-blue-600 transition-colors duration-200">About</a> | |
| <a href="#" class="text-gray-700 hover:text-blue-600 transition-colors duration-200">Store</a> | |
| </div> | |
| <div class="flex space-x-6 items-center"> | |
| <a href="#" class="text-gray-700 hover:text-blue-600 transition-colors duration-200">Gmail</a> | |
| <a href="#" class="text-gray-700 hover:text-blue-600 transition-colors duration-200">Images</a> | |
| <button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md transition-colors duration-200"> | |
| Sign in | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-grow flex flex-col items-center justify-center px-4 -mt-20"> | |
| <div class="mb-8"> | |
| <h1 class="text-6xl font-normal text-center"> | |
| <span class="text-blue-500">G</span> | |
| <span class="text-red-500">o</span> | |
| <span class="text-yellow-500">o</span> | |
| <span class="text-blue-500">g</span> | |
| <span class="text-green-500">l</span> | |
| <span class="text-red-500">e</span> | |
| </h1> | |
| </div> | |
| <div class="w-full max-w-2xl mb-8 relative"> | |
| <div class="relative"> | |
| <input type="text" class="search-input w-full px-5 py-3 rounded-full border border-gray-200 focus:outline-none focus:border-blue-300 transition-all duration-200" placeholder="Search Google or type a URL"> | |
| <div class="absolute right-3 top-1/2 transform -translate-y-1/2 flex space-x-2"> | |
| <button class="p-2 text-gray-500 hover:text-gray-700"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z" /> | |
| </svg> | |
| </button> | |
| <button class="p-2 text-gray-500 hover:text-gray-700"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z" /> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 13a3 3 0 11-6 0 3 3 0 016 0z" /> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex justify-center mt-6 space-x-4"> | |
| <button class="bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded text-sm transition-colors duration-200"> | |
| Google Search | |
| </button> | |
| <button class="bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded text-sm transition-colors duration-200"> | |
| I'm Feeling Lucky | |
| </button> | |
| </div> | |
| </div> | |
| <div class="text-center text-sm text-gray-600"> | |
| <p>Google offered in: <a href="#" class="text-blue-600 hover:underline">Español (Latinoamérica)</a></p> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="w-full bg-gray-100 text-gray-600 text-sm"> | |
| <div class="px-8 py-3 border-b border-gray-300"> | |
| <p>United States</p> | |
| </div> | |
| <div class="px-8 py-3 flex flex-col md:flex-row md:justify-between"> | |
| <div class="flex flex-wrap justify-center md:justify-start space-x-6 mb-3 md:mb-0"> | |
| <a href="#" class="footer-link">Advertising</a> | |
| <a href="#" class="footer-link">Business</a> | |
| <a href="#" class="footer-link">How Search works</a> | |
| </div> | |
| <div class="flex flex-wrap justify-center md:justify-start space-x-6"> | |
| <a href="#" class="footer-link">Privacy</a> | |
| <a href="#" class="footer-link">Terms</a> | |
| <a href="#" class="footer-link">Settings</a> | |
| </div> | |
| </div> | |
| <div class="px-8 py-4 bg-gray-100 border-t border-gray-200"> | |
| <a href="#" class="flex items-center justify-center md:justify-start text-blue-600 hover:underline"> | |
| <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" /> | |
| </svg> | |
| Applying AI towards science and the environment | |
| </a> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple animation for the search input | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const searchInput = document.querySelector('.search-input'); | |
| searchInput.addEventListener('focus', function() { | |
| this.parentElement.classList.add('ring-2', 'ring-blue-200'); | |
| }); | |
| searchInput.addEventListener('blur', function() { | |
| this.parentElement.classList.remove('ring-2', 'ring-blue-200'); | |
| }); | |
| }); | |
| </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=SalikPatug/sampleweb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |