undefined / profile.html
angel-maimane's picture
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
Raw
History Blame Contribute Delete
21.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile - 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 !important;
}
.sidebar-collapsed .nav-text {
display: none;
}
.sidebar-collapsed .logo-text {
display: none;
}
.profile-section:hover {
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-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-indigo-600 bg-indigo-50">
<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">Profile</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>
<!-- Profile Content -->
<main class="flex-1">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column -->
<div class="lg:col-span-1">
<!-- Profile Card -->
<div class="profile-section bg-white rounded-xl shadow-md p-6 transition-all duration-200 mb-6">
<div class="flex flex-col items-center">
<div class="w-24 h-24 rounded-full bg-indigo-100 flex items-center justify-center mb-4">
<span class="text-3xl font-bold text-indigo-600">JD</span>
</div>
<h3 class="text-xl font-semibold text-gray-800 mb-1">John Doe</h3>
<p class="text-gray-600 mb-4">Software Developer</p>
<div class="w-full border-t border-gray-200 pt-4">
<div class="flex justify-between mb-2">
<span class="text-sm text-gray-500">Member Since</span>
<span class="text-sm font-medium">Jan 2024</span>
</div>
<div class="flex justify-between mb-2">
<span class="text-sm text-gray-500">Applications</span>
<span class="text-sm font-medium">12</span>
</div>
<div class="flex justify-between">
<span class="text-sm text-gray-500">Subscription</span>
<span class="text-sm font-medium text-indigo-600">Premium</span>
</div>
</div>
</div>
</div>
<!-- Quick Actions -->
<div class="profile-section bg-white rounded-xl shadow-md p-6 transition-all duration-200">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Quick Actions</h3>
<div class="space-y-2">
<a href="#" 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="settings" class="w-5 h-5"></i>
<span class="font-medium">Account Settings</span>
</a>
<a href="#" 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="credit-card" class="w-5 h-5"></i>
<span class="font-medium">Billing & Plans</span>
</a>
<a href="#" 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="help-circle" class="w-5 h-5"></i>
<span class="font-medium">Help & Support</span>
</a>
<a href="#" 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="log-out" class="w-5 h-5"></i>
<span class="font-medium">Sign Out</span>
</a>
</div>
</div>
</div>
<!-- Right Column -->
<div class="lg:col-span-2">
<!-- Personal Information -->
<div class="profile-section bg-white rounded-xl shadow-md p-6 transition-all duration-200 mb-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-semibold text-gray-800">Personal Information</h3>
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">Edit</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">First Name</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">John</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Last Name</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">Doe</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">john.doe@example.com</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Phone</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">(555) 123-4567</p>
</div>
<div class="md:col-span-2">
<label class="block text-sm font-medium text-gray-700 mb-1">Bio</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">Experienced software developer with 5+ years in web development. Passionate about creating efficient, scalable applications with clean code.</p>
</div>
</div>
</div>
<!-- Professional Information -->
<div class="profile-section bg-white rounded-xl shadow-md p-6 transition-all duration-200 mb-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-semibold text-gray-800">Professional Information</h3>
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">Edit</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Current Position</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">Senior Frontend Developer</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Current Company</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">TechCorp</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Years of Experience</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">5+ years</p>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Industry</label>
<p class="bg-gray-50 px-3 py-2 rounded-md text-gray-800">Software Development</p>
</div>
<div class="md:col-span-2">
<label class="block text-sm font-medium text-gray-700 mb-1">Skills</label>
<div class="flex flex-wrap gap-2 bg-gray-50 px-3 py-2 rounded-md">
<span class="px-2 py-1 rounded-full text-xs bg-indigo-100 text-indigo-800">JavaScript</span>
<span class="px-2 py-1 rounded-full text-xs bg-indigo-100 text-indigo-800">React</span>
<span class="px-2 py-1 rounded-full text-xs bg-indigo-100 text-indigo-800">TypeScript</span>
<span class="px-2 py-1 rounded-full text-xs bg-indigo-100 text-indigo-800">Node.js</span>
<span class="px-2 py-1 rounded-full text-xs bg-indigo-100 text-indigo-800">CSS</span>
</div>
</div>
</div>
</div>
<!-- Resume & Documents -->
<div class="profile-section bg-white rounded-xl shadow-md p-6 transition-all duration-200">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-semibold text-gray-800">Resume & Documents</h3>
<button class="text-indigo-600 hover:text-indigo-800 text-sm font-medium">Upload</button>
</div>
<div class="space-y-3">
<div class="flex items-center justify-between bg-gray-50 px-4 py-3 rounded-md">
<div class="flex items-center">
<i data-feather="file-text" class="text-indigo-600 w-5 h-5 mr-3"></i>
<div>
<h4 class="text-sm font-medium text-gray-800">John_Doe_Resume.pdf</h4>
<p class="text-xs text-gray-500">Updated 2 days ago</p>
</div>
</div>
<div class="flex space-x-2">
<button class="p-1 rounded-md hover:bg-gray-200">
<i data-feather="download" class="w-4 h-4 text-gray-500"></i>
</button>
<button class="p-1 rounded-md hover:bg-gray-200">
<i data-feather="trash-2" class="w-4 h-4 text-gray-500"></i>
</button>
</div>
</div>
<div class="flex items-center justify-between bg-gray-50 px-4 py-3 rounded-md">
<div class="flex items-center">
<i data-feather="file-text" class="text-indigo-600 w-5 h-5 mr-3"></i>
<div>
<h4 class="text-sm font-medium text-gray-800">Cover_Letter_TechCorp.pdf</h4>
<p class="text-xs text-gray-500">Updated 1 week ago</p>
</div>
</div>
<div class="flex space-x-2">
<button class="p-1 rounded-md hover:bg-gray-200">
<i data-feather="download" class="w-4 h-4 text-gray-500"></i>
</button>
<button class="p-1 rounded-md hover:bg-gray-200">
<i data-feather="trash-2" class="w-4 h-4 text-gray-500"></i>
</button>
</div>
</div>
<div class="flex items-center justify-between bg-gray-50 px-4 py-3 rounded-md">
<div class="flex items-center">
<i data-feather="file-text" class="text-indigo-600 w-5 h-5 mr-3"></i>
<div>
<h4 class="text-sm font-medium text-gray-800">Portfolio_2024.pdf</h4>
<p class="text-xs text-gray-500">Updated 3 weeks ago</p>
</div>
</div>
<div class="flex space-x-2">
<button class="p-1 rounded-md hover:bg-gray-200">
<i data-feather="download" class="w-4 h-4 text-gray-500"></i>
</button>
<button class="p-1 rounded-md hover:bg-gray-200">
<i data-feather="trash-2" class="w-4 h-4 text-gray-500"></i>
</button>
</div>
</div>
</div>
</div>
</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>