Spaces:
Running
Running
Download index.html from fofehos123/compass: direct link, hf CLI and curl.
- Browser
- Download file 78.2 kB
-
https://huggingface.co/spaces/fofehos123/compass/resolve/main/index.html
- Command line
-
hf download hf://spaces/fofehos123/compass/index.html
-
curl -L -o index.html https://huggingface.co/spaces/fofehos123/compass/resolve/main/index.html
78.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Compass | Lowe's</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.dark .gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}
.gradient-bg {
background: linear-gradient(135deg, #0056b3 0%, #003366 100%);
}
.dark .card-hover {
background-color: #1f2937;
border-color: #374151;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.transition-all {
transition: all 0.3s ease;
}
.page-enter {
opacity: 0;
transform: translateY(20px);
}
.dark {
color-scheme: dark;
}
.dark .text-gray-800 {
color: #f3f4f6;
}
.dark .text-gray-700 {
color: #e5e7eb;
}
.dark .text-gray-600 {
color: #d1d5db;
}
.dark .bg-white {
background-color: #111827;
}
.dark .bg-gray-100 {
background-color: #1f2937;
}
.dark .border-gray-200 {
border-color: #374151;
}
.page-enter-active {
opacity: 1;
transform: translateY(0);
transition: all 300ms ease-out;
}
.page-exit {
opacity: 1;
transform: translateY(0);
}
.page-exit-active {
opacity: 0;
transform: translateY(-20px);
transition: all 300ms ease-out;
}
</style>
</head>
<body class="bg-gray-50 dark:bg-gray-900 font-sans transition-colors duration-200">
<div id="app">
<!-- Auth State: Loading -->
<div id="loading-state" class="fixed inset-0 flex items-center justify-center bg-white dark:bg-gray-900 z-50">
<div class="text-center">
<div class="w-16 h-16 border-4 border-blue-500 dark:border-blue-400 border-t-transparent rounded-full animate-spin mx-auto"></div>
<p class="mt-4 text-gray-700 dark:text-gray-300">Loading Project Compass...</p>
</div>
</div>
<!-- Login Page -->
<div id="login-page" class="hidden min-h-screen flex items-center justify-center p-4">
<div class="w-full max-w-md">
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="gradient-bg py-6 px-8 text-white">
<div class="flex items-center justify-center mb-4">
<i class="fas fa-compass text-4xl mr-3"></i>
<h1 class="text-2xl font-bold">Project Compass</h1>
</div>
<p class="text-center text-blue-100">Lowe's Associate Portal</p>
</div>
<div class="p-8">
<form id="login-form" class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" id="email" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">Password</label>
<input type="password" id="password" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="space-y-4">
<button type="submit" class="w-full gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all font-medium">
Sign In
</button>
<button type="button" id="demo-login" class="w-full bg-gray-200 text-gray-800 py-2 px-4 rounded-lg hover:bg-gray-300 transition-all font-medium">
Demo Login
</button>
</div>
</form>
<div class="mt-6 text-center">
<p class="text-sm text-gray-600">Don't have an account? <button id="toggle-signup" class="text-blue-600 hover:underline">Sign up</button></p>
</div>
</div>
</div>
</div>
</div>
<!-- Signup Page -->
<div id="signup-page" class="hidden min-h-screen flex items-center justify-center p-4">
<div class="w-full max-w-md">
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="gradient-bg py-6 px-8 text-white">
<div class="flex items-center justify-center mb-4">
<i class="fas fa-compass text-4xl mr-3"></i>
<h1 class="text-2xl font-bold">Create Account</h1>
</div>
<p class="text-center text-blue-100">Join Project Compass</p>
</div>
<div class="p-8">
<form id="signup-form" class="space-y-6">
<div>
<label for="signup-email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" id="signup-email" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="signup-password" class="block text-sm font-medium text-gray-700 mb-1">Password (min 6 characters)</label>
<input type="password" id="signup-password" required minlength="6" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="signup-skills" class="block text-sm font-medium text-gray-700 mb-1">Your Skills (comma separated)</label>
<input type="text" id="signup-skills" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="e.g., leadership, inventory management, customer service">
</div>
<div>
<button type="submit" class="w-full gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all font-medium">
Create Account
</button>
</div>
</form>
<div class="mt-6 text-center">
<p class="text-sm text-gray-600">Already have an account? <button id="toggle-login" class="text-blue-600 hover:underline">Sign in</button></p>
</div>
</div>
</div>
</div>
</div>
<!-- Main App Layout -->
<div id="app-layout" class="hidden min-h-screen flex flex-col">
<!-- Header -->
<header class="gradient-bg text-white shadow-md">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<i class="fas fa-compass text-2xl mr-3"></i>
<h1 class="text-xl font-bold">Project Compass</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#dashboard" class="nav-link hover:text-blue-200 transition-all">Dashboard</a>
<a href="#project-hub" class="nav-link hover:text-blue-200 transition-all">Project Hub</a>
<a href="#growth-map" class="nav-link hover:text-blue-200 transition-all">Growth Map</a>
<a href="#collab-cafe" class="nav-link hover:text-blue-200 transition-all">Collaboration Café</a>
</nav>
<div class="flex items-center space-x-4">
<button id="dark-mode-toggle" class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors">
<i class="fas fa-moon dark:hidden"></i>
<i class="fas fa-sun hidden dark:block"></i>
</button>
<button id="user-menu-button" class="flex items-center space-x-2 focus:outline-none">
<span id="user-email" class="hidden md:inline text-sm">user@lowes.com</span>
<div class="w-8 h-8 rounded-full bg-blue-200 flex items-center justify-center">
<i class="fas fa-user text-blue-800"></i>
</div>
</button>
</div>
</div>
<!-- Mobile menu -->
<div class="md:hidden bg-blue-800 px-4 py-2">
<div class="flex justify-between">
<a href="#dashboard" class="nav-link block py-1 text-sm">Dashboard</a>
<a href="#project-hub" class="nav-link block py-1 text-sm">Projects</a>
<a href="#growth-map" class="nav-link block py-1 text-sm">Growth</a>
<a href="#collab-cafe" class="nav-link block py-1 text-sm">Café</a>
</div>
</div>
</header>
<!-- User Menu Dropdown -->
<div id="user-menu" class="hidden absolute right-4 top-16 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
<div class="px-4 py-2 border-b">
<p class="text-sm font-medium text-gray-900" id="menu-user-email">user@lowes.com</p>
</div>
<a href="#profile" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
<button id="sign-out" class="block w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</button>
</div>
<!-- Main Content -->
<main class="flex-grow container mx-auto px-4 py-6">
<!-- Dashboard Page -->
<div id="dashboard-page" class="page">
<div class="mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Welcome back, <span id="welcome-name">Associate</span>!</h2>
<p class="text-gray-600">What would you like to work on today?</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<!-- Project Hub Card -->
<a href="#project-hub" class="card-hover transition-all bg-white rounded-xl shadow-md overflow-hidden border border-gray-200 hover:border-blue-300">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="bg-blue-100 p-3 rounded-lg mr-4">
<i class="fas fa-project-diagram text-blue-600 text-xl"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800">Project Hub</h3>
</div>
<p class="text-gray-600 text-sm">Manage your current projects, track progress, and collaborate with team members.</p>
<div class="mt-4 flex justify-between items-center">
<span class="text-xs text-blue-600 font-medium">3 active projects</span>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</a>
<!-- Growth Map Card -->
<a href="#growth-map" class="card-hover transition-all bg-white rounded-xl shadow-md overflow-hidden border border-gray-200 hover:border-blue-300">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="bg-green-100 p-3 rounded-lg mr-4">
<i class="fas fa-map-marked-alt text-green-600 text-xl"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800">Your Growth Map</h3>
</div>
<p class="text-gray-600 text-sm">Track your skills development, set career goals, and find learning resources.</p>
<div class="mt-4 flex justify-between items-center">
<span class="text-xs text-green-600 font-medium">2 skills to develop</span>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</a>
<!-- Collaboration Café Card -->
<a href="#collab-cafe" class="card-hover transition-all bg-white rounded-xl shadow-md overflow-hidden border border-gray-200 hover:border-blue-300">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="bg-purple-100 p-3 rounded-lg mr-4">
<i class="fas fa-users text-purple-600 text-xl"></i>
</div>
<h3 class="text-lg font-semibold text-gray-800">Collaboration Café</h3>
</div>
<p class="text-gray-600 text-sm">Connect with colleagues, share ideas, and find mentors or collaborators.</p>
<div class="mt-4 flex justify-between items-center">
<span class="text-xs text-purple-600 font-medium">5 new discussions</span>
<i class="fas fa-chevron-right text-gray-400"></i>
</div>
</div>
</a>
</div>
<div class="mt-10">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Your Recent Activity</h3>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="divide-y divide-gray-200">
<div class="p-4 hover:bg-gray-50 transition-all">
<div class="flex items-start">
<div class="bg-blue-100 p-2 rounded-lg mr-4">
<i class="fas fa-tasks text-blue-600"></i>
</div>
<div>
<p class="text-sm font-medium">Updated project "Inventory Optimization"</p>
<p class="text-xs text-gray-500 mt-1">2 hours ago</p>
</div>
</div>
</div>
<div class="p-4 hover:bg-gray-50 transition-all">
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-lg mr-4">
<i class="fas fa-book text-green-600"></i>
</div>
<div>
<p class="text-sm font-medium">Completed "Advanced Customer Service" course</p>
<p class="text-xs text-gray-500 mt-1">Yesterday</p>
</div>
</div>
</div>
<div class="p-4 hover:bg-gray-50 transition-all">
<div class="flex items-start">
<div class="bg-purple-100 p-2 rounded-lg mr-4">
<i class="fas fa-comments text-purple-600"></i>
</div>
<div>
<p class="text-sm font-medium">Posted in "Seasonal Displays" discussion</p>
<p class="text-xs text-gray-500 mt-1">2 days ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Project Hub Page -->
<div id="project-hub-page" class="page hidden">
<div class="mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Project Hub</h2>
<p class="text-gray-600">Manage your current projects and collaborate with your team</p>
</div>
<div class="flex justify-between items-center mb-6">
<div class="relative w-full md:w-64">
<input type="text" placeholder="Search projects..." class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
<button id="new-project-btn" class="ml-4 gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all font-medium whitespace-nowrap">
<i class="fas fa-plus mr-2"></i> New Project
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Project Card 1 -->
<div class="card-hover transition-all bg-white rounded-xl shadow-md overflow-hidden border border-gray-200 hover:border-blue-300">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-lg font-semibold text-gray-800">Inventory Optimization</h3>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Active</span>
</div>
<p class="text-gray-600 text-sm mb-4">Redesign inventory management system to reduce waste and improve stock accuracy.</p>
<div class="flex items-center mb-4">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
<div class="w-8 h-8 rounded-full border-2 border-white bg-gray-100 flex items-center justify-center text-xs font-medium">+3</div>
</div>
<div class="ml-auto">
<div class="h-2 bg-gray-200 rounded-full">
<div class="h-2 bg-blue-500 rounded-full" style="width: 65%"></div>
</div>
<p class="text-xs text-gray-500 mt-1">65% complete</p>
</div>
</div>
<div class="flex justify-between text-xs text-gray-500">
<span>Due: Jun 15, 2023</span>
<button class="text-blue-600 hover:underline">View Details</button>
</div>
</div>
</div>
<!-- Project Card 2 -->
<div class="card-hover transition-all bg-white rounded-xl shadow-md overflow-hidden border border-gray-200 hover:border-blue-300">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-lg font-semibold text-gray-800">Customer Flow Analysis</h3>
<span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Planning</span>
</div>
<p class="text-gray-600 text-sm mb-4">Analyze customer movement patterns to optimize store layout and staffing.</p>
<div class="flex items-center mb-4">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/68.jpg" alt="">
</div>
<div class="ml-auto">
<div class="h-2 bg-gray-200 rounded-full">
<div class="h-2 bg-blue-500 rounded-full" style="width: 20%"></div>
</div>
<p class="text-xs text-gray-500 mt-1">20% complete</p>
</div>
</div>
<div class="flex justify-between text-xs text-gray-500">
<span>Due: Aug 30, 2023</span>
<button class="text-blue-600 hover:underline">View Details</button>
</div>
</div>
</div>
<!-- Project Card 3 -->
<div class="card-hover transition-all bg-white rounded-xl shadow-md overflow-hidden border border-gray-200 hover:border-blue-300">
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-lg font-semibold text-gray-800">Seasonal Displays</h3>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">In Review</span>
</div>
<p class="text-gray-600 text-sm mb-4">Design and implement holiday season product displays for maximum impact.</p>
<div class="flex items-center mb-4">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/22.jpg" alt="">
</div>
<div class="ml-auto">
<div class="h-2 bg-gray-200 rounded-full">
<div class="h-2 bg-blue-500 rounded-full" style="width: 85%"></div>
</div>
<p class="text-xs text-gray-500 mt-1">85% complete</p>
</div>
</div>
<div class="flex justify-between text-xs text-gray-500">
<span>Due: Nov 1, 2023</span>
<button class="text-blue-600 hover:underline">View Details</button>
</div>
</div>
</div>
</div>
</div>
<!-- Growth Map Page -->
<div id="growth-map-page" class="page hidden">
<div class="mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Your Growth Map</h2>
<p class="text-gray-600">Track your skills development and career progression</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Skills Assessment</h3>
<div class="space-y-4">
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Customer Service</span>
<span class="text-sm font-medium text-gray-700">Advanced</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-500 h-2.5 rounded-full" style="width: 80%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Inventory Management</span>
<span class="text-sm font-medium text-gray-700">Intermediate</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-500 h-2.5 rounded-full" style="width: 60%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Leadership</span>
<span class="text-sm font-medium text-gray-700">Beginner</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-yellow-500 h-2.5 rounded-full" style="width: 30%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium text-gray-700">Data Analysis</span>
<span class="text-sm font-medium text-gray-700">Intermediate</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-purple-500 h-2.5 rounded-full" style="width: 50%"></div>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Recommended Learning Path</h3>
<div class="divide-y divide-gray-200">
<div class="py-4">
<div class="flex items-start">
<div class="bg-blue-100 p-3 rounded-lg mr-4">
<i class="fas fa-graduation-cap text-blue-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Advanced Leadership Training</h4>
<p class="text-sm text-gray-600 mt-1">Develop essential leadership skills for retail management.</p>
<div class="mt-2 flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>8 hours</span>
<span class="mx-2">•</span>
<span class="text-blue-600">Start Course</span>
</div>
</div>
</div>
</div>
<div class="py-4">
<div class="flex items-start">
<div class="bg-green-100 p-3 rounded-lg mr-4">
<i class="fas fa-chart-line text-green-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Retail Analytics Fundamentals</h4>
<p class="text-sm text-gray-600 mt-1">Learn to interpret sales data and make inventory decisions.</p>
<div class="mt-2 flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>6 hours</span>
<span class="mx-2">•</span>
<span class="text-blue-600">Start Course</span>
</div>
</div>
</div>
</div>
<div class="py-4">
<div class="flex items-start">
<div class="bg-purple-100 p-3 rounded-lg mr-4">
<i class="fas fa-users text-purple-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Team Collaboration Workshop</h4>
<p class="text-sm text-gray-600 mt-1">Improve team communication and project coordination.</p>
<div class="mt-2 flex items-center text-sm text-gray-500">
<i class="far fa-clock mr-1"></i>
<span>4 hours</span>
<span class="mx-2">•</span>
<span class="text-blue-600">Start Course</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Career Goals</h3>
<div class="space-y-4">
<div class="p-4 bg-blue-50 rounded-lg border border-blue-100">
<div class="flex items-start">
<div class="bg-blue-100 p-2 rounded-lg mr-3">
<i class="fas fa-bullseye text-blue-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Department Supervisor</h4>
<p class="text-sm text-gray-600 mt-1">Target date: Q2 2024</p>
<div class="mt-2">
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full mr-2">Leadership</span>
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Inventory Mgmt</span>
</div>
</div>
</div>
</div>
<div class="p-4 bg-green-50 rounded-lg border border-green-100">
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-lg mr-3">
<i class="fas fa-bullseye text-green-600"></i>
</div>
<div>
<h4 class="font-medium text-gray-800">Certified Trainer</h4>
<p class="text-sm text-gray-600 mt-1">Target date: Q4 2023</p>
<div class="mt-2">
<span class="inline-block bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full mr-2">Communication</span>
<span class="inline-block bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Product Knowledge</span>
</div>
</div>
</div>
</div>
</div>
<button class="mt-4 w-full border-2 border-dashed border-gray-300 rounded-lg py-3 text-gray-500 hover:border-blue-300 hover:text-blue-500 transition-all">
<i class="fas fa-plus mr-2"></i> Add New Goal
</button>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6">
<h3 class="text-lg font-semibold text-gray-800 mb-4">Mentorship</h3>
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full mr-4" src="https://randomuser.me/api/portraits/men/32.jpg" alt="Mentor">
<div>
<h4 class="font-medium text-gray-800">Michael Johnson</h4>
<p class="text-sm text-gray-600">Store Manager, 10 years experience</p>
</div>
</div>
<p class="text-sm text-gray-600 mb-4">"Focus on developing your leadership presence and decision-making skills to prepare for supervisor roles."</p>
<div class="flex space-x-3">
<button class="flex-1 gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all text-sm">
<i class="fas fa-envelope mr-1"></i> Message
</button>
<button class="flex-1 bg-gray-100 text-gray-700 py-2 px-4 rounded-lg hover:bg-gray-200 transition-all text-sm">
<i class="fas fa-calendar mr-1"></i> Schedule
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Collaboration Café Page -->
<div id="collab-cafe-page" class="page hidden">
<div class="mb-8">
<h2 class="text-2xl font-bold text-gray-800 mb-2">Collaboration Café</h2>
<p class="text-gray-600">Connect with colleagues, share ideas, and find mentors</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
<div class="lg:col-span-3">
<div class="bg-white rounded-xl shadow-md overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200 bg-gray-50">
<h3 class="font-medium text-gray-800">Discussion Topics</h3>
</div>
<div class="divide-y divide-gray-200">
<!-- Discussion 1 -->
<div class="p-4 hover:bg-gray-50 transition-all">
<div class="flex items-start">
<img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User">
<div class="flex-1">
<div class="flex items-center justify-between">
<h4 class="font-medium text-gray-800">Seasonal Display Ideas</h4>
<span class="text-xs text-gray-500">2h ago</span>
</div>
<p class="text-sm text-gray-600 mt-1">Looking for creative ideas for our fall seasonal displays. What themes have worked well in your stores?</p>
<div class="mt-2 flex items-center text-xs text-gray-500">
<span class="flex items-center mr-4">
<i class="far fa-comment mr-1"></i> 12 replies
</span>
<span class="flex items-center">
<i class="far fa-heart mr-1"></i> 8 likes
</span>
<button class="ml-auto text-blue-600 hover:underline">Join Discussion</button>
</div>
</div>
</div>
</div>
<!-- Discussion 2 -->
<div class="p-4 hover:bg-gray-50 transition-all">
<div class="flex items-start">
<img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/32.jpg" alt="User">
<div class="flex-1">
<div class="flex items-center justify-between">
<h4 class="font-medium text-gray-800">Inventory Shortage Solutions</h4>
<span class="text-xs text-gray-500">1d ago</span>
</div>
<p class="text-sm text-gray-600 mt-1">How does your store handle unexpected inventory shortages? Looking for best practices to minimize customer impact.</p>
<div class="mt-2 flex items-center text-xs text-gray-500">
<span class="flex items-center mr-4">
<i class="far fa-comment mr-1"></i> 7 replies
</span>
<span class="flex items-center">
<i class="far fa-heart mr-1"></i> 5 likes
</span>
<button class="ml-auto text-blue-600 hover:underline">Join Discussion</button>
</div>
</div>
</div>
</div>
<!-- Discussion 3 -->
<div class="p-4 hover:bg-gray-50 transition-all">
<div class="flex items-start">
<img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/women/68.jpg" alt="User">
<div class="flex-1">
<div class="flex items-center justify-between">
<h4 class="font-medium text-gray-800">Customer Service Training Tips</h4>
<span class="text-xs text-gray-500">2d ago</span>
</div>
<p class="text-sm text-gray-600 mt-1">Sharing some techniques that have helped my team improve customer satisfaction scores by 15% this quarter.</p>
<div class="mt-2 flex items-center text-xs text-gray-500">
<span class="flex items-center mr-4">
<i class="far fa-comment mr-1"></i> 14 replies
</span>
<span class="flex items-center">
<i class="far fa-heart mr-1"></i> 22 likes
</span>
<button class="ml-auto text-blue-600 hover:underline">Join Discussion</button>
</div>
</div>
</div>
</div>
</div>
<div class="p-4 border-t border-gray-200 bg-gray-50 text-center">
<button class="text-blue-600 hover:underline font-medium">View All Discussions</button>
</div>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-4 border-b border-gray-200 bg-gray-50">
<h3 class="font-medium text-gray-800">Start a New Discussion</h3>
</div>
<div class="p-4">
<div class="mb-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Topic</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="What's your question or idea?">
</div>
<div class="mb-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Details</label>
<textarea class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" rows="4" placeholder="Add more details about your discussion topic..."></textarea>
</div>
<div class="flex justify-between items-center">
<div>
<label class="inline-flex items-center">
<input type="checkbox" class="rounded border-gray-300 text-blue-600 focus:ring-blue-500">
<span class="ml-2 text-sm text-gray-600">Post anonymously</span>
</label>
</div>
<button class="gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all font-medium">
Post Discussion
</button>
</div>
</div>
</div>
</div>
<div>
<div class="bg-white rounded-xl shadow-md overflow-hidden mb-6">
<div class="p-4 border-b border-gray-200 bg-gray-50">
<h3 class="font-medium text-gray-800">Find Colleagues</h3>
</div>
<div class="p-4">
<div class="relative mb-4">
<input type="text" placeholder="Search by name or skill" class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
<div class="space-y-4">
<!-- Colleague 1 -->
<div class="flex items-center">
<img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/75.jpg" alt="User">
<div>
<h4 class="text-sm font-medium text-gray-800">Robert Chen</h4>
<p class="text-xs text-gray-600">Inventory Specialist</p>
<div class="mt-1">
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full mr-1">Data Analysis</span>
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full">Process Improvement</span>
</div>
</div>
</div>
<!-- Colleague 2 -->
<div class="flex items-center">
<img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/women/22.jpg" alt="User">
<div>
<h4 class="text-sm font-medium text-gray-800">Sarah Williams</h4>
<p class="text-xs text-gray-600">Customer Service Lead</p>
<div class="mt-1">
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full mr-1">Training</span>
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full">Conflict Resolution</span>
</div>
</div>
</div>
<!-- Colleague 3 -->
<div class="flex items-center">
<img class="w-10 h-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/45.jpg" alt="User">
<div>
<h4 class="text-sm font-medium text-gray-800">David Miller</h4>
<p class="text-xs text-gray-600">Visual Merchandiser</p>
<div class="mt-1">
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full mr-1">Display Design</span>
<span class="inline-block bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full">Space Planning</span>
</div>
</div>
</div>
</div>
<button class="mt-4 w-full text-center text-blue-600 hover:underline text-sm">
View All
</button>
</div>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-4 border-b border-gray-200 bg-gray-50">
<h3 class="font-medium text-gray-800">Upcoming Events</h3>
</div>
<div class="p-4">
<div class="mb-4">
<div class="flex items-start mb-3">
<div class="bg-blue-100 p-2 rounded-lg mr-3">
<i class="fas fa-calendar-day text-blue-600"></i>
</div>
<div>
<h4 class="text-sm font-medium text-gray-800">Leadership Roundtable</h4>
<p class="text-xs text-gray-600">Thu, Jun 15 • 2:00 PM</p>
</div>
</div>
<button class="w-full text-xs gradient-bg text-white py-1 px-3 rounded-lg hover:opacity-90 transition-all">
RSVP
</button>
</div>
<div class="mb-4">
<div class="flex items-start mb-3">
<div class="bg-green-100 p-2 rounded-lg mr-3">
<i class="fas fa-chalkboard-teacher text-green-600"></i>
</div>
<div>
<h4 class="text-sm font-medium text-gray-800">Inventory Management Workshop</h4>
<p class="text-xs text-gray-600">Tue, Jun 20 • 10:00 AM</p>
</div>
</div>
<button class="w-full text-xs gradient-bg text-white py-1 px-3 rounded-lg hover:opacity-90 transition-all">
RSVP
</button>
</div>
<div>
<div class="flex items-start mb-3">
<div class="bg-purple-100 p-2 rounded-lg mr-3">
<i class="fas fa-lightbulb text-purple-600"></i>
</div>
<div>
<h4 class="text-sm font-medium text-gray-800">Innovation Brainstorm</h4>
<p class="text-xs text-gray-600">Fri, Jun 23 • 1:00 PM</p>
</div>
</div>
<button class="w-full text-xs gradient-bg text-white py-1 px-3 rounded-lg hover:opacity-90 transition-all">
RSVP
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-100 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 py-6">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i class="fas fa-compass text-xl text-blue-600 mr-2"></i>
<span class="font-medium text-gray-800">Project Compass</span>
</div>
<div class="text-sm text-gray-600">
<span class="block md:inline-block mb-2 md:mb-0 md:mr-6">© 2023 Lowe's Companies, Inc.</span>
<a href="#" class="hover:text-blue-600 mr-4">Privacy</a>
<a href="#" class="hover:text-blue-600 mr-4">Terms</a>
<a href="#" class="hover:text-blue-600">Help Center</a>
</div>
</div>
</div>
</footer>
</div>
<!-- New Project Modal -->
<div id="new-project-modal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4">
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-xl w-full max-w-md">
<div class="p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-lg font-semibold text-gray-800">Create New Project</h3>
<button id="close-project-modal" class="text-gray-400 hover:text-gray-500">
<i class="fas fa-times"></i>
</button>
</div>
<form id="new-project-form" class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Project Title</label>
<input type="text" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Description</label>
<textarea rows="3" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"></textarea>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Team Members</label>
<div class="relative">
<input type="text" placeholder="Search associates..." class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<i class="fas fa-search absolute right-3 top-3 text-gray-400"></i>
</div>
<div class="mt-2">
<div class="flex flex-wrap gap-2">
<span class="inline-flex items-center bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">
Sarah Williams
<button class="ml-1 text-blue-600 hover:text-blue-800">
<i class="fas fa-times text-xs"></i>
</button>
</span>
<span class="inline-flex items-center bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">
David Miller
<button class="ml-1 text-blue-600 hover:text-blue-800">
<i class="fas fa-times text-xs"></i>
</button>
</span>
</div>
</div>
</div>
<div class="grid grid-cols-2 gap-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Start Date</label>
<input type="date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Due Date</label>
<input type="date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
</div>
<div class="pt-2">
<button type="submit" class="w-full gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all font-medium">
Create Project
</button>
</div>
</form>
</div>
</div>
</div>
</div>
<script>
// Simulate Supabase functionality with localStorage
const mockSupabase = {
auth: {
user: () => {
const userData = localStorage.getItem('sb-user');
return userData ? JSON.parse(userData) : null;
},
signUp: (email, password, skills) => {
return new Promise((resolve) => {
setTimeout(() => {
const user = {
id: 'mock-user-' + Math.random().toString(36).substr(2, 9),
email,
skills
};
localStorage.setItem('sb-user', JSON.stringify(user));
localStorage.setItem('sb-session', 'mock-session-token');
resolve({ user, error: null });
}, 500);
});
},
signIn: (email, password) => {
return new Promise((resolve) => {
setTimeout(() => {
// Demo user credentials
if (email === 'demo@lowes.com' && password === 'demopassword') {
const user = {
id: 'demo-user-123',
email: 'demo@lowes.com',
skills: 'leadership, customer service, inventory management'
};
localStorage.setItem('sb-user', JSON.stringify(user));
localStorage.setItem('sb-session', 'mock-session-token');
resolve({ user, error: null });
return;
}
const userData = localStorage.getItem('sb-user');
if (userData) {
const user = JSON.parse(userData);
if (user.email === email) {
localStorage.setItem('sb-session', 'mock-session-token');
resolve({ user, error: null });
} else {
resolve({ user: null, error: { message: 'Invalid credentials' } });
}
} else {
resolve({ user: null, error: { message: 'User not found' } });
}
}, 500);
});
},
signOut: () => {
return new Promise((resolve) => {
setTimeout(() => {
localStorage.removeItem('sb-session');
resolve({ error: null });
}, 300);
});
}
},
from: (table) => {
return {
select: () => {
return new Promise((resolve) => {
setTimeout(() => {
const data = localStorage.getItem(`sb-table-${table}`);
resolve({ data: data ? JSON.parse(data) : [], error: null });
}, 300);
});
},
insert: (records) => {
return new Promise((resolve) => {
setTimeout(() => {
const key = `sb-table-${table}`;
const existing = localStorage.getItem(key);
let newData = [];
if (existing) {
newData = JSON.parse(existing);
}
newData.push(...records);
localStorage.setItem(key, JSON.stringify(newData));
resolve({ data: newData, error: null });
}, 300);
});
}
};
}
};
// DOM Elements
const demoLoginBtn = document.getElementById('demo-login');
const loadingState = document.getElementById('loading-state');
const loginPage = document.getElementById('login-page');
const signupPage = document.getElementById('signup-page');
const appLayout = document.getElementById('app-layout');
const loginForm = document.getElementById('login-form');
const signupForm = document.getElementById('signup-form');
const toggleSignup = document.getElementById('toggle-signup');
const toggleLogin = document.getElementById('toggle-login');
const signOutBtn = document.getElementById('sign-out');
const userMenuButton = document.getElementById('user-menu-button');
const userMenu = document.getElementById('user-menu');
const welcomeName = document.getElementById('welcome-name');
const userEmail = document.getElementById('user-email');
const menuUserEmail = document.getElementById('menu-user-email');
const newProjectBtn = document.getElementById('new-project-btn');
const newProjectModal = document.getElementById('new-project-modal');
const closeProjectModal = document.getElementById('close-project-modal');
const newProjectForm = document.getElementById('new-project-form');
// Pages
const dashboardPage = document.getElementById('dashboard-page');
const projectHubPage = document.getElementById('project-hub-page');
const growthMapPage = document.getElementById('growth-map-page');
const collabCafePage = document.getElementById('collab-cafe-page');
// Navigation links
const navLinks = document.querySelectorAll('.nav-link');
// Check auth state on load
document.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
const session = localStorage.getItem('sb-session');
if (session) {
// User is logged in
const user = mockSupabase.auth.user();
if (user) {
showAppLayout(user);
} else {
showLoginPage();
}
} else {
// No session, show login
showLoginPage();
}
}, 1000);
});
// Show login page
function showLoginPage() {
loadingState.classList.add('hidden');
loginPage.classList.remove('hidden');
signupPage.classList.add('hidden');
appLayout.classList.add('hidden');
}
// Show signup page
function showSignupPage() {
loadingState.classList.add('hidden');
loginPage.classList.add('hidden');
signupPage.classList.remove('hidden');
appLayout.classList.add('hidden');
}
// Show app layout
function showAppLayout(user) {
loadingState.classList.add('hidden');
loginPage.classList.add('hidden');
signupPage.classList.add('hidden');
appLayout.classList.remove('hidden');
// Set user info
const displayName = user.email.split('@')[0];
welcomeName.textContent = displayName;
userEmail.textContent = user.email;
menuUserEmail.textContent = user.email;
// Default to dashboard
showPage('dashboard');
}
// Show specific page
function showPage(page) {
// Hide all pages
dashboardPage.classList.add('hidden');
projectHubPage.classList.add('hidden');
growthMapPage.classList.add('hidden');
collabCafePage.classList.add('hidden');
// Show selected page
switch(page) {
case 'dashboard':
dashboardPage.classList.remove('hidden');
break;
case 'project-hub':
projectHubPage.classList.remove('hidden');
break;
case 'growth-map':
growthMapPage.classList.remove('hidden');
break;
case 'collab-cafe':
collabCafePage.classList.remove('hidden');
break;
}
// Update active nav link
navLinks.forEach(link => {
if (link.getAttribute('href') === `#${page}`) {
link.classList.add('text-blue-200', 'font-medium');
} else {
link.classList.remove('text-blue-200', 'font-medium');
}
});
}
// Demo login
demoLoginBtn.addEventListener('click', () => {
document.getElementById('email').value = 'demo@lowes.com';
document.getElementById('password').value = 'demopassword';
loginForm.dispatchEvent(new Event('submit'));
});
// Event Listeners
toggleSignup.addEventListener('click', (e) => {
e.preventDefault();
showSignupPage();
});
toggleLogin.addEventListener('click', (e) => {
e.preventDefault();
showLoginPage();
});
loginForm.addEventListener('submit', async (e) => {
e.preventDefault();
const email = document.getElementById('email').value;
const password = document.getElementById('password').value;
loadingState.classList.remove('hidden');
loginPage.classList.add('hidden');
try {
const { user, error } = await mockSupabase.auth.signIn(email, password);
if (error) {
loadingState.classList.add('hidden');
loginPage.classList.remove('hidden');
// Create error message element if it doesn't exist
let errorMsg = document.getElementById('login-error');
if (!errorMsg) {
errorMsg = document.createElement('div');
errorMsg.id = 'login-error';
errorMsg.className = 'mt-4 p-3 bg-red-100 border border-red-400 text-red-700 rounded';
loginForm.appendChild(errorMsg);
}
errorMsg.textContent = error.message;
} else {
showAppLayout(user);
}
} catch (err) {
loadingState.classList.add('hidden');
loginPage.classList.remove('hidden');
alert('An unexpected error occurred. Please try again.');
}
});
signupForm.addEventListener('submit', async (e) => {
e.preventDefault();
const email = document.getElementById('signup-email').value;
const password = document.getElementById('signup-password').value;
const skills = document.getElementById('signup-skills').value;
loadingState.classList.remove('hidden');
signupPage.classList.add('hidden');
const { user, error } = await mockSupabase.auth.signUp(email, password, skills);
if (error) {
loadingState.classList.add('hidden');
signupPage.classList.remove('hidden');
alert(error.message);
} else {
// Also add user to "users" table
await mockSupabase.from('users').insert([{
id: user.id,
email: user.email,
skills: user.skills
}]);
showAppLayout(user);
}
});
signOutBtn.addEventListener('click', async () => {
await mockSupabase.auth.signOut();
showLoginPage();
});
userMenuButton.addEventListener('click', () => {
userMenu.classList.toggle('hidden');
});
// Close user menu when clicking outside
document.addEventListener('click', (e) => {
if (!userMenu.contains(e.target) && e.target !== userMenuButton) {
userMenu.classList.add('hidden');
}
});
// Navigation
navLinks.forEach(link => {
link.addEventListener('click', (e) => {
e.preventDefault();
const page = link.getAttribute('href').substring(1);
showPage(page);
// Close mobile menu if open
userMenu.classList.add('hidden');
});
});
// Handle hash-based navigation
window.addEventListener('hashchange', () => {
const hash = window.location.hash.substring(1);
if (hash && ['dashboard', 'project-hub', 'growth-map', 'collab-cafe'].includes(hash)) {
showPage(hash);
}
});
// New project modal
newProjectBtn.addEventListener('click', () => {
newProjectModal.classList.remove('hidden');
});
closeProjectModal.addEventListener('click', () => {
newProjectModal.classList.add('hidden');
});
newProjectForm.addEventListener('submit', async (e) => {
e.preventDefault();
const user = mockSupabase.auth.user();
// In a real app, we would save to Supabase
alert('Project created successfully! (Simulated)');
newProjectModal.classList.add('hidden');
});
// Initialize with hash if present
if (window.location.hash) {
const hash = window.location.hash.substring(1);
if (hash && ['dashboard', 'project-hub', 'growth-map', 'collab-cafe'].includes(hash)) {
showPage(hash);
}
}
// Dark mode toggle
const darkModeToggle = document.getElementById('dark-mode-toggle');
// Initialize dark mode
function initDarkMode() {
const isDark = localStorage.getItem('darkMode') === 'true' ||
(!localStorage.getItem('darkMode') && window.matchMedia('(prefers-color-scheme: dark)').matches);
if (isDark) {
document.documentElement.classList.add('dark');
localStorage.setItem('darkMode', 'true');
} else {
document.documentElement.classList.remove('dark');
localStorage.setItem('darkMode', 'false');
}
}
// Toggle dark mode
darkModeToggle.addEventListener('click', () => {
const isDark = document.documentElement.classList.toggle('dark');
localStorage.setItem('darkMode', isDark ? 'true' : 'false');
});
// Initialize on load
initDarkMode();
// Watch for system preference changes
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
if (!localStorage.getItem('darkMode')) {
initDarkMode();
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=fofehos123/compass" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Compass | Lowe's</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.dark .gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}
.gradient-bg {
background: linear-gradient(135deg, #0056b3 0%, #003366 100%);
}
.dark .card-hover {
background-color: #1f2937;
border-color: #374151;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.transition-all {
transition: all 0.3s ease;
}
.page-enter {
opacity: 0;
transform: translateY(20px);
}
.dark {
color-scheme: dark;
}
.dark .text-gray-800 {
color: #f3f4f6;
}
.dark .text-gray-700 {
color: #e5e7eb;
}
.dark .text-gray-600 {
color: #d1d5db;
}
.dark .bg-white {
background-color: #111827;
}
.dark .bg-gray-100 {
background-color: #1f2937;
}
.dark .border-gray-200 {
border-color: #374151;
}
.page-enter-active {
opacity: 1;
transform: translateY(0);
transition: all 300ms ease-out;
}
.page-exit {
opacity: 1;
transform: translateY(0);
}
.page-exit-active {
opacity: 0;
transform: translateY(-20px);
transition: all 300ms ease-out;
}
</style>
</head>
<body class="bg-gray-50 dark:bg-gray-900 font-sans transition-colors duration-200">
<div id="app">
<!-- Auth State: Loading -->
<div id="loading-state" class="fixed inset-0 flex items-center justify-center bg-white dark:bg-gray-900 z-50">
<div class="text-center">
<div class="w-16 h-16 border-4 border-blue-500 dark:border-blue-400 border-t-transparent rounded-full animate-spin mx-auto"></div>
<p class="mt-4 text-gray-700 dark:text-gray-300">Loading Project Compass...</p>
</div>
</div>
<!-- Login Page -->
<div id="login-page" class="hidden min-h-screen flex items-center justify-center p-4">
<div class="w-full max-w-md">
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="gradient-bg py-6 px-8 text-white">
<div class="flex items-center justify-center mb-4">
<i class="fas fa-compass text-4xl mr-3"></i>
<h1 class="text-2xl font-bold">Project Compass</h1>
</div>
<p class="text-center text-blue-100">Lowe's Associate Portal</p>
</div>
<div class="p-8">
<form id="login-form" class="space-y-6">
<div>
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input type="email" id="email" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">Password</label>
<input type="password" id="password" required class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
</div>
<div class="space-y-4">
<button type="submit" class="w-full gradient-bg text-white py-2 px-4 rounded-lg hover:opacity-90 transition-all font-medium">