Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>OneSearch - Problem-First Discovery Engine</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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> | |
| <script src="https://d3js.org/d3.v7.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.js"></script> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis.min.css" rel="stylesheet" /> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| </head> | |
| <body class="bg-white dark:bg-gray-900 min-h-screen transition-colors duration-300"> | |
| <!-- Header --> | |
| <header class="fixed top-0 left-0 right-0 z-50 bg-transparent backdrop-blur-md border-0"> | |
| <div class="max-w-7xl mx-auto px-6 sm:px-8 lg:px-12"> | |
| <div class="flex justify-between items-center h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <h1 class="text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent dark:from-blue-400 dark:to-purple-400">OneSearch</h1> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-6"> | |
| <button id="theme-toggle" class="p-2 rounded-lg text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors duration-200"> | |
| <svg id="sun-icon" class="w-5 h-5 hidden" fill="currentColor" viewBox="0 0 20 20"> | |
| <path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"></path> | |
| </svg> | |
| <svg id="moon-icon" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20"> | |
| <path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path> | |
| </svg> | |
| </button> | |
| <nav class="hidden md:flex items-center space-x-8"> | |
| <a href="#discover" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white px-3 py-2 rounded-lg text-sm font-medium transition-colors duration-200">Discover</a> | |
| <a href="#community" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white px-3 py-2 rounded-lg text-sm font-medium transition-colors duration-200">Community</a> | |
| <a href="#wallet" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white px-3 py-2 rounded-lg text-sm font-medium transition-colors duration-200">Wallet</a> | |
| <a href="#help" class="text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white px-3 py-2 rounded-lg text-sm font-medium transition-colors duration-200">Help</a> | |
| </nav> | |
| <button id="auth-button" class="bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white px-6 py-2.5 rounded-full text-sm font-medium shadow-lg shadow-blue-500/25 transition-all duration-200 hover:shadow-xl hover:scale-105"> | |
| Sign In | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-1 flex items-center justify-center pt-16"> | |
| <div class="w-full max-w-4xl px-6 py-20"> | |
| <!-- Hero Section --> | |
| <div class="text-center mb-16"> | |
| <div class="mb-8"> | |
| <div class="inline-flex items-center justify-center w-20 h-20 bg-gradient-to-br from-blue-500 to-purple-600 rounded-2xl shadow-2xl mb-6"> | |
| <i data-feather="search" class="h-10 w-10 text-white"></i> | |
| </div> | |
| <h1 class="text-7xl font-thin text-gray-900 dark:text-white mb-4 tracking-tight">OneSearch</h1> | |
| <h2 class="text-3xl font-light text-gray-600 dark:text-gray-300 mb-4">All you need is One Search</h2> | |
| <p class="text-lg text-gray-500 dark:text-gray-400 max-w-2xl mx-auto">Discover trusted products and services through our problem-first discovery engine powered by community recommendations</p> | |
| </div> | |
| <!-- Search Interface --> | |
| <div class="relative mb-12 max-w-2xl mx-auto"> | |
| <div class="absolute inset-y-0 left-0 pl-6 flex items-center pointer-events-none"> | |
| <i data-feather="search" class="h-6 w-6 text-gray-400"></i> | |
| </div> | |
| <input | |
| type="text" | |
| id="search-input" | |
| class="block w-full pl-14 pr-6 py-5 bg-white/70 dark:bg-gray-800/70 backdrop-blur-sm border border-gray-200 dark:border-gray-600 rounded-2xl text-xl focus:ring-4 focus:ring-blue-500/20 focus:border-blue-500 shadow-xl transition-all duration-300 placeholder-gray-400 dark:placeholder-gray-500 dark:text-white" | |
| placeholder="Search for products, services, or solutions..." | |
| > | |
| <div class="absolute inset-y-0 right-0 pr-6 flex items-center"> | |
| <button class="bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 text-white px-6 py-2.5 rounded-xl text-sm font-medium shadow-lg transition-all duration-200 hover:shadow-xl hover:scale-105"> | |
| Search | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Quick Actions --> | |
| <div class="flex justify-center items-center space-x-2 text-sm"> | |
| <a href="product.html" class="inline-flex items-center px-4 py-2 text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 hover:bg-blue-50 dark:hover:bg-blue-900/20 rounded-lg transition-all duration-200">Find Products</a> | |
| <span class="text-gray-300 dark:text-gray-600">•</span> | |
| <a href="service.html" class="inline-flex items-center px-4 py-2 text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 hover:bg-blue-50 dark:hover:bg-blue-900/20 rounded-lg transition-all duration-200">Find Services</a> | |
| <span class="text-gray-300 dark:text-gray-600">•</span> | |
| <a href="reviews.html" class="inline-flex items-center px-4 py-2 text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 hover:bg-blue-50 dark:hover:bg-blue-900/20 rounded-lg transition-all duration-200">Read Reviews</a> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16"> | |
| <div class="bg-white/60 backdrop-blur-sm rounded-2xl p-6 shadow-xl border border-white/20 hover:shadow-2xl transition-all duration-300 hover:-translate-y-1"> | |
| <div class="w-12 h-12 bg-gradient-to-br from-green-400 to-green-600 rounded-xl flex items-center justify-center mb-4"> | |
| <i data-feather="shield" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-2">Trust Scores</h3> | |
| <p class="text-gray-600 text-sm">AI-powered trust scores based on real community feedback and verified purchases</p> | |
| </div> | |
| <div class="bg-white/60 backdrop-blur-sm rounded-2xl p-6 shadow-xl border border-white/20 hover:shadow-2xl transition-all duration-300 hover:-translate-y-1"> | |
| <div class="w-12 h-12 bg-gradient-to-br from-blue-400 to-blue-600 rounded-xl flex items-center justify-center mb-4"> | |
| <i data-feather="users" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-2">Community Driven</h3> | |
| <p class="text-gray-600 text-sm">Real recommendations from verified users with transparent review systems</p> | |
| </div> | |
| <div class="bg-white/60 backdrop-blur-sm rounded-2xl p-6 shadow-xl border border-white/20 hover:shadow-2xl transition-all duration-300 hover:-translate-y-1"> | |
| <div class="w-12 h-12 bg-gradient-to-br from-purple-400 to-purple-600 rounded-xl flex items-center justify-center mb-4"> | |
| <i data-feather="award" class="h-6 w-6 text-white"></i> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-900 mb-2">Earn Rewards</h3> | |
| <p class="text-gray-600 text-sm">Get rewarded for helpful recommendations and quality reviews</p> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-transparent backdrop-blur-sm border-0"> | |
| <div class="max-w-7xl mx-auto px-6 sm:px-8 lg:px-12 py-8"> | |
| <div class="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0"> | |
| <div class="flex space-x-8 text-sm text-gray-600 dark:text-gray-400"> | |
| <a href="about.html" class="hover:text-gray-900 dark:hover:text-white transition-colors duration-200">About</a> | |
| <a href="privacy.html" class="hover:text-gray-900 dark:hover:text-white transition-colors duration-200">Privacy</a> | |
| <a href="terms.html" class="hover:text-gray-900 dark:hover:text-white transition-colors duration-200">Terms</a> | |
| <a href="contact.html" class="hover:text-gray-900 dark:hover:text-white transition-colors duration-200">Contact</a> | |
| </div> | |
| <p class="text-sm text-gray-500 dark:text-gray-400"> | |
| © 2025 OneSearch. Built with trust and transparency. | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Scripts --> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script> | |
| feather.replace(); | |
| // Theme toggle functionality | |
| const themeToggle = document.getElementById('theme-toggle'); | |
| const sunIcon = document.getElementById('sun-icon'); | |
| const moonIcon = document.getElementById('moon-icon'); | |
| const html = document.documentElement; | |
| // Check for saved theme preference or default to light | |
| const currentTheme = localStorage.getItem('theme') || 'light'; | |
| if (currentTheme === 'dark') { | |
| html.classList.add('dark'); | |
| } else { | |
| html.classList.remove('dark'); | |
| } | |
| // Update icon visibility based on current theme | |
| const updateThemeIcons = () => { | |
| const isDark = html.classList.contains('dark'); | |
| if (isDark) { | |
| sunIcon.classList.remove('hidden'); | |
| moonIcon.classList.add('hidden'); | |
| } else { | |
| sunIcon.classList.add('hidden'); | |
| moonIcon.classList.remove('hidden'); | |
| } | |
| }; | |
| // Initial icon update | |
| updateThemeIcons(); | |
| themeToggle.addEventListener('click', () => { | |
| html.classList.toggle('dark'); | |
| const isDark = html.classList.contains('dark'); | |
| if (isDark) { | |
| localStorage.setItem('theme', 'dark'); | |
| } else { | |
| localStorage.setItem('theme', 'light'); | |
| } | |
| updateThemeIcons(); | |
| }); | |
| // Simple search functionality | |
| document.getElementById('search-input').addEventListener('keypress', function(e) { | |
| if (e.key === 'Enter') { | |
| const query = this.value.trim(); | |
| if (query) { | |
| // Redirect to search results or relevant page | |
| window.location.href = `search.html?q=${encodeURIComponent(query)}`; | |
| } | |
| } | |
| }); | |
| // Sign in functionality | |
| document.getElementById('auth-button').addEventListener('click', function() { | |
| if (this.textContent === 'Sign In') { | |
| // Simple sign in simulation | |
| this.textContent = 'Sign Out'; | |
| this.className = 'bg-gray-500 hover:bg-gray-600 text-white px-4 py-2 rounded-md text-sm font-medium'; | |
| } else { | |
| this.textContent = 'Sign In'; | |
| this.className = 'bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium'; | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |