Spaces:
Running
Running
Download index.html from LoneWolf212/test: direct link, hf CLI and curl.
- Browser
- Download file 20.6 kB
-
https://huggingface.co/spaces/LoneWolf212/test/resolve/main/index.html
- Command line
-
hf download hf://spaces/LoneWolf212/test/index.html
-
curl -L -o index.html https://huggingface.co/spaces/LoneWolf212/test/resolve/main/index.html
20.6 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>OmniMarketer Pro - Connexion</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> | |
| .bg-gradient-primary { | |
| background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); | |
| } | |
| .text-gradient { | |
| background: linear-gradient(90deg, #4f46e5, #7c3aed); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .input-focus:focus { | |
| border-color: #7c3aed; | |
| box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2); | |
| } | |
| .btn-hover:hover { | |
| transform: translateY(-1px); | |
| box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); | |
| } | |
| .wave-shape { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 100%; | |
| overflow: hidden; | |
| line-height: 0; | |
| } | |
| .wave-shape svg { | |
| position: relative; | |
| display: block; | |
| width: calc(100% + 1.3px); | |
| height: 150px; | |
| } | |
| .wave-shape .shape-fill { | |
| fill: #FFFFFF; | |
| } | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| .floating { | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen bg-gray-50"> | |
| <div class="flex flex-col lg:flex-row min-h-screen"> | |
| <!-- Left Side - Branding and Illustration --> | |
| <div class="hidden lg:flex lg:w-1/2 bg-gradient-primary relative overflow-hidden"> | |
| <div class="absolute inset-0 flex items-center justify-center p-12"> | |
| <div class="text-center z-10 max-w-md"> | |
| <h1 class="text-4xl font-bold text-white mb-6">OmniMarketer Pro</h1> | |
| <p class="text-white/90 mb-8 text-lg">Gérez toutes vos campagnes WhatsApp, SMS et Email depuis une seule plateforme.</p> | |
| <div class="grid grid-cols-3 gap-6 mt-12"> | |
| <div class="bg-white/20 backdrop-blur-sm rounded-lg p-4 flex flex-col items-center"> | |
| <i class="fab fa-whatsapp text-3xl text-white mb-2"></i> | |
| <span class="text-white text-sm font-medium">Campagnes WhatsApp</span> | |
| </div> | |
| <div class="bg-white/20 backdrop-blur-sm rounded-lg p-4 flex flex-col items-center"> | |
| <i class="fas fa-sms text-3xl text-white mb-2"></i> | |
| <span class="text-white text-sm font-medium">Envoyez des SMS</span> | |
| </div> | |
| <div class="bg-white/20 backdrop-blur-sm rounded-lg p-4 flex flex-col items-center"> | |
| <i class="fas fa-envelope text-3xl text-white mb-2"></i> | |
| <span class="text-white text-sm font-medium">Email Marketing</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="absolute left-0 right-0 top-0 flex justify-center pointer-events-none"> | |
| <div class="w-64 h-64 bg-purple-300/20 rounded-full filter blur-3xl"></div> | |
| </div> | |
| <div class="wave-shape"> | |
| <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"> | |
| <path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" class="shape-fill"></path> | |
| </svg> | |
| </div> | |
| </div> | |
| <!-- Right Side - Login Form --> | |
| <div class="w-full lg:w-1/2 flex items-center justify-center p-8"> | |
| <div class="w-full max-w-md"> | |
| <div class="flex justify-center mb-8 lg:hidden"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-comment-dots text-4xl mr-3 text-gradient"></i> | |
| <span class="text-2xl font-bold text-gray-800">OmniMarketer</span> | |
| </div> | |
| </div> | |
| <div class="text-center mb-8"> | |
| <h2 class="text-3xl font-bold text-gray-800">Connectez-vous</h2> | |
| <p class="text-gray-600 mt-2">Accédez à votre tableau de bord marketing</p> | |
| </div> | |
| <!-- Social Login Buttons --> | |
| <div class="flex space-x-4 mb-6"> | |
| <a href="https://gmail.com" target="_blank" class="flex-1 py-2 px-4 border border-gray-300 rounded-lg text-gray-700 hover:bg-gray-50 transition flex items-center justify-center"> | |
| <i class="fab fa-google text-red-500 mr-2"></i> | |
| <span>Google</span> | |
| </a> | |
| <a href="https://outlook.live.com" target="_blank" class="flex-1 py-2 px-4 border border-gray-300 rounded-lg text-gray-700 hover:bg-gray-50 transition flex items-center justify-center"> | |
| <i class="fab fa-microsoft text-blue-500 mr-2"></i> | |
| <span>Microsoft</span> | |
| </a> | |
| </div> | |
| <div class="flex items-center my-6"> | |
| <div class="flex-1 border-t border-gray-300"></div> | |
| <span class="px-4 text-gray-500 text-sm">OU</span> | |
| <div class="flex-1 border-t border-gray-300"></div> | |
| </div> | |
| <!-- Login Form --> | |
| <form class="space-y-4"> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Adresse Email</label> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-envelope text-gray-400"></i> | |
| </div> | |
| <input type="email" id="email" name="email" class="pl-10 w-full px-4 py-2 border border-gray-300 rounded-lg input-focus focus:outline-none transition" placeholder="votre@email.com" required> | |
| </div> | |
| </div> | |
| <div> | |
| <div class="flex justify-between items-center mb-1"> | |
| <label for="password" class="block text-sm font-medium text-gray-700">Mot de passe</label> | |
| <a href="#" class="text-sm text-indigo-600 hover:text-indigo-500">Mot de passe oublié?</a> | |
| </div> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-lock text-gray-400"></i> | |
| </div> | |
| <input type="password" id="password" name="password" class="pl-10 w-full px-4 py-2 border border-gray-300 rounded-lg input-focus focus:outline-none transition" placeholder="••••••••" required> | |
| <button type="button" class="absolute inset-y-0 right-0 pr-3 flex items-center" id="togglePassword"> | |
| <i class="fas fa-eye text-gray-400 hover:text-gray-500 cursor-pointer"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"> | |
| <label for="remember-me" class="ml-2 block text-sm text-gray-700">Se souvenir de moi</label> | |
| </div> | |
| <a href="https://outlook.com" class="w-full bg-indigo-600 text-white py-3 px-4 rounded-lg font-medium btn-hover hover:bg-indigo-700 transition flex items-center justify-center"> | |
| <span>Se connecter</span> | |
| <i class="fas fa-arrow-right ml-2"></i> | |
| </a> | |
| </form> | |
| <!-- Signup Form (hidden by default) --> | |
| <div id="signupForm" class="hidden space-y-4"> | |
| <div class="text-center mb-6"> | |
| <h2 class="text-3xl font-bold text-gray-800">Inscription</h2> | |
| <p class="text-gray-600 mt-2">Créez votre compte gratuit</p> | |
| </div> | |
| <form class="space-y-4"> | |
| <div> | |
| <label for="signup-name" class="block text-sm font-medium text-gray-700 mb-1">Nom complet</label> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-user text-gray-400"></i> | |
| </div> | |
| <input type="text" id="signup-name" class="pl-10 w-full px-4 py-2 border border-gray-300 rounded-lg input-focus focus:outline-none transition" placeholder="Votre nom" required> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="signup-email" class="block text-sm font-medium text-gray-700 mb-1">Adresse Email</label> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-envelope text-gray-400"></i> | |
| </div> | |
| <input type="email" id="signup-email" class="pl-10 w-full px-4 py-2 border border-gray-300 rounded-lg input-focus focus:outline-none transition" placeholder="votre@email.com" required> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="signup-password" class="block text-sm font-medium text-gray-700 mb-1">Mot de passe</label> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-lock text-gray-400"></i> | |
| </div> | |
| <input type="password" id="signup-password" class="pl-10 w-full px-4 py-2 border border-gray-300 rounded-lg input-focus focus:outline-none transition" placeholder="••••••••" required> | |
| <button type="button" class="absolute inset-y-0 right-0 pr-3 flex items-center" id="toggleSignupPassword"> | |
| <i class="fas fa-eye text-gray-400 hover:text-gray-500 cursor-pointer"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="signup-confirm" class="block text-sm font-medium text-gray-700 mb-1">Confirmez le mot de passe</label> | |
| <div class="relative"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-lock text-gray-400"></i> | |
| </div> | |
| <input type="password" id="signup-confirm" class="pl-10 w-full px-4 py-2 border border-gray-300 rounded-lg input-focus focus:outline-none transition" placeholder="••••••••" required> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <input id="terms" name="terms" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded" required> | |
| <label for="terms" class="ml-2 block text-sm text-gray-700">J'accepte les <a href="#" class="text-indigo-600 hover:text-indigo-500">conditions d'utilisation</a></label> | |
| </div> | |
| <button type="submit" class="w-full bg-indigo-600 text-white py-3 px-4 rounded-lg font-medium btn-hover hover:bg-indigo-700 transition flex items-center justify-center"> | |
| <span>S'inscrire</span> | |
| <i class="fas fa-user-plus ml-2"></i> | |
| </button> | |
| </form> | |
| <div class="text-center"> | |
| <p class="text-sm text-gray-600"> | |
| Déjà inscrit? | |
| <a href="#login" id="showLogin" class="font-medium text-indigo-600 hover:text-indigo-500">Se connecter</a> | |
| </p> | |
| </div> | |
| </div> | |
| <div class="mt-6 text-center"> | |
| <p class="text-sm text-gray-600"> | |
| Pas encore inscrit? | |
| <a href="#" class="font-medium text-indigo-600 hover:text-indigo-500">Créer un compte</a> | |
| </p> | |
| </div> | |
| <div class="mt-8 border-t border-gray-200 pt-6"> | |
| <div class="flex justify-center space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i class="fab fa-linkedin-in"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-gray-500"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Toggle password visibility | |
| const togglePassword = document.getElementById('togglePassword'); | |
| const passwordInput = document.getElementById('password'); | |
| togglePassword.addEventListener('click', function() { | |
| const type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password'; | |
| passwordInput.setAttribute('type', type); | |
| const icon = this.querySelector('i'); | |
| if (type === 'password') { | |
| icon.classList.remove('fa-eye-slash'); | |
| icon.classList.add('fa-eye'); | |
| } else { | |
| icon.classList.remove('fa-eye'); | |
| icon.classList.add('fa-eye-slash'); | |
| } | |
| }); | |
| // Form submission | |
| const form = document.querySelector('form'); | |
| form.addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| const email = document.getElementById('email').value; | |
| const password = document.getElementById('password').value; | |
| // Add your authentication logic here | |
| console.log('Login attempt with:', {email, password}); | |
| // Simulate successful login | |
| setTimeout(() => { | |
| alert('Connexion réussie! Redirection vers le tableau de bord.'); | |
| // window.location.href = 'dashboard.html'; | |
| }, 1000); | |
| }); | |
| // Toggle between login and signup forms | |
| const showSignup = document.getElementById('showSignup'); | |
| const showLogin = document.getElementById('showLogin'); | |
| const loginForm = document.querySelector('form'); | |
| const signupForm = document.getElementById('signupForm'); | |
| showSignup.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| loginForm.closest('div').classList.add('hidden'); | |
| signupForm.classList.remove('hidden'); | |
| document.getElementById('signup-name').focus(); | |
| }); | |
| showLogin.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| signupForm.classList.add('hidden'); | |
| loginForm.closest('div').classList.remove('hidden'); | |
| document.getElementById('email').focus(); | |
| }); | |
| // Toggle signup password visibility | |
| const toggleSignupPassword = document.getElementById('toggleSignupPassword'); | |
| const signupPasswordInput = document.getElementById('signup-password'); | |
| if (toggleSignupPassword) { | |
| toggleSignupPassword.addEventListener('click', function() { | |
| const type = signupPasswordInput.getAttribute('type') === 'password' ? 'text' : 'password'; | |
| signupPasswordInput.setAttribute('type', type); | |
| const icon = this.querySelector('i'); | |
| if (type === 'password') { | |
| icon.classList.remove('fa-eye-slash'); | |
| icon.classList.add('fa-eye'); | |
| } else { | |
| icon.classList.remove('fa-eye'); | |
| icon.classList.add('fa-eye-slash'); | |
| } | |
| }); | |
| } | |
| // Signup form submission | |
| const signupFormElem = document.querySelector('#signupForm form'); | |
| if (signupFormElem) { | |
| signupFormElem.addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| const name = document.getElementById('signup-name').value; | |
| const email = document.getElementById('signup-email').value; | |
| const password = document.getElementById('signup-password').value; | |
| const confirm = document.getElementById('signup-confirm').value; | |
| if (password !== confirm) { | |
| alert('Les mots de passe ne correspondent pas'); | |
| return; | |
| } | |
| // Add your signup logic here | |
| console.log('Signup attempt with:', {name, email, password}); | |
| // Simulate successful signup | |
| setTimeout(() => { | |
| alert('Inscription réussie! Vous pouvez maintenant vous connecter.'); | |
| signupForm.classList.add('hidden'); | |
| loginForm.closest('div').classList.remove('hidden'); | |
| }, 1000); | |
| }); | |
| } | |
| }); | |
| </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=LoneWolf212/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |