Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Mindscape | A Thoughtful Blog</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-text { | |
| background: linear-gradient(90deg, #3b82f6, #8b5cf6); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .article-card:hover .article-image { | |
| transform: scale(1.05); | |
| } | |
| .article-image { | |
| transition: transform 0.3s ease; | |
| } | |
| .reading-progress { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| height: 4px; | |
| background: linear-gradient(90deg, #3b82f6, #8b5cf6); | |
| z-index: 1000; | |
| } | |
| .dark-mode { | |
| background-color: #1a202c; | |
| color: #e2e8f0; | |
| } | |
| .dark-mode .bg-white { | |
| background-color: #2d3748 ; | |
| } | |
| .dark-mode .text-gray-800 { | |
| color: #e2e8f0 ; | |
| } | |
| .dark-mode .text-gray-600 { | |
| color: #a0aec0 ; | |
| } | |
| .dark-mode .border-gray-200 { | |
| border-color: #4a5568 ; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans antialiased"> | |
| <!-- Reading Progress Bar --> | |
| <div id="reading-progress" class="reading-progress"></div> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-4 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-10 h-10 rounded-full bg-indigo-500 flex items-center justify-center"> | |
| <span class="text-white font-bold text-xl">M</span> | |
| </div> | |
| <h1 class="text-2xl font-bold gradient-text">Mindscape</h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-8"> | |
| <a href="#" class="text-gray-800 hover:text-indigo-600 font-medium">Home</a> | |
| <a href="#" class="text-gray-800 hover:text-indigo-600 font-medium">Articles</a> | |
| <a href="#" class="text-gray-800 hover:text-indigo-600 font-medium">Categories</a> | |
| <a href="#" class="text-gray-800 hover:text-indigo-600 font-medium">About</a> | |
| <a href="#" class="text-gray-800 hover:text-indigo-600 font-medium">Contact</a> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button id="theme-toggle" class="text-gray-600 hover:text-indigo-600"> | |
| <i class="fas fa-moon"></i> | |
| </button> | |
| <button class="md:hidden text-gray-600 hover:text-indigo-600"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <button class="hidden md:block bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-full font-medium"> | |
| Subscribe | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Mobile Menu --> | |
| <div id="mobile-menu" class="hidden bg-white shadow-lg absolute w-full z-50"> | |
| <div class="container mx-auto px-4 py-4"> | |
| <a href="#" class="block py-2 text-gray-800 hover:text-indigo-600 font-medium">Home</a> | |
| <a href="#" class="block py-2 text-gray-800 hover:text-indigo-600 font-medium">Articles</a> | |
| <a href="#" class="block py-2 text-gray-800 hover:text-indigo-600 font-medium">Categories</a> | |
| <a href="#" class="block py-2 text-gray-800 hover:text-indigo-600 font-medium">About</a> | |
| <a href="#" class="block py-2 text-gray-800 hover:text-indigo-600 font-medium">Contact</a> | |
| <button class="w-full mt-2 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-full font-medium"> | |
| Subscribe | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Hero Section --> | |
| <section class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-3xl mx-auto text-center"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-6">Explore Thoughts That Matter</h1> | |
| <p class="text-xl mb-8 opacity-90">Discover insightful articles on technology, creativity, and personal growth.</p> | |
| <div class="relative max-w-md mx-auto"> | |
| <input type="text" placeholder="Search articles..." class="w-full py-3 px-4 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-indigo-300"> | |
| <button class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-indigo-600 hover:bg-indigo-700 text-white p-2 rounded-full"> | |
| <i class="fas fa-search"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Post --> | |
| <section class="py-12"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-2xl font-bold mb-8 text-gray-800">Featured Article</h2> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="md:flex"> | |
| <div class="md:w-1/2"> | |
| <img src="https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Featured Post" class="w-full h-full object-cover article-image"> | |
| </div> | |
| <div class="p-8 md:w-1/2"> | |
| <div class="uppercase tracking-wide text-sm text-indigo-600 font-semibold mb-1">Technology</div> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-3">The Future of AI in Everyday Life</h3> | |
| <p class="text-gray-600 mb-4">Artificial Intelligence is transforming how we live, work, and interact. This article explores the practical applications of AI that are already changing our daily routines.</p> | |
| <div class="flex items-center mt-6"> | |
| <img class="h-10 w-10 rounded-full mr-4" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Author"> | |
| <div> | |
| <p class="text-gray-900 font-medium">Sarah Johnson</p> | |
| <p class="text-gray-600 text-sm">May 15, 2023 · 8 min read</p> | |
| </div> | |
| </div> | |
| <button class="mt-6 bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-2 rounded-full font-medium"> | |
| Read Article | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Latest Articles --> | |
| <section class="py-12 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h2 class="text-2xl font-bold text-gray-800">Latest Articles</h2> | |
| <a href="#" class="text-indigo-600 hover:text-indigo-800 font-medium">View All</a> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Article 1 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden article-card"> | |
| <div class="h-48 overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1528&q=80" alt="Article 1" class="w-full h-full object-cover article-image"> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-xs font-semibold text-indigo-600 bg-indigo-50 px-3 py-1 rounded-full">Productivity</span> | |
| <span class="text-gray-500 text-sm">5 min read</span> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-3">10 Morning Habits of Highly Productive People</h3> | |
| <p class="text-gray-600 mb-4">Discover the morning routines that set successful individuals up for a productive day ahead.</p> | |
| <div class="flex items-center"> | |
| <img class="h-8 w-8 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/32.jpg" alt="Author"> | |
| <div> | |
| <p class="text-gray-900 text-sm font-medium">Michael Chen</p> | |
| <p class="text-gray-500 text-xs">Jun 2, 2023</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Article 2 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden article-card"> | |
| <div class="h-48 overflow-hidden"> | |
| <img src="https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Article 2" class="w-full h-full object-cover article-image"> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-xs font-semibold text-purple-600 bg-purple-50 px-3 py-1 rounded-full">Creativity</span> | |
| <span class="text-gray-500 text-sm">12 min read</span> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-3">Unlocking Creative Potential Through Constraints</h3> | |
| <p class="text-gray-600 mb-4">How limitations can actually fuel creativity rather than hinder it, with examples from art and business.</p> | |
| <div class="flex items-center"> | |
| <img class="h-8 w-8 rounded-full mr-2" src="https://randomuser.me/api/portraits/women/68.jpg" alt="Author"> | |
| <div> | |
| <p class="text-gray-900 text-sm font-medium">Emma Rodriguez</p> | |
| <p class="text-gray-500 text-xs">May 28, 2023</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Article 3 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden article-card"> | |
| <div class="h-48 overflow-hidden"> | |
| <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="Article 3" class="w-full h-full object-cover article-image"> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-xs font-semibold text-green-600 bg-green-50 px-3 py-1 rounded-full">Health</span> | |
| <span class="text-gray-500 text-sm">7 min read</span> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-3">The Science of Sleep: Optimizing Your Rest</h3> | |
| <p class="text-gray-600 mb-4">Evidence-based strategies to improve sleep quality and wake up refreshed every morning.</p> | |
| <div class="flex items-center"> | |
| <img class="h-8 w-8 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/75.jpg" alt="Author"> | |
| <div> | |
| <p class="text-gray-900 text-sm font-medium">David Wilson</p> | |
| <p class="text-gray-500 text-xs">May 22, 2023</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Popular Categories --> | |
| <section class="py-12"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-2xl font-bold mb-8 text-gray-800">Popular Categories</h2> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <a href="#" class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition-shadow"> | |
| <div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mb-4"> | |
| <i class="fas fa-laptop-code text-indigo-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-gray-800 mb-1">Technology</h3> | |
| <p class="text-gray-500 text-sm">24 Articles</p> | |
| </a> | |
| <a href="#" class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition-shadow"> | |
| <div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4"> | |
| <i class="fas fa-lightbulb text-purple-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-gray-800 mb-1">Creativity</h3> | |
| <p class="text-gray-500 text-sm">18 Articles</p> | |
| </a> | |
| <a href="#" class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition-shadow"> | |
| <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4"> | |
| <i class="fas fa-heartbeat text-green-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-gray-800 mb-1">Health</h3> | |
| <p class="text-gray-500 text-sm">15 Articles</p> | |
| </a> | |
| <a href="#" class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition-shadow"> | |
| <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4"> | |
| <i class="fas fa-chart-line text-blue-600 text-xl"></i> | |
| </div> | |
| <h3 class="font-bold text-gray-800 mb-1">Productivity</h3> | |
| <p class="text-gray-500 text-sm">22 Articles</p> | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Newsletter --> | |
| <section class="py-16 bg-indigo-50"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-3xl mx-auto text-center"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-4">Join Our Newsletter</h2> | |
| <p class="text-gray-600 mb-8">Get the latest articles and insights delivered straight to your inbox every week.</p> | |
| <div class="flex flex-col sm:flex-row gap-4 max-w-md mx-auto"> | |
| <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-300"> | |
| <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-3 rounded-lg font-medium whitespace-nowrap"> | |
| Subscribe | |
| </button> | |
| </div> | |
| <p class="text-gray-500 text-sm mt-3">We respect your privacy. Unsubscribe at any time.</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <div class="w-10 h-10 rounded-full bg-indigo-500 flex items-center justify-center"> | |
| <span class="text-white font-bold text-xl">M</span> | |
| </div> | |
| <h3 class="text-xl font-bold">Mindscape</h3> | |
| </div> | |
| <p class="text-gray-400 mb-4">Thoughtful articles on technology, creativity, and personal growth.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin"></i></a> | |
| </div> | |
| </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="#" class="text-gray-400 hover:text-white">Articles</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Categories</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">About</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Categories</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Technology</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Creativity</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Health</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Productivity</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white">Psychology</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Contact</h4> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-map-marker-alt mt-1 mr-2"></i> | |
| <span>123 Blog Street, San Francisco, CA 94107</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-envelope mr-2"></i> | |
| <span>[email protected]</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-phone mr-2"></i> | |
| <span>(123) 456-7890</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-12 pt-8 text-center text-gray-400"> | |
| <p>© 2023 Mindscape. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.querySelector('.md\\:hidden').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // Dark mode toggle | |
| const themeToggle = document.getElementById('theme-toggle'); | |
| themeToggle.addEventListener('click', function() { | |
| document.body.classList.toggle('dark-mode'); | |
| const icon = themeToggle.querySelector('i'); | |
| if (document.body.classList.contains('dark-mode')) { | |
| icon.classList.remove('fa-moon'); | |
| icon.classList.add('fa-sun'); | |
| } else { | |
| icon.classList.remove('fa-sun'); | |
| icon.classList.add('fa-moon'); | |
| } | |
| }); | |
| // Reading progress bar | |
| window.addEventListener('scroll', function() { | |
| const scrollTop = document.documentElement.scrollTop || document.body.scrollTop; | |
| const scrollHeight = document.documentElement.scrollHeight - document.documentElement.clientHeight; | |
| const scrollPercentage = (scrollTop / scrollHeight) * 100; | |
| document.getElementById('reading-progress').style.width = scrollPercentage + '%'; | |
| }); | |
| // Smooth scrolling for anchor links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| }); | |
| // Article card hover effect | |
| document.querySelectorAll('.article-card').forEach(card => { | |
| card.addEventListener('mouseenter', function() { | |
| this.style.transform = 'translateY(-5px)'; | |
| this.style.transition = 'transform 0.3s ease'; | |
| }); | |
| card.addEventListener('mouseleave', function() { | |
| this.style.transform = 'translateY(0)'; | |
| }); | |
| }); | |
| </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=ahmadalfakeh/mindscape" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |