Download index.html from Solomat/solomat: direct link, hf CLI and curl.
- Browser
- Download file 35.4 kB
-
https://huggingface.co/spaces/Solomat/solomat/resolve/main/index.html
- Command line
-
hf download hf://spaces/Solomat/solomat/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Solomat/solomat/resolve/main/index.html
35.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Anonymous Solomat - Send & Receive Anonymous Messages</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, #6B73FF 0%, #000DFF 50%, #00D4FF 100%); | |
| } | |
| .message-card { | |
| transition: all 0.3s ease; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .message-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); | |
| } | |
| .floating { | |
| animation: floating 3s ease-in-out infinite; | |
| } | |
| @keyframes floating { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <!-- 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-user-secret text-blue-600 text-2xl mr-2"></i> | |
| <span class="font-semibold text-gray-900 text-lg">Anonymous Solomat</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-3"> | |
| <a href="#features" class="py-4 px-2 text-gray-700 hover:text-blue-600">Features</a> | |
| <a href="#how-it-works" class="py-4 px-2 text-gray-700 hover:text-blue-600">How It Works</a> | |
| <a href="#testimonials" class="py-4 px-2 text-gray-700 hover:text-blue-600">Testimonials</a> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-3"> | |
| <button onclick="openModal('loginModal')" class="py-2 px-4 text-gray-700 hover:text-blue-600">Log In</button> | |
| <button onclick="openModal('signupModal')" class="py-2 px-4 bg-blue-600 text-white rounded hover:bg-blue-700 transition duration-300">Sign Up</button> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button class="outline-none mobile-menu-button"> | |
| <svg class="w-6 h-6 text-gray-700" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor"> | |
| <path d="M4 6h16M4 12h16M4 18h16"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="gradient-bg text-white py-20"> | |
| <div class="container mx-auto px-6 flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6">Send & Receive Anonymous Messages</h1> | |
| <p class="text-xl mb-8">Create your personal link and share it with friends to get honest, anonymous feedback.</p> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button onclick="openModal('signupModal')" class="bg-white text-blue-600 font-bold py-3 px-8 rounded-full hover:bg-gray-100 transition duration-300 pulse">Get Started Free</button> | |
| <button onclick="openModal('demoModal')" class="border-2 border-white text-white font-bold py-3 px-8 rounded-full hover:bg-white hover:text-blue-600 transition duration-300">See Demo</button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center"> | |
| <div class="relative floating"> | |
| <div class="bg-white rounded-2xl shadow-2xl p-6 w-80 h-96 relative z-10"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h3 class="text-gray-800 font-bold">Your Anonymous Messages</h3> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-semibold px-2.5 py-0.5 rounded">3 New</span> | |
| </div> | |
| <div class="space-y-4 overflow-y-auto h-64"> | |
| <div class="bg-gray-100 p-4 rounded-lg"> | |
| <p class="text-gray-700 italic">"You have the most amazing smile! It brightens everyone's day."</p> | |
| <p class="text-gray-500 text-xs mt-2">Received 2 hours ago</p> | |
| </div> | |
| <div class="bg-gray-100 p-4 rounded-lg"> | |
| <p class="text-gray-700 italic">"I really admire how you handled that difficult situation last week. So mature!"</p> | |
| <p class="text-gray-500 text-xs mt-2">Received 1 day ago</p> | |
| </div> | |
| <div class="bg-gray-100 p-4 rounded-lg"> | |
| <p class="text-gray-700 italic">"Your presentation skills are incredible. You should teach a class on it!"</p> | |
| <p class="text-gray-500 text-xs mt-2">Received 3 days ago</p> | |
| </div> | |
| </div> | |
| <div class="absolute bottom-4 left-0 right-0 flex justify-center"> | |
| <button class="bg-blue-600 text-white px-4 py-2 rounded-full text-sm font-medium">View All Messages</button> | |
| </div> | |
| </div> | |
| <div class="absolute -bottom-4 -right-4 bg-blue-400 rounded-2xl w-80 h-96 opacity-20"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section id="features" class="py-20 bg-white"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-16">Why Choose Anonymous Solomat</h2> | |
| <div class="flex flex-col md:flex-row md:space-x-6 space-y-6 md:space-y-0"> | |
| <div class="flex-1 bg-gray-50 rounded-xl p-8 message-card"> | |
| <div class="text-blue-600 mb-4"> | |
| <i class="fas fa-user-shield text-4xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">100% Anonymous</h3> | |
| <p class="text-gray-600">We never reveal the identity of senders. Your friends can be completely honest without fear.</p> | |
| </div> | |
| <div class="flex-1 bg-gray-50 rounded-xl p-8 message-card"> | |
| <div class="text-blue-600 mb-4"> | |
| <i class="fas fa-link text-4xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Personal Link</h3> | |
| <p class="text-gray-600">Get your unique URL to share anywhere - social media, bio links, or directly with friends.</p> | |
| </div> | |
| <div class="flex-1 bg-gray-50 rounded-xl p-8 message-card"> | |
| <div class="text-blue-600 mb-4"> | |
| <i class="fas fa-bell text-4xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Real-time Notifications</h3> | |
| <p class="text-gray-600">Get instant alerts when you receive new anonymous messages.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- How It Works Section --> | |
| <section id="how-it-works" class="py-20 bg-gray-50"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-16">How It Works</h2> | |
| <div class="flex flex-col md:flex-row md:space-x-8 items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0"> | |
| <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="How it works" class="rounded-xl shadow-lg w-full"> | |
| </div> | |
| <div class="md:w-1/2"> | |
| <div class="mb-8"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <span class="text-blue-600 font-bold">1</span> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2">Create Your Account</h3> | |
| <p class="text-gray-600">Sign up in seconds and choose your unique username.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <span class="text-blue-600 font-bold">2</span> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2">Share Your Link</h3> | |
| <p class="text-gray-600">Copy your personal anonymous message link and share it anywhere.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <span class="text-blue-600 font-bold">3</span> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2">Receive Messages</h3> | |
| <p class="text-gray-600">Friends can send you anonymous messages through your link.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex items-start mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <span class="text-blue-600 font-bold">4</span> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold mb-2">Read & Respond</h3> | |
| <p class="text-gray-600">View your messages in your private dashboard and respond if you want.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials Section --> | |
| <section id="testimonials" class="py-20 bg-white"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold text-center text-gray-800 mb-16">What People Are Saying</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-gray-50 p-8 rounded-xl message-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4"> | |
| <i class="fas fa-user text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Sarah J.</h4> | |
| <p class="text-gray-500 text-sm">College Student</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic">"I used Anonymous Solomat to get feedback on my art portfolio. The honest critiques helped me improve my work tremendously!"</p> | |
| <div class="flex mt-4 text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-8 rounded-xl message-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4"> | |
| <i class="fas fa-user text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Michael T.</h4> | |
| <p class="text-gray-500 text-sm">Content Creator</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic">"As a YouTuber, I wanted honest feedback from my viewers. Anonymous Solomat gave me insights I never would have gotten otherwise."</p> | |
| <div class="flex mt-4 text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-8 rounded-xl message-card"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4"> | |
| <i class="fas fa-user text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Emma L.</h4> | |
| <p class="text-gray-500 text-sm">Team Leader</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic">"I shared my link with my team to get anonymous feedback about my leadership. The constructive criticism has made me a better manager."</p> | |
| <div class="flex mt-4 text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-20 gradient-bg text-white"> | |
| <div class="container mx-auto px-6 text-center"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Discover What People Really Think?</h2> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of users receiving honest, anonymous feedback today.</p> | |
| <button onclick="openModal('signupModal')" class="bg-white text-blue-600 font-bold py-3 px-8 rounded-full hover:bg-gray-100 transition duration-300">Get Your Free Link Now</button> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="container mx-auto px-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4 flex items-center"> | |
| <i class="fas fa-user-secret text-blue-500 mr-2"></i> Anonymous Solomat | |
| </h3> | |
| <p class="text-gray-400">The safest way to send and receive anonymous messages online.</p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li> | |
| <li><a href="#features" class="text-gray-400 hover:text-white">Features</a></li> | |
| <li><a href="#how-it-works" class="text-gray-400 hover:text-white">How It Works</a></li> | |
| <li><a href="#testimonials" class="text-gray-400 hover:text-white">Testimonials</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Legal</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Privacy Policy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Terms of Service</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Cookie Policy</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Connect With Us</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-tiktok text-xl"></i></a> | |
| </div> | |
| <p class="text-gray-400 mt-4">support@anonymoussolomat.com</p> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2023 Anonymous Solomat. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Modals --> | |
| <!-- Sign Up Modal --> | |
| <div id="signupModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-xl p-8 w-full max-w-md"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold text-gray-800">Create Your Account</h3> | |
| <button onclick="closeModal('signupModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <form id="signupForm" class="space-y-4"> | |
| <div> | |
| <label for="signup-username" class="block text-sm font-medium text-gray-700 mb-1">Username</label> | |
| <input type="text" id="signup-username" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="Choose a username" required> | |
| </div> | |
| <div> | |
| <label for="signup-email" class="block text-sm font-medium text-gray-700 mb-1">Email</label> | |
| <input type="email" id="signup-email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="Your email address" required> | |
| </div> | |
| <div> | |
| <label for="signup-password" class="block text-sm font-medium text-gray-700 mb-1">Password</label> | |
| <input type="password" id="signup-password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="Create a password" required> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="terms" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded" required> | |
| <label for="terms" class="ml-2 block text-sm text-gray-700"> | |
| I agree to the <a href="#" class="text-blue-600 hover:underline">Terms of Service</a> and <a href="#" class="text-blue-600 hover:underline">Privacy Policy</a> | |
| </label> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-600 text-white py-2 px-4 rounded-lg hover:bg-blue-700 transition duration-300">Sign Up</button> | |
| </form> | |
| <div class="mt-4 text-center"> | |
| <p class="text-sm text-gray-600">Already have an account? <button onclick="switchToLogin()" class="text-blue-600 hover:underline">Log in</button></p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Login Modal --> | |
| <div id="loginModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-xl p-8 w-full max-w-md"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold text-gray-800">Welcome Back</h3> | |
| <button onclick="closeModal('loginModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <form id="loginForm" class="space-y-4"> | |
| <div> | |
| <label for="login-email" class="block text-sm font-medium text-gray-700 mb-1">Email or Username</label> | |
| <input type="text" id="login-email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="Your email or username" required> | |
| </div> | |
| <div> | |
| <label for="login-password" class="block text-sm font-medium text-gray-700 mb-1">Password</label> | |
| <input type="password" id="login-password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="Your password" required> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="remember" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"> | |
| <label for="remember" class="ml-2 block text-sm text-gray-700">Remember me</label> | |
| </div> | |
| <a href="#" class="text-sm text-blue-600 hover:underline">Forgot password?</a> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-600 text-white py-2 px-4 rounded-lg hover:bg-blue-700 transition duration-300">Log In</button> | |
| </form> | |
| <div class="mt-4 text-center"> | |
| <p class="text-sm text-gray-600">Don't have an account? <button onclick="switchToSignup()" class="text-blue-600 hover:underline">Sign up</button></p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Demo Modal --> | |
| <div id="demoModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-xl p-8 w-full max-w-2xl"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold text-gray-800">Try Our Demo</h3> | |
| <button onclick="closeModal('demoModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Send an Anonymous Message</h4> | |
| <form id="demoForm" class="space-y-4"> | |
| <div> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">To: Demo User</label> | |
| <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg bg-gray-100 cursor-not-allowed" value="demo@anonymoussolomat.com" disabled> | |
| </div> | |
| <div> | |
| <label for="demo-message" class="block text-sm font-medium text-gray-700 mb-1">Your Message</label> | |
| <textarea id="demo-message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="Write your anonymous message here..."></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-600 text-white py-2 px-4 rounded-lg hover:bg-blue-700 transition duration-300">Send Anonymously</button> | |
| </form> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">How It Works</h4> | |
| <div class="bg-gray-50 p-4 rounded-lg"> | |
| <p class="text-gray-700 mb-4">This demo shows how easy it is to send anonymous messages through Anonymous Solomat.</p> | |
| <ul class="space-y-2 text-gray-600"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> | |
| <span>No registration required to send messages</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> | |
| <span>100% anonymous - we never track senders</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> | |
| <span>Messages are delivered instantly</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mt-6 text-center"> | |
| <button onclick="closeModal('demoModal'); openModal('signupModal')" class="text-blue-600 hover:underline font-medium">Create your own link now</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Dashboard Modal (Shown after login/signup) --> | |
| <div id="dashboardModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-xl p-8 w-full max-w-4xl max-h-[90vh] overflow-y-auto"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h3 class="text-2xl font-bold text-gray-800">Your Anonymous Solomat Dashboard</h3> | |
| <button onclick="closeModal('dashboardModal')" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8"> | |
| <div class="bg-blue-50 p-6 rounded-xl"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-link text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold text-gray-800">Your Personal Link</h4> | |
| </div> | |
| </div> | |
| <div class="bg-white p-3 rounded-lg border border-blue-200 flex items-center"> | |
| <span id="userLink" class="text-blue-600 truncate">anonymoussolomat.com/</span> | |
| <button onclick="copyToClipboard('userLink')" class="ml-auto text-blue-600 hover:text-blue-800"> | |
| <i class="fas fa-copy"></i> | |
| </button> | |
| </div> | |
| <p class="text-sm text-gray-600 mt-2">Share this link to receive anonymous messages</p> | |
| </div> | |
| <div class="bg-green-50 p-6 rounded-xl"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-green-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-envelope text-green-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold text-gray-800">Messages Received</h4> | |
| </div> | |
| </div> | |
| <div class="text-3xl font-bold text-gray-800 mb-2">12</div> | |
| <p class="text-sm text-gray-600">Total anonymous messages</p> | |
| </div> | |
| <div class="bg-purple-50 p-6 rounded-xl"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-purple-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-share-alt text-purple-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold text-gray-800">Share Your Link</h4> | |
| </div> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <button class="bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700"> | |
| <i class="fab fa-twitter"></i> | |
| </button> | |
| <button class="bg-pink-600 text-white p-2 rounded-full hover:bg-pink-700"> | |
| <i class="fab fa-instagram"></i> | |
| </button> | |
| <button class="bg-gray-800 text-white p-2 rounded-full hover:bg-gray-900"> | |
| <i class="fab fa-tiktok"></i> | |
| </button> | |
| <button class="bg-green-600 text-white p-2 rounded-full hover:bg-green-700"> | |
| <i class="fab fa-whatsapp"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <h4 class="text-lg font-semibold mb-4">Your Recent Messages</h4> | |
| <div class="space-y-4"> | |
| <div class="bg-gray-50 p-4 rounded-lg border-l-4 border-blue-500"> | |
| <p class="text-gray-700 italic">"I love how passionate you are about your work. It's really inspiring!"</p> | |
| <div class="flex justify-between items-center mt-2"> | |
| <span class="text-xs text-gray-500">Received 2 hours ago</span> | |
| <button class="text-blue-600 text-sm hover:underline">Reply</button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg border-l-4 border-blue-500"> | |
| <p class="text-gray-700 italic">"Your presentation yesterday was amazing! The way you explained complex topics was so clear."</p> | |
| <div class="flex justify-between items-center mt-2"> | |
| <span class="text-xs text-gray-500">Received 1 day ago</span> | |
| <button class="text-blue-600 text-sm hover:underline">Reply</button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg border-l-4 border-blue-500"> | |
| <p class="text-gray-700 italic">"You have a great sense of humor. It makes working with you so much fun!"</p> | |
| <div class="flex justify-between items-center mt-2"> | |
| <span class="text-xs text-gray-500">Received 3 days ago</span> | |
| <button class="text-blue-600 text-sm hover:underline">Reply</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center"> | |
| <button class="bg-blue-600 text-white py-2 px-6 rounded-lg hover:bg-blue-700 transition duration-300">View All Messages</button> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Modal functions | |
| function openModal(modalId) { | |
| document.getElementById(modalId).classList.remove('hidden'); | |
| document.body.classList.add('overflow-hidden'); | |
| } | |
| function closeModal(modalId) { | |
| document.getElementById(modalId).classList.add('hidden'); | |
| document.body.classList.remove('overflow-hidden'); | |
| } | |
| function switchToLogin() { | |
| closeModal('signupModal'); | |
| openModal('loginModal'); | |
| } | |
| function switchToSignup() { | |
| closeModal('loginModal'); | |
| openModal('signupModal'); | |
| } | |
| // Form submissions | |
| document.getElementById('signupForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // In a real app, you would send this data to your backend | |
| const username = document.getElementById('signup-username').value; | |
| document.getElementById('userLink').textContent = `anonymoussolomat.com/${username}`; | |
| closeModal('signupModal'); | |
| openModal('dashboardModal'); | |
| }); | |
| document.getElementById('loginForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // In a real app, you would verify credentials with your backend | |
| closeModal('loginModal'); | |
| openModal('dashboardModal'); | |
| }); | |
| document.getElementById('demoForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| alert('Thank you for your anonymous message! In the real app, this would be delivered to the recipient.'); | |
| closeModal('demoModal'); | |
| }); | |
| // Copy to clipboard function | |
| function copyToClipboard(elementId) { | |
| const element = document.getElementById(elementId); | |
| const text = element.textContent; | |
| navigator.clipboard.writeText(text).then(() => { | |
| alert('Link copied to clipboard!'); | |
| }); | |
| } | |
| // Mobile menu toggle (would need more implementation for actual mobile menu) | |
| document.querySelector('.mobile-menu-button').addEventListener('click', function() { | |
| alert('Mobile menu would open here in a complete implementation.'); | |
| }); | |
| </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=Solomat/solomat" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |