Spaces:
Running

bb / index.html
maxwar's picture
Add 3 files
fd4a6d8 verified
Raw History Blame Contribute Delete
32.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Future Self Chatbot | AI-Powered Self Reflection</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>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
color: #1e293b;
}
.gradient-bg {
background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
}
.timeline-item::before {
content: '';
position: absolute;
left: -28px;
top: 0;
width: 16px;
height: 16px;
border-radius: 50%;
background: #6366f1;
}
.message-animation {
animation: fadeInUp 0.4s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.future-image {
transition: all 0.3s ease;
}
.future-image:hover {
transform: scale(1.03);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-hourglass-half text-indigo-500 text-2xl mr-2"></i>
<span class="text-xl font-bold text-indigo-600">FutureSelf</span>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center space-x-8">
<a href="#" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Features</a>
<a href="#" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Pricing</a>
<a href="#" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">About</a>
<button class="bg-indigo-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-indigo-700 transition">Get Started</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="gradient-bg text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20">
<div class="md:flex md:items-center md:justify-between">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Chat with your <span class="underline decoration-white/30">Future Self</span></h1>
<p class="text-lg mb-8 opacity-90">An AI-powered time machine that lets you consult wiser, future versions of yourself for guidance, warnings, and inspiration.</p>
<div class="flex space-x-4">
<button class="bg-white text-indigo-600 px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition flex items-center">
<i class="fas fa-play mr-2"></i> Try Demo
</button>
<button class="bg-white/10 border border-white/20 px-6 py-3 rounded-lg font-medium hover:bg-white/20 transition flex items-center">
<i class="fas fa-book-open mr-2"></i> Learn More
</button>
</div>
</div>
<div class="md:w-1/2 relative">
<div class="bg-white/10 backdrop-blur-sm rounded-2xl p-6 border border-white/20">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-full bg-indigo-400 flex items-center justify-center">
<i class="fas fa-robot text-white"></i>
</div>
<div class="ml-3">
<div class="font-medium">Future You (2030)</div>
<div class="text-xs opacity-70">Based on your journals & goals</div>
</div>
</div>
<div class="bg-white/20 rounded-lg p-4 mb-3 message-animation">
<p>"If I could give you one piece of advice from where I stand now, it would be to invest more time in learning AI skills. The opportunities in this field will explode in the coming years."</p>
</div>
<div class="bg-white/30 rounded-lg p-4 message-animation">
<p>"Also, don't worry so much about what others think. The confidence you'll gain by 2030 comes from finally embracing your authentic self."</p>
</div>
</div>
<div class="absolute -bottom-6 -right-6 bg-indigo-800 rounded-full w-32 h-32 z-0"></div>
</div>
</div>
</div>
</div>
<!-- Features Section -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">How FutureSelf Works</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Upload your personal data and let AI simulate insightful conversations with future versions of yourself.</p>
</div>
<div class="grid md:grid-cols-3 gap-8 mb-20">
<div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-12 h-12 gradient-bg rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-upload text-white text-xl"></i>
</div>
<h3 class="font-bold text-lg mb-2">1. Train Your Future Self</h3>
<p class="text-gray-600">Upload journals, emails, social posts, or answer personality questions to build your unique model.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-12 h-12 gradient-bg rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-cogs text-white text-xl"></i>
</div>
<h3 class="font-bold text-lg mb-2">2. AI Creates Projections</h3>
<p class="text-gray-600">Our system analyzes your data to simulate different future scenarios based on your goals and behaviors.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-12 h-12 gradient-bg rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-comments text-white text-xl"></i>
</div>
<h3 class="font-bold text-lg mb-2">3. Have Conversations</h3>
<p class="text-gray-600">Ask for advice, warnings, or reflections from your future self at different time horizons.</p>
</div>
</div>
<div class="bg-indigo-50 rounded-2xl p-8 md:p-12">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h3 class="text-2xl font-bold mb-4">Simulate Alternate Futures</h3>
<p class="text-gray-700 mb-6">Explore different life paths by adjusting key variables like career choices, relationships, or health habits.</p>
<div class="space-y-4">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
<i class="fas fa-check text-indigo-600 text-xs"></i>
</div>
<span>What if I become a doctor vs. an artist?</span>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
<i class="fas fa-check text-indigo-600 text-xs"></i>
</div>
<span>How would my life change if I moved abroad?</span>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-3">
<i class="fas fa-check text-indigo-600 text-xs"></i>
</div>
<span>What advice would my future self give about this relationship?</span>
</div>
</div>
</div>
<div class="md:w-1/2 md:pl-12">
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-4 bg-gray-50 border-b flex items-center">
<div class="flex space-x-2 mr-4">
<div class="w-3 h-3 rounded-full bg-red-500"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
<div class="text-sm text-gray-500">Alternate Futures Simulator</div>
</div>
<div class="p-6">
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-2">Time Horizon</label>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-indigo-600 text-white rounded-md text-sm">5 years</button>
<button class="px-3 py-1 bg-indigo-100 text-indigo-700 rounded-md text-sm">10 years</button>
<button class="px-3 py-1 bg-indigo-100 text-indigo-700 rounded-md text-sm">20 years</button>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-2">Scenario</label>
<select class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
<option>Career Change to Tech</option>
<option>Stay at Current Job</option>
<option>Start My Own Business</option>
<option>Pursue Creative Career</option>
</select>
</div>
<button class="w-full gradient-bg text-white py-2 rounded-md font-medium hover:opacity-90 transition">
Generate Future Projection
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Future Images Section -->
<div class="bg-gray-50 py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Visualize Your Future</h2>
<p class="text-gray-600 max-w-2xl mx-auto">AI-generated images of your potential future based on your data and selected scenarios.</p>
</div>
<div class="grid md:grid-cols-3 gap-6">
<div class="future-image bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Future home" class="w-full h-48 object-cover">
<div class="p-6">
<div class="text-xs text-indigo-600 font-medium mb-1">HOME SCENARIO</div>
<h3 class="font-bold mb-2">Your Future Home (2035)</h3>
<p class="text-gray-600 text-sm">Based on your preference for minimalist design and coastal locations.</p>
</div>
</div>
<div class="future-image bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://images.unsplash.com/photo-1521791055366-0d553872125f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Future workspace" class="w-full h-48 object-cover">
<div class="p-6">
<div class="text-xs text-indigo-600 font-medium mb-1">CAREER SCENARIO</div>
<h3 class="font-bold mb-2">Your Workspace (2030)</h3>
<p class="text-gray-600 text-sm">If you continue growing your design business as planned.</p>
</div>
</div>
<div class="future-image bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://images.unsplash.com/photo-1506869640319-fe1a24fd76dc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Future family" class="w-full h-48 object-cover">
<div class="p-6">
<div class="text-xs text-indigo-600 font-medium mb-1">FAMILY SCENARIO</div>
<h3 class="font-bold mb-2">Possible Family (2040)</h3>
<p class="text-gray-600 text-sm">Based on your relationship goals and parenting aspirations.</p>
</div>
</div>
</div>
<div class="text-center mt-12">
<button class="px-6 py-3 border-2 border-indigo-600 text-indigo-600 rounded-lg font-medium hover:bg-indigo-50 transition">
<i class="fas fa-camera mr-2"></i> Generate More Future Images
</button>
</div>
</div>
</div>
<!-- Timeline Section -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">Your Life Timeline</h2>
<p class="text-gray-600 max-w-2xl mx-auto">See how your future might unfold across different life dimensions.</p>
</div>
<div class="relative max-w-3xl mx-auto">
<div class="absolute left-4 md:left-1/2 h-full w-0.5 bg-gray-200 -translate-x-1/2"></div>
<div class="space-y-8">
<!-- Timeline Item 1 -->
<div class="relative timeline-item pl-10 md:pl-0 md:flex justify-between md:even:flex-row-reverse">
<div class="md:w-5/12"></div>
<div class="md:w-5/12">
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 relative">
<div class="text-xs text-indigo-600 font-medium mb-1">CAREER</div>
<h3 class="font-bold mb-2">Senior Developer at TechCo</h3>
<p class="text-gray-600 text-sm mb-3">Based on your current skill progression and industry trends.</p>
<div class="text-xs text-gray-500">Projected: 2028</div>
</div>
</div>
</div>
<!-- Timeline Item 2 -->
<div class="relative timeline-item pl-10 md:pl-0 md:flex justify-between md:even:flex-row-reverse">
<div class="md:w-5/12">
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 relative">
<div class="text-xs text-indigo-600 font-medium mb-1">RELATIONSHIP</div>
<h3 class="font-bold mb-2">Married with 1 Child</h3>
<p class="text-gray-600 text-sm mb-3">Based on your relationship goals and current patterns.</p>
<div class="text-xs text-gray-500">Projected: 2030</div>
</div>
</div>
<div class="md:w-5/12"></div>
</div>
<!-- Timeline Item 3 -->
<div class="relative timeline-item pl-10 md:pl-0 md:flex justify-between md:even:flex-row-reverse">
<div class="md:w-5/12"></div>
<div class="md:w-5/12">
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 relative">
<div class="text-xs text-indigo-600 font-medium mb-1">FINANCES</div>
<h3 class="font-bold mb-2">Net Worth $1.2M</h3>
<p class="text-gray-600 text-sm mb-3">Based on your current savings rate and investment strategy.</p>
<div class="text-xs text-gray-500">Projected: 2035</div>
</div>
</div>
</div>
<!-- Timeline Item 4 -->
<div class="relative timeline-item pl-10 md:pl-0 md:flex justify-between md:even:flex-row-reverse">
<div class="md:w-5/12">
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100 relative">
<div class="text-xs text-indigo-600 font-medium mb-1">PERSONAL GROWTH</div>
<h3 class="font-bold mb-2">Published First Book</h3>
<p class="text-gray-600 text-sm mb-3">Based on your writing habits and creative aspirations.</p>
<div class="text-xs text-gray-500">Projected: 2032</div>
</div>
</div>
<div class="md:w-5/12"></div>
</div>
</div>
</div>
</div>
<!-- Testimonials -->
<div class="bg-indigo-900 text-white py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold mb-4">What People Are Saying</h2>
<p class="text-indigo-200 max-w-2xl mx-auto">FutureSelf has helped thousands gain clarity about their life path.</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white/10 rounded-xl p-6 backdrop-blur-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-indigo-700 flex items-center justify-center">
<span class="text-xl font-medium">JD</span>
</div>
<div class="ml-4">
<div class="font-medium">Jamie D.</div>
<div class="text-sm text-indigo-300">Entrepreneur</div>
</div>
</div>
<p class="text-indigo-100">"Talking to my 10-year-older self gave me the courage to quit my job and start the business I'd always dreamed of. The advice was eerily accurate."</p>
</div>
<div class="bg-white/10 rounded-xl p-6 backdrop-blur-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-indigo-700 flex items-center justify-center">
<span class="text-xl font-medium">SM</span>
</div>
<div class="ml-4">
<div class="font-medium">Sarah M.</div>
<div class="text-sm text-indigo-300">Writer</div>
</div>
</div>
<p class="text-indigo-100">"Seeing visualizations of my future home and workspace motivated me to make changes now that align with those visions. It's like having a personal life coach."</p>
</div>
<div class="bg-white/10 rounded-xl p-6 backdrop-blur-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-indigo-700 flex items-center justify-center">
<span class="text-xl font-medium">TK</span>
</div>
<div class="ml-4">
<div class="font-medium">Thomas K.</div>
<div class="text-sm text-indigo-300">Student</div>
</div>
</div>
<p class="text-indigo-100">"The alternate futures feature helped me decide between grad school and starting work. My 'future self' had insights I hadn't considered."</p>
</div>
</div>
</div>
</div>
<!-- CTA Section -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20">
<div class="gradient-bg rounded-3xl p-12 text-center">
<h2 class="text-3xl font-bold text-white mb-6">Ready to Meet Your Future Self?</h2>
<p class="text-white/90 mb-8 max-w-2xl mx-auto">Join thousands who are using AI-powered future projections to make better decisions today.</p>
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-white text-indigo-600 px-8 py-4 rounded-lg font-bold hover:bg-gray-100 transition">
Start Free Trial
</button>
<button class="bg-white/10 border border-white/20 text-white px-8 py-4 rounded-lg font-bold hover:bg-white/20 transition">
Watch Demo Video
</button>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white pt-16 pb-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-4 gap-8 mb-12">
<div>
<div class="flex items-center mb-4">
<i class="fas fa-hourglass-half text-indigo-400 text-2xl mr-2"></i>
<span class="text-xl font-bold">FutureSelf</span>
</div>
<p class="text-gray-400">AI-powered future self simulations for better decision making today.</p>
</div>
<div>
<h3 class="text-lg font-medium mb-4">Product</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Examples</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Demo</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-medium mb-4">Company</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-medium mb-4">Connect</h3>
<div class="flex space-x-4 mb-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-indigo-600 transition">
<i class="fab fa-instagram"></i>
</a>
</div>
<p class="text-gray-400">Subscribe to our newsletter</p>
<div class="mt-2 flex">
<input type="email" placeholder="Your email" class="bg-gray-800 text-white px-4 py-2 rounded-l-md focus:outline-none focus:ring-1 focus:ring-indigo-500 w-full">
<button class="bg-indigo-600 text-white px-4 py-2 rounded-r-md hover:bg-indigo-700 transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 FutureSelf. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white transition">Cookies</a>
</div>
</div>
</div>
</footer>
<!-- Chatbot UI (fixed bottom right) -->
<div class="fixed bottom-8 right-8 z-50">
<div class="relative">
<div id="chatbotContainer" class="hidden w-80 bg-white rounded-t-xl shadow-xl overflow-hidden">
<div class="bg-indigo-600 text-white p-4 flex items-center justify-between">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-indigo-400 flex items-center justify-center mr-2">
<i class="fas fa-robot text-white text-sm"></i>
</div>
<span class="font-medium">FutureSelf Assistant</span>
</div>
<button id="minimizeChatbot" class="text-white hover:text-indigo-200">
<i class="fas fa-minus"></i>
</button>
</div>
<div class="h-96 overflow-y-auto p-4 bg-gray-50" id="chatMessages">
<div class="flex mb-4">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-2">
<i class="fas fa-robot text-indigo-600 text-sm"></i>
</div>
<div class="bg-white p-3 rounded-lg shadow-sm max-w-xs">
<p>Hi there! I'm here to help you connect with your future self. What would you like to ask?</p>
</div>
</div>
</div>
<div class="p-4 border-t border-gray-200 bg-white">
<div class="flex">
<input type="text" placeholder="Ask your future self..." class="flex-1 border border-gray-300 rounded-l-md px-4 py-2 focus:outline-none focus:ring-1 focus:ring-indigo-500">
<button class="bg-indigo-600 text-white px-4 py-2 rounded-r-md hover:bg-indigo-700 transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<button id="openChatbot" class="w-14 h-14 rounded-full gradient-bg text-white shadow-lg hover:shadow-xl transition flex items-center justify-center">
<i class="fas fa-comment-dots text-xl"></i>
</button>
</div>
</div>
<script>
// Chatbot toggle functionality
const chatbotContainer = document.getElementById('chatbotContainer');
const openChatbot = document.getElementById('openChatbot');
const minimizeChatbot = document.getElementById('minimizeChatbot');
openChatbot.addEventListener('click', () => {
chatbotContainer.classList.toggle('hidden');
});
minimizeChatbot.addEventListener('click', () => {
chatbotContainer.classList.add('hidden');
});
// Simulate adding a new message
function addMessage(message, isUser = false) {
const chatMessages = document.getElementById('chatMessages');
const messageDiv = document.createElement('div');
messageDiv.className = `flex mb-4 ${isUser ? 'justify-end' : ''}`;
if (!isUser) {
messageDiv.innerHTML = `
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-2">
<i class="fas fa-robot text-indigo-600 text-sm"></i>
</div>
<div class="bg-white p-3 rounded-lg shadow-sm max-w-xs">
<p>${message}</p>
</div>
`;
} else {
messageDiv.innerHTML = `
<div class="bg-indigo-600 text-white p-3 rounded-lg shadow-sm max-w-xs">
<p>${message}</p>
</div>
<div class="w-8 h-8 rounded-full bg-indigo-600 flex items-center justify-center ml-2">
<i class="fas fa-user text-white text-sm"></i>
</div>
`;
}
chatMessages.appendChild(messageDiv);
chatMessages.scrollTop = chatMessages.scrollHeight;
}
// Example conversation
setTimeout(() => {
addMessage("What would my future self say about my career choice?");
}, 1500);
setTimeout(() => {
addMessage("Your future self in 2030 says: 'Stick with software engineering but start specializing in AI applications. That's where the most rewarding opportunities will be.'", false);
}, 3000);
// Future image hover effect
const futureImages = document.querySelectorAll('.future-image');
futureImages.forEach(image => {
image.addEventListener('mouseenter', () => {
image.querySelector('img').style.transform = 'scale(1.03)';
});
image.addEventListener('mouseleave', () => {
image.querySelector('img').style.transform = 'scale(1)';
});
});
</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=maxwar/bb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>