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>Applications - AplyFlow</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar-collapsed { | |
| width: 80px ; | |
| } | |
| .sidebar-collapsed .nav-text { | |
| display: none; | |
| } | |
| .sidebar-collapsed .logo-text { | |
| display: none; | |
| } | |
| .application-card:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- 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-indigo-600 bg-indigo-50"> | |
| <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 min-h-screen flex flex-col"> | |
| <!-- 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">Applications</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> | |
| <!-- Applications Content --> | |
| <main class="flex-1"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | |
| <!-- Filters and Actions --> | |
| <div class="mb-8 flex flex-col md:flex-row justify-between items-start md:items-center"> | |
| <div class="mb-4 md:mb-0"> | |
| <h2 class="text-2xl font-bold text-gray-800">Your Job Applications</h2> | |
| <p class="text-gray-600">Track and manage all your job applications in one place</p> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <button class="flex items-center space-x-2 bg-white border border-gray-300 rounded-md px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50"> | |
| <i data-feather="filter" class="w-4 h-4"></i> | |
| <span>Filters</span> | |
| </button> | |
| <button class="flex items-center space-x-2 bg-indigo-600 rounded-md px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700"> | |
| <i data-feather="plus" class="w-4 h-4"></i> | |
| <span>Add Application</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Status Tabs --> | |
| <div class="mb-6 border-b border-gray-200"> | |
| <nav class="-mb-px flex space-x-8"> | |
| <a href="#" class="border-indigo-500 text-indigo-600 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">All (12)</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Pending (3)</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Applied (6)</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Interview (2)</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Offer (1)</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Rejected (0)</a> | |
| </nav> | |
| </div> | |
| <!-- Applications List --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="grid grid-cols-12 bg-gray-50 border-b border-gray-200 px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider"> | |
| <div class="col-span-5">Position & Company</div> | |
| <div class="col-span-2">Status</div> | |
| <div class="col-span-2">Date Applied</div> | |
| <div class="col-span-2">Next Step</div> | |
| <div class="col-span-1"></div> | |
| </div> | |
| <div class="divide-y divide-gray-100"> | |
| <!-- Application 1 --> | |
| <div class="application-card grid grid-cols-12 px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="col-span-5 flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-md bg-indigo-100 flex items-center justify-center mr-3"> | |
| <i data-feather="briefcase" class="text-indigo-600 w-5 h-5"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-800">Senior Frontend Developer</h3> | |
| <p class="text-sm text-gray-500">TechCorp</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800">In Progress</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>1/15/2024</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> | |
| <span>Follow up</span> | |
| </div> | |
| <div class="col-span-1 flex items-center justify-end"> | |
| <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> | |
| <!-- Application 2 --> | |
| <div class="application-card grid grid-cols-12 px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="col-span-5 flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-md bg-green-100 flex items-center justify-center mr-3"> | |
| <i data-feather="briefcase" class="text-green-600 w-5 h-5"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-800">Full Stack Engineer</h3> | |
| <p class="text-sm text-gray-500">StartupXYZ</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">Applied</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>1/14/2024</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> | |
| <span>Wait for response</span> | |
| </div> | |
| <div class="col-span-1 flex items-center justify-end"> | |
| <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> | |
| <!-- Application 3 --> | |
| <div class="application-card grid grid-cols-12 px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="col-span-5 flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-md bg-purple-100 flex items-center justify-center mr-3"> | |
| <i data-feather="briefcase" class="text-purple-600 w-5 h-5"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-800">React Developer</h3> | |
| <p class="text-sm text-gray-500">Digital Agency</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-purple-100 text-purple-800">Offer Received</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>1/13/2024</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="check-circle" class="w-4 h-4 mr-1 text-green-500"></i> | |
| <span>Review offer</span> | |
| </div> | |
| <div class="col-span-1 flex items-center justify-end"> | |
| <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> | |
| <!-- Application 4 --> | |
| <div class="application-card grid grid-cols-12 px-6 py-4 hover:bg-gray-50 transition-all duration-200"> | |
| <div class="col-span-5 flex items-center"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-md bg-green-100 flex items-center justify-center mr-3"> | |
| <i data-feather="briefcase" class="text-green-600 w-5 h-5"></i> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-800">Software Engineer</h3> | |
| <p class="text-sm text-gray-500">InnovateLab</p> | |
| </div> | |
| </div> | |
| <div class="col-span-2 flex items-center"> | |
| <span class="px-2 py-1 rounded-full text-xs font-medium bg-green-100 text-green-800">Applied</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="calendar" class="w-4 h-4 mr-1"></i> | |
| <span>1/12/2024</span> | |
| </div> | |
| <div class="col-span-2 flex items-center text-sm text-gray-500"> | |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> | |
| <span>Wait for response</span> | |
| </div> | |
| <div class="col-span-1 flex items-center justify-end"> | |
| <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 class="px-6 py-4 border-t border-gray-100 text-center"> | |
| <a href="#" class="text-indigo-600 font-medium text-sm hover:text-indigo-700">Load more 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 AplyFlow. 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> |