Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Google Search</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Arial', sans-serif; | |
| background-color: #121212; | |
| color: #fff; | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 20px; | |
| } | |
| .header { | |
| width: 100%; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 40px; | |
| } | |
| .built-with { | |
| font-size: 14px; | |
| color: #888; | |
| text-decoration: none; | |
| transition: color 0.3s ease; | |
| } | |
| .built-with:hover { | |
| color: #fff; | |
| } | |
| .share-icon { | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 50%; | |
| width: 36px; | |
| height: 36px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: background 0.3s ease; | |
| } | |
| .share-icon:hover { | |
| background: rgba(255, 255, 255, 0.2); | |
| } | |
| .logo-container { | |
| margin: 40px 0; | |
| position: relative; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .google-logo { | |
| font-size: 180px; | |
| font-weight: 900; | |
| color: #4285f4; | |
| text-shadow: 0 2px 10px rgba(66, 133, 244, 0.3); | |
| position: relative; | |
| z-index: 2; | |
| } | |
| .google-logo .g { | |
| color: #4285f4; | |
| } | |
| .google-logo .o { | |
| color: #ea4335; | |
| } | |
| .google-logo .o:nth-child(2) { | |
| color: #fbbc05; | |
| } | |
| .google-logo .g:nth-child(4) { | |
| color: #34a853; | |
| } | |
| .google-logo .l { | |
| color: #4285f4; | |
| } | |
| .google-logo .e { | |
| color: #ea4335; | |
| } | |
| .video-thumbnail { | |
| position: absolute; | |
| width: 180px; | |
| height: 120px; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); | |
| z-index: 1; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| border: 3px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .video-thumbnail img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .play-button { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| width: 50px; | |
| height: 50px; | |
| background: rgba(255, 255, 255, 0.8); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: background 0.3s ease; | |
| } | |
| .play-button:hover { | |
| background: rgba(255, 255, 255, 1); | |
| } | |
| .play-button i { | |
| color: #333; | |
| font-size: 24px; | |
| } | |
| .search-container { | |
| width: 100%; | |
| max-width: 600px; | |
| margin: 20px 0 40px; | |
| } | |
| .search-bar { | |
| display: flex; | |
| align-items: center; | |
| background: #333; | |
| border-radius: 24px; | |
| padding: 12px 20px; | |
| position: relative; | |
| } | |
| .add-tab { | |
| background: none; | |
| border: none; | |
| color: #888; | |
| font-size: 24px; | |
| margin-right: 15px; | |
| cursor: pointer; | |
| transition: color 0.3s ease; | |
| } | |
| .add-tab:hover { | |
| color: #fff; | |
| } | |
| .search-input { | |
| flex: 1; | |
| background: none; | |
| border: none; | |
| color: #fff; | |
| font-size: 16px; | |
| outline: none; | |
| padding: 8px 0; | |
| } | |
| .search-input::placeholder { | |
| color: #888; | |
| } | |
| .search-icons { | |
| display: flex; | |
| align-items: center; | |
| margin-left: 15px; | |
| } | |
| .search-icon { | |
| width: 36px; | |
| height: 36px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| color: #888; | |
| cursor: pointer; | |
| transition: color 0.3s ease; | |
| margin-left: 10px; | |
| } | |
| .search-icon:hover { | |
| color: #fff; | |
| } | |
| .ai-mode { | |
| background: rgba(66, 133, 244, 0.2); | |
| border-radius: 20px; | |
| padding: 8px 16px; | |
| margin-left: 15px; | |
| display: flex; | |
| align-items: center; | |
| cursor: pointer; | |
| transition: background 0.3s ease; | |
| } | |
| .ai-mode:hover { | |
| background: rgba(66, 133, 244, 0.3); | |
| } | |
| .ai-mode i { | |
| margin-right: 8px; | |
| color: #4285f4; | |
| } | |
| .ai-mode-text { | |
| color: #fff; | |
| font-size: 14px; | |
| } | |
| .search-buttons { | |
| display: flex; | |
| justify-content: center; | |
| gap: 20px; | |
| margin: 30px 0; | |
| } | |
| .search-button { | |
| padding: 12px 24px; | |
| border: none; | |
| border-radius: 4px; | |
| font-size: 16px; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| font-weight: 500; | |
| } | |
| .google-search { | |
| background: #333; | |
| color: #fff; | |
| } | |
| .google-search:hover { | |
| background: #444; | |
| } | |
| .im-feeling-lucky { | |
| background: #333; | |
| color: #fff; | |
| } | |
| .im-feeling-lucky:hover { | |
| background: #444; | |
| } | |
| .footer { | |
| margin-top: auto; | |
| text-align: center; | |
| color: #888; | |
| font-size: 14px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| .footer:hover { | |
| color: #fff; | |
| } | |
| @media (max-width: 768px) { | |
| .google-logo { | |
| font-size: 120px; | |
| } | |
| .video-thumbnail { | |
| width: 120px; | |
| height: 80px; | |
| } | |
| .play-button { | |
| width: 40px; | |
| height: 40px; | |
| } | |
| .play-button i { | |
| font-size: 20px; | |
| } | |
| .search-buttons { | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .search-button { | |
| width: 100%; | |
| text-align: center; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .google-logo { | |
| font-size: 90px; | |
| } | |
| .video-thumbnail { | |
| width: 90px; | |
| height: 60px; | |
| } | |
| .play-button { | |
| width: 30px; | |
| height: 30px; | |
| } | |
| .play-button i { | |
| font-size: 16px; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="header"> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="built-with">Built with anycoder</a> | |
| <div class="share-icon"> | |
| <i class="fas fa-share-alt"></i> | |
| </div> | |
| </div> | |
| <div class="logo-container"> | |
| <div class="google-logo"> | |
| <span class="g">G</span> | |
| <span class="o">o</span> | |
| <span class="o">o</span> | |
| <span class="g">g</span> | |
| <span class="l">l</span> | |
| <span class="e">e</span> | |
| </div> | |
| <div class="video-thumbnail"> | |
| <img src="https://picsum.photos/seed/sunset/180/120.jpg" alt="Video thumbnail"> | |
| <div class="play-button"> | |
| <i class="fas fa-play"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="search-container"> | |
| <div class="search-bar"> | |
| <button class="add-tab"> | |
| <i class="fas fa-plus"></i> | |
| </button> | |
| <input type="text" class="search-input" placeholder="Search Google or type a URL"> | |
| <div class="search-icons"> | |
| <div class="search-icon"> | |
| <i class="fas fa-microphone"></i> | |
| </div> | |
| <div class="search-icon"> | |
| <i class="fas fa-cog"></i> | |
| </div> | |
| <div class="ai-mode"> | |
| <i class="fas fa-magic"></i> | |
| <span class="ai-mode-text">AI Mode</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="search-buttons"> | |
| <button class="search-button google-search">Google Search</button> | |
| <button class="search-button im-feeling-lucky">I'm Feeling Lucky</button> | |
| </div> | |
| <div class="footer"> | |
| Want to know what the world searched for in 2025? | |
| <i class="fas fa-question-circle"></i> | |
| </div> | |
| <script> | |
| // Add interactivity if needed | |
| document.querySelector('.play-button').addEventListener('click', function() { | |
| alert('Video would play here'); | |
| }); | |
| document.querySelector('.ai-mode').addEventListener('click', function() { | |
| alert('AI Mode activated'); | |
| }); | |
| document.querySelector('.share-icon').addEventListener('click', function() { | |
| alert('Share functionality would open here'); | |
| }); | |
| document.querySelector('.built-with').addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| window.open('https://huggingface.co/spaces/akhaliq/anycoder', '_blank'); | |
| }); | |
| </script> | |
| </body> | |
| </html> |