Spaces:
Running
Running
You’re building a web platform called “TechConnect”: a hub for tech enthusiasts to explore events, join communities, register for workshops, chat, and track progress. The client wants a full-featured web app with front-end polish and backend functionality (simulated with JSON or real server if you want).
a808966
verified
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>TechConnect | Home</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| .feature-card: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); | |
| } | |
| .testimonial-slider { | |
| scroll-snap-type: x mandatory; | |
| } | |
| .testimonial-slide { | |
| scroll-snap-align: start; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans antialiased text-gray-800"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm sticky top-0 z-50"> | |
| <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"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i data-feather="cpu" class="text-indigo-600 h-8 w-8"></i> | |
| <span class="ml-2 text-xl font-bold text-indigo-600">TechConnect</span> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:space-x-8"> | |
| <a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a> | |
| <a href="events.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Events</a> | |
| <a href="communities.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Communities</a> | |
| <a href="dashboard.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Dashboard</a> | |
| </div> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:items-center"> | |
| <a href="login.html" class="px-4 py-2 border border-transparent text-sm font-medium rounded-md text-indigo-600 bg-white hover:bg-gray-50">Log in</a> | |
| <a href="register.html" class="ml-4 px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700">Sign up</a> | |
| </div> | |
| <div class="-mr-2 flex items-center sm:hidden"> | |
| <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div class="sm:hidden hidden" id="mobile-menu"> | |
| <div class="pt-2 pb-3 space-y-1"> | |
| <a href="#" class="bg-indigo-50 border-indigo-500 text-indigo-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Home</a> | |
| <a href="events.html" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Events</a> | |
| <a href="communities.html" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Communities</a> | |
| <a href="dashboard.html" class="border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Dashboard</a> | |
| <div class="pt-4 pb-3 border-t border-gray-200"> | |
| <div class="mt-3 space-y-1"> | |
| <a href="login.html" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Log in</a> | |
| <a href="register.html" class="block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100">Sign up</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <div class="hero-gradient"> | |
| <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8 text-center"> | |
| <h1 class="text-4xl font-extrabold tracking-tight text-white sm:text-5xl lg:text-6xl" data-aos="fade-down"> | |
| Connect with Tech Enthusiasts Worldwide | |
| </h1> | |
| <p class="mt-6 max-w-lg mx-auto text-xl text-indigo-100" data-aos="fade-up" data-aos-delay="100"> | |
| Join events, participate in communities, and grow your network in the tech industry. | |
| </p> | |
| <div class="mt-10 flex justify-center space-x-4" data-aos="fade-up" data-aos-delay="200"> | |
| <a href="register.html" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-indigo-700 bg-white hover:bg-indigo-50"> | |
| Join Now | |
| </a> | |
| <a href="events.html" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-500 bg-opacity-60 hover:bg-opacity-70"> | |
| Explore Events | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <div class="py-12 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:text-center"> | |
| <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase" data-aos="fade-up">Features</h2> | |
| <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up" data-aos-delay="100"> | |
| Everything you need to grow in tech | |
| </p> | |
| </div> | |
| <div class="mt-10"> | |
| <div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3"> | |
| <!-- Feature 1 --> | |
| <div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-6 shadow-md" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"> | |
| <i data-feather="calendar"></i> | |
| </div> | |
| <div class="mt-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Tech Events</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Discover and register for the latest tech conferences, workshops, and meetups. | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Feature 2 --> | |
| <div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-6 shadow-md" data-aos="fade-up" data-aos-delay="300"> | |
| <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"> | |
| <i data-feather="users"></i> | |
| </div> | |
| <div class="mt-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Communities</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Join tech communities, participate in discussions, and network with peers. | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Feature 3 --> | |
| <div class="feature-card transition-all duration-300 ease-in-out rounded-lg bg-white p-6 shadow-md" data-aos="fade-up" data-aos-delay="400"> | |
| <div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"> | |
| <i data-feather="trending-up"></i> | |
| </div> | |
| <div class="mt-5"> | |
| <h3 class="text-lg font-medium text-gray-900">Track Progress</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Monitor your event participation and community engagement in one place. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Testimonials Section --> | |
| <div class="bg-gray-50 py-16"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:text-center mb-12"> | |
| <h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase" data-aos="fade-up">Testimonials</h2> | |
| <p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl" data-aos="fade-up" data-aos-delay="100"> | |
| What our members say | |
| </p> | |
| </div> | |
| <div class="relative overflow-hidden"> | |
| <div class="testimonial-slider flex overflow-x-auto space-x-4 pb-6 -mx-4 px-4" style="scrollbar-width: none;"> | |
| <!-- Testimonial 1 --> | |
| <div class="testimonial-slide flex-shrink-0 w-full sm:w-2/3 lg:w-1/2 bg-white rounded-lg shadow p-6" data-aos="fade-right"> | |
| <div class="flex items-center"> | |
| <img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/1" alt="Sarah Johnson"> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Sarah Johnson</h4> | |
| <p class="text-indigo-600">Frontend Developer</p> | |
| </div> | |
| </div> | |
| <p class="mt-4 text-gray-600"> | |
| "TechConnect helped me find amazing local meetups that I wouldn't have discovered otherwise. The community is incredibly supportive and knowledgeable." | |
| </p> | |
| </div> | |
| <!-- Testimonial 2 --> | |
| <div class="testimonial-slide flex-shrink-0 w-full sm:w-2/3 lg:w-1/2 bg-white rounded-lg shadow p-6" data-aos="fade-right" data-aos-delay="100"> | |
| <div class="flex items-center"> | |
| <img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/2" alt="Michael Chen"> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Michael Chen</h4> | |
| <p class="text-indigo-600">DevOps Engineer</p> | |
| </div> | |
| </div> | |
| <p class="mt-4 text-gray-600"> | |
| "As someone new to the tech industry, the communities on TechConnect provided invaluable resources and connections that accelerated my career growth." | |
| </p> | |
| </div> | |
| <!-- Testimonial 3 --> | |
| <div class="testimonial-slide flex-shrink-0 w-full sm:w-2/3 lg:w-1/2 bg-white rounded-lg shadow p-6" data-aos="fade-right" data-aos-delay="200"> | |
| <div class="flex items-center"> | |
| <img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/3" alt="Priya Patel"> | |
| <div class="ml-4"> | |
| <h4 class="text-lg font-medium text-gray-900">Priya Patel</h4> | |
| <p class="text-indigo-600">UX Designer</p> | |
| </div> | |
| </div> | |
| <p class="mt-4 text-gray-600"> | |
| "The event organization features are fantastic. I've hosted two workshops through TechConnect and the registration process was seamless." | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- CTA Section --> | |
| <div class="bg-indigo-700"> | |
| <div class="max-w-2xl mx-auto text-center py-16 px-4 sm:py-20 sm:px-6 lg:px-8"> | |
| <h2 class="text-3xl font-extrabold text-white sm:text-4xl" data-aos="fade-up"> | |
| <span class="block">Ready to dive in?</span> | |
| <span class="block">Start your tech journey today.</span> | |
| </h2> | |
| <p class="mt-4 text-lg leading-6 text-indigo-200" data-aos="fade-up" data-aos-delay="100"> | |
| Join thousands of tech enthusiasts who are already growing their network and skills. | |
| </p> | |
| <a href="register.html" class="mt-8 w-full inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50 sm:w-auto" data-aos="fade-up" data-aos-delay="200"> | |
| Sign up for free | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8"> | |
| <div class="col-span-2"> | |
| <h3 class="text-white text-lg font-semibold">TechConnect</h3> | |
| <p class="mt-4 text-gray-300"> | |
| Connecting tech enthusiasts worldwide through events, communities, and shared knowledge. | |
| </p> | |
| <div class="mt-4 flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="facebook"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="github"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-white text-sm font-semibold tracking-wider uppercase">Navigation</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-300 hover:text-white">Home</a></li> | |
| <li><a href="events.html" class="text-base text-gray-300 hover:text-white">Events</a></li> | |
| <li><a href="communities.html" class="text-base text-gray-300 hover:text-white">Communities</a></li> | |
| <li><a href="dashboard.html" class="text-base text-gray-300 hover:text-white">Dashboard</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-white text-sm font-semibold tracking-wider uppercase">Subscribe to our newsletter</h3> | |
| <p class="mt-4 text-gray-300">The latest news, articles, and resources, sent to your inbox weekly.</p> | |
| <form class="mt-4 sm:flex"> | |
| <label for="email" class="sr-only">Email address</label> | |
| <input type="email" name="email" id="email" required class="w-full px-5 py-3 placeholder-gray-500 focus:ring-indigo-500 focus:border-indigo-500 sm:max-w-xs border-gray-300 rounded-md" placeholder="Enter your email"> | |
| <button type="submit" class="mt-3 w-full flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-500 hover:bg-indigo-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:flex-shrink-0"> | |
| Subscribe | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| <div class="mt-8 border-t border-gray-700 pt-8 md:flex md:items-center md:justify-between"> | |
| <div class="flex space-x-6 md:order-2"> | |
| <a href="#" class="text-gray-400 hover:text-gray-300">Privacy</a> | |
| <a href="#" class="text-gray-400 hover:text-gray-300">Terms</a> | |
| <a href="#" class="text-gray-400 hover:text-gray-300">Contact</a> | |
| </div> | |
| <p class="mt-8 text-base text-gray-400 md:mt-0 md:order-1"> | |
| © 2023 TechConnect. All rights reserved. | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.querySelector('[aria-controls="mobile-menu"]').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // Initialize animations and icons | |
| AOS.init({ | |
| duration: 800, | |
| easing: 'ease-in-out', | |
| once: true | |
| }); | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |