Spaces:
Running
Running
Amazing, now I want you to create a landing page for users who haven't paid for the platform or haven't signed up yet. The Platform is called AplyFlow not JobFlow AI. Also add the Dashboard, Job Search, Applications, AI Gen, and Profile on the left side of the screen and there must be a toggle where we can close the menu on both desktop and mobile. Make sure the buttons are functional and when I click on them they work.
c355f06 verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AplyFlow - AI Job Application Assistant</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> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 100: '#d1e8ff', | |
| 500: '#3b82f6', | |
| 900: '#1e3a8a', | |
| }, | |
| secondary: { | |
| 100: '#ede9fe', | |
| 500: '#8b5cf6', | |
| 900: '#4c1d95', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .stats-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); | |
| } | |
| .application-card:hover { | |
| transform: translateY(-3px); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="min-h-screen flex flex-col"> | |
| <!-- Sidebar Navigation --> | |
| <div class="sidebar fixed inset-y-0 left-0 bg-white shadow-md w-64 z-50"> | |
| <div class="p-4 flex justify-between items-center border-b border-gray-100"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="zap" class="text-indigo-600 w-6 h-6"></i> | |
| <span class="logo-text text-xl font-bold text-gray-800">AplyFlow</span> | |
| </div> | |
| <button id="toggleSidebar" class="p-1 rounded-md hover:bg-gray-100"> | |
| <i data-feather="chevron-left" class="text-gray-500 w-5 h-5"></i> | |
| </button> | |
| </div> | |
| <nav class="p-4 space-y-2"> | |
| <a href="dashboard.html" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-indigo-50 hover:text-indigo-600 transition"> | |
| <i data-feather="home" class="w-5 h-5"></i> | |
| <span class="nav-text font-medium">Dashboard</span> | |
| </a> | |
| <a href="job-search.html" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-indigo-50 hover:text-indigo-600 transition"> | |
| <i data-feather="search" class="w-5 h-5"></i> | |
| <span class="nav-text font-medium">Job Search</span> | |
| </a> | |
| <a href="applications.html" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-indigo-50 hover:text-indigo-600 transition"> | |
| <i data-feather="briefcase" class="w-5 h-5"></i> | |
| <span class="nav-text font-medium">Applications</span> | |
| </a> | |
| <a href="ai-gen.html" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-indigo-50 hover:text-indigo-600 transition"> | |
| <i data-feather="cpu" class="w-5 h-5"></i> | |
| <span class="nav-text font-medium">AI Generator</span> | |
| </a> | |
| <a href="profile.html" class="flex items-center space-x-3 p-3 rounded-lg text-gray-700 hover:bg-indigo-50 hover:text-indigo-600 transition"> | |
| <i data-feather="user" class="w-5 h-5"></i> | |
| <span class="nav-text font-medium">Profile</span> | |
| </a> | |
| </nav> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="ml-64"> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center"> | |
| <div class="flex items-center space-x-4"> | |
| <button id="mobileToggleSidebar" class="p-2 rounded-full hover:bg-gray-100 md:hidden"> | |
| <i data-feather="menu" class="text-gray-600 w-5 h-5"></i> | |
| </button> | |
| <h2 class="text-xl font-bold text-gray-800">Dashboard</h2> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="bell" class="text-gray-600 w-5 h-5"></i> | |
| </button> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-indigo-500 flex items-center justify-center text-white font-medium">JD</div> | |
| <span class="text-sm font-medium text-gray-700">John Doe</span> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-1"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | |
| <div class="mb-8"> | |
| <h2 class="text-2xl font-bold text-gray-800 mb-2">Track your job application progress</h2> | |
| <p class="text-gray-600">Stay organized and increase your chances of landing that dream job</p> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-10"> | |
| <!-- Total Applications --> | |
| <div class="stats-card bg-white rounded-xl shadow-md p-6 transition-all duration-300"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-sm font-medium text-gray-500">Total Applications</h3> | |
| <div class="p-2 rounded-full bg-primary-100"> | |
| <i data-feather="layers" class="text-primary-500 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-end"> | |
| <p class="text-3xl font-bold text-gray-800 mr-2">12</p> | |
| <span class="text-green-500 text-sm font-medium flex items-center"> | |
| <i data-feather="trending-up" class="w-4 h-4 mr-1"></i> | |
| 5.2% | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Pending --> | |
| <div class="stats-card bg-white rounded-xl shadow-md p-6 transition-all duration-300"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-sm font-medium text-gray-500">Pending</h3> | |
| <div class="p-2 rounded-full bg-yellow-100"> | |
| <i data-feather="clock" class="text-yellow-500 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-end"> | |
| <p class="text-3xl font-bold text-gray-800 mr-2">3</p> | |
| </div> | |
| </div> | |
| <!-- Applied --> | |
| <div class="stats-card bg-white rounded-xl shadow-md p-6 transition-all duration-300"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-sm font-medium text-gray-500">Applied</h3> | |
| <div class="p-2 rounded-full bg-green-100"> | |
| <i data-feather="send" class="text-green-500 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-end"> | |
| <p class="text-3xl font-bold text-gray-800 mr-2">6</p> | |
| </div> | |
| </div> | |
| <!-- Rejected --> | |
| <div class="stats-card bg-white rounded-xl shadow-md p-6 transition-all duration-300"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-sm font-medium text-gray-500">Rejected</h3> | |
| <div class="p-2 rounded-full bg-red-100"> | |
| <i data-feather="x" class="text-red-500 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-end"> | |
| <p class="text-3xl font-bold text-gray-800 mr-2">0</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Applications --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="px-6 py-4 border-b border-gray-100"> | |
| <h2 class="text-lg font-semibold text-gray-800">Recent Applications</h2> | |
| </div> | |
| <div class="divide-y divide-gray-100"> | |
| <!-- Application 1 --> | |
| <div class="application-card px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="flex items-start justify-between"> | |
| <div class="flex-1"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1">Senior Frontend Developer</h3> | |
| <p class="text-gray-600 mb-2">TechCorp</p> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>Interview 1/15/2024</span> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800">In Progress</span> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="more-vertical" class="w-4 h-4 text-gray-500"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Application 2 --> | |
| <div class="application-card px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="flex items-start justify-between"> | |
| <div class="flex-1"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1">Full Stack Engineer</h3> | |
| <p class="text-gray-600 mb-2">StartupXYZ</p> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>Applied 1/14/2024</span> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">Applied</span> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="more-vertical" class="w-4 h-4 text-gray-500"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Application 3 --> | |
| <div class="application-card px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="flex items-start justify-between"> | |
| <div class="flex-1"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1">React Developer</h3> | |
| <p class="text-gray-600 mb-2">Digital Agency</p> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>Offer 1/13/2024</span> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800">Offer Received</span> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="more-vertical" class="w-4 h-4 text-gray-500"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Application 4 --> | |
| <div class="application-card px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="flex items-start justify-between"> | |
| <div class="flex-1"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1">Software Engineer</h3> | |
| <p class="text-gray-600 mb-2">InnovateLab</p> | |
| <div class="flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>Applied 1/12/2024</span> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">Applied</span> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="more-vertical" class="w-4 h-4 text-gray-500"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="px-6 py-4 border-t border-gray-100 text-center"> | |
| <a href="#" class="text-primary-500 font-medium text-sm hover:text-primary-700">View all applications</a> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-white border-t border-gray-200 py-4"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-sm text-gray-500 mb-2 md:mb-0">© 2024 JobFlow AI. All rights reserved.</p> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="github" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-500 hover:text-gray-700"> | |
| <i data-feather="linkedin" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Toggle sidebar | |
| const toggleSidebar = document.getElementById('toggleSidebar'); | |
| const mobileToggleSidebar = document.getElementById('mobileToggleSidebar'); | |
| const sidebar = document.querySelector('.sidebar'); | |
| const mainContent = document.querySelector('.ml-64'); | |
| function toggleSidebarState() { | |
| sidebar.classList.toggle('sidebar-collapsed'); | |
| mainContent.classList.toggle('ml-64'); | |
| mainContent.classList.toggle('ml-20'); | |
| // Change icon based on state | |
| const icon = toggleSidebar.querySelector('i'); | |
| if (sidebar.classList.contains('sidebar-collapsed')) { | |
| icon.setAttribute('data-feather', 'chevron-right'); | |
| } else { | |
| icon.setAttribute('data-feather', 'chevron-left'); | |
| } | |
| feather.replace(); | |
| } | |
| toggleSidebar.addEventListener('click', toggleSidebarState); | |
| mobileToggleSidebar.addEventListener('click', toggleSidebarState); | |
| // Close sidebar on mobile when clicking outside | |
| document.addEventListener('click', function(event) { | |
| const isClickInsideSidebar = sidebar.contains(event.target); | |
| const isClickOnToggle = event.target === toggleSidebar || toggleSidebar.contains(event.target); | |
| const isClickOnMobileToggle = event.target === mobileToggleSidebar || mobileToggleSidebar.contains(event.target); | |
| if (window.innerWidth <= 768 && !isClickInsideSidebar && !isClickOnToggle && !isClickOnMobileToggle && !sidebar.classList.contains('sidebar-collapsed')) { | |
| toggleSidebarState(); | |
| } | |
| }); | |
| // Responsive behavior | |
| function handleResize() { | |
| if (window.innerWidth <= 768) { | |
| sidebar.classList.add('sidebar-collapsed'); | |
| mainContent.classList.remove('ml-64'); | |
| mainContent.classList.add('ml-20'); | |
| const icon = toggleSidebar.querySelector('i'); | |
| icon.setAttribute('data-feather', 'chevron-right'); | |
| feather.replace(); | |
| } else { | |
| sidebar.classList.remove('sidebar-collapsed'); | |
| mainContent.classList.add('ml-64'); | |
| mainContent.classList.remove('ml-20'); | |
| const icon = toggleSidebar.querySelector('i'); | |
| icon.setAttribute('data-feather', 'chevron-left'); | |
| feather.replace(); | |
| } | |
| } | |
| // Initialize on load | |
| window.addEventListener('load', handleResize); | |
| window.addEventListener('resize', handleResize); | |
| </script> | |
| </body> | |
| </html> | |