Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>TechSphere Blog</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#6366f1', | |
| secondary: '#8b5cf6', | |
| dark: '#0f172a', | |
| light: '#f8fafc' | |
| }, | |
| fontFamily: { | |
| sans: ['Inter', 'sans-serif'], | |
| heading: ['Space Grotesk', 'sans-serif'] | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .hero-bg { | |
| background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); | |
| } | |
| .card-hover { | |
| transition: all 0.3s ease; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .category-badge { | |
| transition: all 0.2s ease; | |
| } | |
| .category-badge:hover { | |
| transform: scale(1.05); | |
| } | |
| .author-img { | |
| transition: all 0.3s ease; | |
| } | |
| .author-img:hover { | |
| transform: scale(1.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-light font-sans"> | |
| <!-- Header --> | |
| <header class="sticky top-0 z-50 bg-white shadow-sm"> | |
| <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-lg bg-primary flex items-center justify-center"> | |
| <i data-feather="code" class="text-white"></i> | |
| </div> | |
| <h1 class="text-2xl font-heading font-bold text-dark">TechSphere</h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-8"> | |
| <a href="#" class="text-dark font-medium hover:text-primary transition-colors">Home</a> | |
| <a href="#" class="text-gray-600 font-medium hover:text-primary transition-colors">Articles</a> | |
| <a href="#" class="text-gray-600 font-medium hover:text-primary transition-colors">Categories</a> | |
| <a href="#" class="text-gray-600 font-medium hover:text-primary transition-colors">About</a> | |
| <a href="#" class="text-gray-600 font-medium hover:text-primary transition-colors">Contact</a> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="search" class="text-gray-600"></i> | |
| </button> | |
| <button class="hidden md:block bg-primary text-white px-4 py-2 rounded-lg font-medium hover:bg-secondary transition-colors"> | |
| Subscribe | |
| </button> | |
| <button class="md:hidden p-2 rounded-lg hover:bg-gray-100"> | |
| <i data-feather="menu" class="text-gray-600"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Hero Section --> | |
| <section class="hero-bg text-white"> | |
| <div class="container mx-auto px-4 py-20 md:py-28"> | |
| <div class="max-w-2xl"> | |
| <span class="inline-block bg-white bg-opacity-20 px-3 py-1 rounded-full text-sm font-medium mb-4"> | |
| Latest Technology Insights | |
| </span> | |
| <h1 class="text-4xl md:text-6xl font-heading font-bold mb-6"> | |
| Exploring the Future of Technology | |
| </h1> | |
| <p class="text-xl mb-8 text-indigo-100"> | |
| Stay updated with the latest trends, tutorials, and innovations in the tech world. | |
| Join our community of developers and tech enthusiasts. | |
| </p> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="bg-white text-primary px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition-colors"> | |
| Read Latest Articles | |
| </button> | |
| <button class="bg-transparent border-2 border-white px-6 py-3 rounded-lg font-medium hover:bg-white hover:text-primary transition-colors"> | |
| Join Our Newsletter | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Articles --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex justify-between items-center mb-12"> | |
| <h2 class="text-3xl font-heading font-bold text-dark">Featured Articles</h2> | |
| <a href="#" class="text-primary font-medium hover:underline">View All</a> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Article 1 --> | |
| <div class="card-hover bg-white rounded-xl overflow-hidden shadow-md"> | |
| <div class="h-48 overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/1" alt="Article Image" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-3"> | |
| <span class="category-badge bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded"> | |
| Artificial Intelligence | |
| </span> | |
| <span class="text-gray-500 text-sm">May 15, 2023</span> | |
| </div> | |
| <h3 class="text-xl font-heading font-bold text-dark mb-3">The Future of AI in Web Development</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Exploring how artificial intelligence is revolutionizing the way we build and interact with websites. | |
| </p> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/5" alt="Author" class="author-img w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium text-dark">Alex Johnson</p> | |
| <p class="text-gray-500 text-sm">Senior Developer</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Article 2 --> | |
| <div class="card-hover bg-white rounded-xl overflow-hidden shadow-md"> | |
| <div class="h-48 overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/2" alt="Article Image" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-3"> | |
| <span class="category-badge bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded"> | |
| Web Development | |
| </span> | |
| <span class="text-gray-500 text-sm">May 10, 2023</span> | |
| </div> | |
| <h3 class="text-xl font-heading font-bold text-dark mb-3">Building Responsive UIs with TailwindCSS</h3> | |
| <p class="text-gray-600 mb-4"> | |
| A comprehensive guide to creating beautiful, responsive interfaces using TailwindCSS utility classes. | |
| </p> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/12" alt="Author" class="author-img w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium text-dark">Sarah Williams</p> | |
| <p class="text-gray-500 text-sm">UI/UX Designer</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Article 3 --> | |
| <div class="card-hover bg-white rounded-xl overflow-hidden shadow-md"> | |
| <div class="h-48 overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/3" alt="Article Image" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-center mb-3"> | |
| <span class="category-badge bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded"> | |
| Cybersecurity | |
| </span> | |
| <span class="text-gray-500 text-sm">May 5, 2023</span> | |
| </div> | |
| <h3 class="text-xl font-heading font-bold text-dark mb-3">Essential Security Practices for Modern Web Apps</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Protect your applications with these essential security practices every developer should know. | |
| </p> | |
| <div class="flex items-center"> | |
| <img src="http://static.photos/people/200x200/8" alt="Author" class="author-img w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <p class="font-medium text-dark">Michael Chen</p> | |
| <p class="text-gray-500 text-sm">Security Expert</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Categories Section --> | |
| <section class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-heading font-bold text-dark text-center mb-12">Explore Categories</h2> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-6"> | |
| <a href="#" class="card-hover bg-white p-6 rounded-xl shadow-sm flex flex-col items-center text-center"> | |
| <div class="w-16 h-16 rounded-full bg-blue-100 flex items-center justify-center mb-4"> | |
| <i data-feather="cpu" class="text-blue-600"></i> | |
| </div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-2">AI & ML</h3> | |
| <p class="text-gray-600 text-sm">12 articles</p> | |
| </a> | |
| <a href="#" class="card-hover bg-white p-6 rounded-xl shadow-sm flex flex-col items-center text-center"> | |
| <div class="w-16 h-16 rounded-full bg-green-100 flex items-center justify-center mb-4"> | |
| <i data-feather="code" class="text-green-600"></i> | |
| </div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-2">Web Dev</h3> | |
| <p class="text-gray-600 text-sm">24 articles</p> | |
| </a> | |
| <a href="#" class="card-hover bg-white p-6 rounded-xl shadow-sm flex flex-col items-center text-center"> | |
| <div class="w-16 h-16 rounded-full bg-purple-100 flex items-center justify-center mb-4"> | |
| <i data-feather="smartphone" class="text-purple-600"></i> | |
| </div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-2">Mobile Tech</h3> | |
| <p class="text-gray-600 text-sm">18 articles</p> | |
| </a> | |
| <a href="#" class="card-hover bg-white p-6 rounded-xl shadow-sm flex flex-col items-center text-center"> | |
| <div class="w-16 h-16 rounded-full bg-red-100 flex items-center justify-center mb-4"> | |
| <i data-feather="shield" class="text-red-600"></i> | |
| </div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-2">Cybersecurity</h3> | |
| <p class="text-gray-600 text-sm">9 articles</p> | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Newsletter --> | |
| <section class="py-16 bg-dark text-white"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-heading font-bold mb-4">Stay Updated with Tech Trends</h2> | |
| <p class="text-gray-300 max-w-2xl mx-auto mb-8"> | |
| Subscribe to our newsletter and never miss an update on the latest technology trends, tutorials, and industry insights. | |
| </p> | |
| <div class="max-w-md mx-auto flex flex-col sm:flex-row gap-4"> | |
| <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-lg text-dark focus:outline-none focus:ring-2 focus:ring-primary"> | |
| <button class="bg-primary hover:bg-secondary px-6 py-3 rounded-lg font-medium transition-colors"> | |
| Subscribe | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-white border-t"> | |
| <div class="container mx-auto px-4 py-12"> | |
| <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-lg bg-primary flex items-center justify-center"> | |
| <i data-feather="code" class="text-white"></i> | |
| </div> | |
| <h2 class="text-2xl font-heading font-bold text-dark">TechSphere</h2> | |
| </div> | |
| <p class="text-gray-600 mb-4"> | |
| Your go-to source for the latest technology insights, tutorials, and industry trends. | |
| </p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-500 hover:text-primary"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-primary"> | |
| <i data-feather="facebook"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-primary"> | |
| <i data-feather="linkedin"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-primary"> | |
| <i data-feather="github"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-4">Categories</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Web Development</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Artificial Intelligence</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Mobile Technology</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Cybersecurity</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Cloud Computing</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-4">Company</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">About Us</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Contact</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Careers</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Privacy Policy</a></li> | |
| <li><a href="#" class="text-gray-600 hover:text-primary">Terms of Service</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="font-heading font-bold text-lg text-dark mb-4">Contact</h3> | |
| <ul class="space-y-2 text-gray-600"> | |
| <li class="flex items-start"> | |
| <i data-feather="mail" class="mr-2 mt-1 w-4 h-4"></i> | |
| <span>contact@techsphere.blog</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i data-feather="map-pin" class="mr-2 mt-1 w-4 h-4"></i> | |
| <span>San Francisco, CA</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t mt-12 pt-8 text-center text-gray-500"> | |
| <p>© 2023 TechSphere Blog. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |