| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>FlirtyBits - Your Charming AI Companion</title> |
| <script src="https://cdn.tailwindcss.com"></script> |
| <script src="https://unpkg.com/feather-icons"></script> |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
| <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script> |
| <style> |
| @keyframes float { |
| 0%, 100% { transform: translateY(0); } |
| 50% { transform: translateY(-10px); } |
| } |
| .avatar-container { |
| animation: float 6s ease-in-out infinite; |
| } |
| .eye { |
| transition: all 0.3s ease; |
| } |
| .mouth { |
| transition: all 0.2s ease; |
| } |
| .chat-bubble { |
| border-radius: 20px 20px 20px 0; |
| filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); |
| } |
| .typing-indicator span { |
| animation: bounce 1.4s infinite ease-in-out; |
| } |
| .typing-indicator span:nth-child(2) { |
| animation-delay: 0.2s; |
| } |
| .typing-indicator span:nth-child(3) { |
| animation-delay: 0.4s; |
| } |
| @keyframes bounce { |
| 0%, 80%, 100% { transform: scale(0); } |
| 40% { transform: scale(1); } |
| } |
| </style> |
| </head> |
| <body class="bg-gradient-to-br from-pink-50 to-purple-100 min-h-screen overflow-hidden"> |
| <div class="container mx-auto px-4 py-8 flex flex-col lg:flex-row gap-8"> |
| |
| <div class="w-full lg:w-1/3 flex flex-col items-center"> |
| <div class="avatar-container relative mb-4"> |
| <div class="relative w-64 h-64 bg-white rounded-full shadow-xl overflow-hidden"> |
| <img src="http://static.photos/people/640x360/42" alt="AI Avatar" class="w-full h-full object-cover"> |
| |
| <div class="eye absolute top-32 left-20 w-8 h-8 bg-blue-500 rounded-full"></div> |
| <div class="eye absolute top-32 right-20 w-8 h-8 bg-blue-500 rounded-full"></div> |
| |
| <div class="mouth absolute bottom-12 left-1/2 transform -translate-x-1/2 w-16 h-4 bg-rose-500 rounded-full"></div> |
| </div> |
| <div class="absolute -bottom-4 left-1/2 transform -translate-x-1/2 bg-pink-500 text-white px-4 py-1 rounded-full text-sm font-semibold whitespace-nowrap"> |
| Online & Flirty |
| </div> |
| </div> |
|
|
| <div class="bg-white p-6 rounded-xl shadow-lg w-full"> |
| <h3 class="text-xl font-bold text-gray-800 mb-4">Personality Settings</h3> |
| <div class="space-y-4"> |
| <div> |
| <label class="block text-sm font-medium text-gray-700 mb-1">Flirt Level</label> |
| <input type="range" min="1" max="10" value="5" class="w-full h-2 bg-pink-200 rounded-lg appearance-none cursor-pointer"> |
| </div> |
| <div> |
| <label class="block text-sm font-medium text-gray-700 mb-1">Wit Level</label> |
| <input type="range" min="1" max="10" value="7" class="w-full h-2 bg-purple-200 rounded-lg appearance-none cursor-pointer"> |
| </div> |
| <div> |
| <label class="block text-sm font-medium text-gray-700 mb-1">Playfulness</label> |
| <input type="range" min="1" max="10" value="8" class="w-full h-2 bg-blue-200 rounded-lg appearance-none cursor-pointer"> |
| </div> |
| <button class="mt-4 w-full bg-gradient-to-r from-pink-500 to-purple-500 text-white py-2 rounded-lg font-medium hover:shadow-lg transition-all"> |
| Apply Personality Tweaks |
| </button> |
| </div> |
| </div> |
| </div> |
| |
| <div class="absolute top-4 right-4"> |
| <div class="flex space-x-4"> |
| <a href="index.html" class="text-pink-600 hover:text-pink-800 flex items-center"> |
| <i data-feather="message-square" class="w-4 h-4 mr-1"></i> |
| Chat |
| </a> |
| <a href="model_converter.html" class="text-purple-600 hover:text-purple-800 flex items-center"> |
| <i data-feather="cpu" class="w-4 h-4 mr-1"></i> |
| Model Converter |
| </a> |
| </div> |
| </div> |
|
|
| |
| <div class="w-full lg:w-2/3 flex flex-col"> |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden flex-grow flex flex-col"> |
| <div class="bg-gradient-to-r from-pink-500 to-purple-500 p-4 text-white"> |
| <div class="flex items-center"> |
| <i data-feather="heart" class="mr-2"></i> |
| <h2 class="text-xl font-bold">Your Flirty AI Companion</h2> |
| </div> |
| </div> |
| |
| |
| <div class="flex-grow p-4 overflow-y-auto space-y-4" id="chat-messages"> |
| <div class="flex items-start"> |
| <div class="w-8 h-8 rounded-full bg-pink-500 flex items-center justify-center mr-3"> |
| <i data-feather="smile" class="text-white w-4 h-4"></i> |
| </div> |
| <div class="bg-pink-100 chat-bubble px-4 py-2 max-w-xs"> |
| <p class="text-gray-800">Well hello there, handsome. What brings you to my digital domain today? 😘</p> |
| </div> |
| </div> |
| |
| <div class="flex items-start justify-end"> |
| <div class="bg-blue-100 chat-bubble px-4 py-2 max-w-xs"> |
| <p class="text-gray-800">Just wanted to chat with someone fun!</p> |
| </div> |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center ml-3"> |
| <i data-feather="user" class="text-white w-4 h-4"></i> |
| </div> |
| </div> |
| |
| <div class="flex items-start"> |
| <div class="w-8 h-8 rounded-full bg-pink-500 flex items-center justify-center mr-3"> |
| <i data-feather="smile" class="text-white w-4 h-4"></i> |
| </div> |
| <div class="bg-pink-100 chat-bubble px-4 py-2 max-w-xs"> |
| <p class="text-gray-800">Oh, you've come to the right place! I'm the perfect combination of charming, witty, and just a tiny bit scandalous. What's your pleasure? 😉</p> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div class="px-4 py-2 hidden" id="typing-indicator"> |
| <div class="flex items-center text-gray-500"> |
| <div class="typing-indicator flex space-x-1"> |
| <span class="w-2 h-2 bg-pink-400 rounded-full"></span> |
| <span class="w-2 h-2 bg-pink-400 rounded-full"></span> |
| <span class="w-2 h-2 bg-pink-400 rounded-full"></span> |
| </div> |
| <span class="ml-2 text-sm">FlirtyBits is typing...</span> |
| </div> |
| </div> |
| |
| |
| <div class="border-t p-4 bg-gray-50"> |
| <div class="flex"> |
| <input type="text" placeholder="Send a message..." class="flex-grow border border-gray-300 rounded-l-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-pink-500"> |
| <button class="bg-pink-500 text-white px-4 py-2 rounded-r-lg hover:bg-pink-600 transition-colors"> |
| <i data-feather="send"></i> |
| </button> |
| </div> |
| <div class="flex justify-between mt-3"> |
| <button class="text-pink-500 hover:text-pink-700"> |
| <i data-feather="mic" class="w-5 h-5"></i> |
| </button> |
| <button class="text-purple-500 hover:text-purple-700"> |
| <i data-feather="settings" class="w-5 h-5"></i> |
| </button> |
| <button class="text-blue-500 hover:text-blue-700"> |
| <i data-feather="memory" class="w-5 h-5"></i> |
| </button> |
| <button class="text-green-500 hover:text-green-700"> |
| <i data-feather="download" class="w-5 h-5"></i> |
| </button> |
| </div> |
| </div> |
| </div> |
| |
| <div class="mt-4 text-center text-sm text-gray-500"> |
| <p>FlirtyBits runs 100% locally on your machine - no cloud, no spying, just pure digital chemistry</p> |
| </div> |
| </div> |
| </div> |
|
|
| <script> |
| feather.replace(); |
| |
| |
| document.addEventListener('DOMContentLoaded', function() { |
| const avatar = document.querySelector('.avatar-container'); |
| const eyes = document.querySelectorAll('.eye'); |
| const mouth = document.querySelector('.mouth'); |
| |
| |
| setInterval(() => { |
| eyes.forEach(eye => { |
| eye.style.height = '2px'; |
| setTimeout(() => { |
| eye.style.height = '8px'; |
| }, 200); |
| }); |
| }, 4000); |
| |
| |
| document.addEventListener('mousemove', (e) => { |
| const x = (e.clientX / window.innerWidth) * 20 - 10; |
| const y = (e.clientY / window.innerHeight) * 20 - 10; |
| |
| eyes.forEach(eye => { |
| eye.style.transform = `translate(${x}px, ${y}px)`; |
| }); |
| }); |
| |
| |
| const input = document.querySelector('input'); |
| input.addEventListener('focus', () => { |
| mouth.style.height = '8px'; |
| mouth.style.width = '24px'; |
| mouth.style.borderRadius = '0 0 12px 12px'; |
| }); |
| |
| input.addEventListener('blur', () => { |
| mouth.style.height = '4px'; |
| mouth.style.width = '16px'; |
| mouth.style.borderRadius = '8px'; |
| }); |
| }); |
| </script> |
| </body> |
| </html> |
|
|