skill-web / index.html
flamearchitect's picture
Add 2 files
94a789d verified
Raw History Blame Contribute Delete
77.6 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>SKILL WEB - Full Stack Platform</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> .skill-node { transition: all 0.3s ease; } .skill-node:hover { transform: scale(1.05); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); } .skill-node.unlocked { border-color: #10B981; background-color: #ECFDF5; } .skill-node.locked { filter: grayscale(70%); opacity: 0.7; } .skill-node.mastered { border-color: #8B5CF6; background-color: #EDE9FE; } .skill-node.verified { position: relative; border-left: 4px solid #3B82F6; } .skill-web-container { background-image: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%); } .tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn 0.5s; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .map-container { height: 400px; background-color: #e5e7eb; border-radius: 0.5rem; position: relative; overflow: hidden; } .progress-ring__circle { transition: stroke-dashoffset 0.5s; transform: rotate(-90deg); transform-origin: 50% 50%; } .zone-card { transition: all 0.3s ease; border-left: 4px solid transparent; } .zone-card:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } .zone-card.primary { border-left-color: #3B82F6; } .zone-card.secondary { border-left-color: #10B981; } .zone-card.tertiary { border-left-color: #8B5CF6; } .guild-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1)); border-left: 4px solid #6366F1; } .marketplace-item { transition: all 0.3s ease; } .marketplace-item:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } </style> </head> <body class="bg-gray-50 font-sans"> <!-- Navigation --> <nav class="bg-indigo-700 text-white shadow-lg"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex justify-between h-16 items-center"> <div class="flex items-center"> <div class="flex-shrink-0 flex items-center"> <i class="fas fa-cogs text-2xl mr-2"></i> <span class="text-xl font-bold">SKILL WEB</span> </div> <div class="hidden md:block"> <div class="ml-10 flex items-baseline space-x-4"> <a href="#" class="px-3 py-2 rounded-md text-sm font-medium bg-indigo-900">Dashboard</a> <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Skill Web</a> <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Zones</a> <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Marketplace</a> <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Barter</a> <a href="#" class="px-3 py-2 rounded-md text-sm font-medium hover:bg-indigo-600">Community</a> </div> </div> </div> <div class="hidden md:block"> <div class="ml-4 flex items-center md:ml-6"> <button class="p-1 rounded-full text-indigo-200 hover:text-white focus:outline-none relative"> <i class="fas fa-bell text-xl"></i> <span class="absolute top-0 right-0 block h-2 w-2 rounded-full bg-red-500"></span> </button> <div class="ml-3 relative"> <div> <button id="user-menu" class="max-w-xs flex items-center text-sm rounded-full focus:outline-none"> <div class="relative"> <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> <span class="absolute bottom-0 right-0 block h-2 w-2 rounded-full bg-green-500 ring-2 ring-white"></span> </div> <span class="ml-2">John Doe</span> <i class="fas fa-chevron-down ml-1 text-xs"></i> </button> </div> </div> </div> </div> <div class="-mr-2 flex md:hidden"> <button class="inline-flex items-center justify-center p-2 rounded-md text-indigo-200 hover:text-white hover:bg-indigo-600 focus:outline-none"> <i class="fas fa-bars"></i> </button> </div> </div> </div> </nav> <!-- Main Content --> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6"> <!-- Dashboard Header --> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <div class="flex flex-col md:flex-row items-center justify-between"> <div class="flex items-center mb-4 md:mb-0"> <div class="relative mr-4"> <img class="h-16 w-16 rounded-full border-4 border-indigo-100" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> <div class="absolute -bottom-1 -right-1 bg-yellow-500 text-white rounded-full p-1"> <i class="fas fa-crown text-xs"></i> </div> </div> <div> <div class="flex items-center"> <h1 class="text-2xl font-bold text-gray-800 mr-2">John Doe</h1> <span class="bg-blue-100 text-blue-800 text-xs font-semibold px-2.5 py-0.5 rounded-full flex items-center"> Verified <i class="fas fa-check ml-1 text-xs"></i> </span> </div> <div class="flex items-center mt-1"> <span class="bg-purple-100 text-purple-800 text-xs font-semibold px-2.5 py-0.5 rounded">Artisan</span> <span class="ml-2 text-gray-600">Level 12</span> <span class="ml-2 text-yellow-600 text-sm font-medium flex items-center"> <i class="fas fa-fire mr-1"></i> 3 Masteries </span> </div> </div> </div> <div class="flex space-x-4"> <div class="text-center"> <div class="text-sm text-gray-500">Total XP</div> <div class="text-xl font-bold text-indigo-700">4,850</div> </div> <div class="text-center"> <div class="text-sm text-gray-500">Verified Skills</div> <div class="text-xl font-bold text-indigo-700">5</div> </div> <div class="text-center"> <div class="text-sm text-gray-500">Masteries</div> <div class="text-xl font-bold text-indigo-700">3</div> </div> <div class="text-center"> <div class="text-sm text-gray-500">Barter Hours</div> <div class="text-xl font-bold text-indigo-700">12</div> </div> </div> </div> </div> <!-- Tabs Navigation --> <div class="border-b border-gray-200 mb-6"> <nav class="-mb-px flex space-x-8 overflow-x-auto"> <a href="#" data-tab="dashboard" class="tab-link border-indigo-500 text-indigo-600 whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm">Dashboard</a> <a href="#" data-tab="skill-web" class="tab-link 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">Skill Web</a> <a href="#" data-tab="zones" class="tab-link 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">Zones</a> <a href="#" data-tab="marketplace" class="tab-link 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">Marketplace</a> <a href="#" data-tab="barter" class="tab-link 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">Barter</a> <a href="#" data-tab="community" class="tab-link 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">Community</a> </nav> </div> <!-- Dashboard Tab --> <div id="dashboard" class="tab-content active"> <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"> <!-- Weekly Progress --> <div class="bg-white rounded-lg shadow-md p-6"> <h2 class="text-lg font-semibold text-gray-800 mb-4">Weekly Progress</h2> <div class="space-y-4"> <div> <div class="flex justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Woodworking</span> <span class="text-sm font-medium text-gray-700">75%</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: 75%"></div> </div> </div> <div> <div class="flex justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Gardening</span> <span class="text-sm font-medium text-gray-700">40%</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: 40%"></div> </div> </div> <div> <div class="flex justify-between mb-1"> <span class="text-sm font-medium text-gray-700">Cooking</span> <span class="text-sm font-medium text-gray-700">60%</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: 60%"></div> </div> </div> </div> <button class="mt-4 w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-150"> Log Activity </button> </div> <!-- Recent Achievements --> <div class="bg-white rounded-lg shadow-md p-6"> <h2 class="text-lg font-semibold text-gray-800 mb-4">Recent Achievements</h2> <div class="space-y-3"> <div class="flex items-start"> <div class="flex-shrink-0 bg-yellow-100 p-2 rounded-full"> <i class="fas fa-trophy text-yellow-500"></i> </div> <div class="ml-3"> <p class="text-sm font-medium text-gray-900">Mastered Baking Skill</p> <p class="text-sm text-gray-500">2 days ago</p> </div> </div> <div class="flex items-start"> <div class="flex-shrink-0 bg-blue-100 p-2 rounded-full"> <i class="fas fa-medal text-blue-500"></i> </div> <div class="ml-3"> <p class="text-sm font-medium text-gray-900">Verified Carpentry Skill</p> <p class="text-sm text-gray-500">1 week ago</p> </div> </div> <div class="flex items-start"> <div class="flex-shrink-0 bg-green-100 p-2 rounded-full"> <i class="fas fa-star text-green-500"></i> </div> <div class="ml-3"> <p class="text-sm font-medium text-gray-900">Completed "Build a Compost Bin" Challenge</p> <p class="text-sm text-gray-500">2 weeks ago</p> </div> </div> </div> <button class="mt-4 w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 rounded-md hover:bg-gray-50 transition duration-150"> View All </button> </div> <!-- Skill Goals --> <div class="bg-white rounded-lg shadow-md p-6"> <h2 class="text-lg font-semibold text-gray-800 mb-4">Skill Goals</h2> <div class="space-y-4"> <div class="border-l-4 border-indigo-500 pl-4 py-1"> <h3 class="font-medium text-gray-800">Master Basic Carpentry</h3> <p class="text-sm text-gray-600">Complete verification process (3/5 steps)</p> </div> <div class="border-l-4 border-green-500 pl-4 py-1"> <h3 class="font-medium text-gray-800">Become Gardening Mentor</h3> <p class="text-sm text-gray-600">Need 2 more verifications</p> </div> <div class="border-l-4 border-purple-500 pl-4 py-1"> <h3 class="font-medium text-gray-800">Unlock Master Chef</h3> <p class="text-sm text-gray-600">Pass final mastery test</p> </div> </div> <button class="mt-4 w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 rounded-md hover:bg-gray-50 transition duration-150"> Set New Goal </button> </div> </div> <!-- Active Skills --> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <div class="flex justify-between items-center mb-4"> <h2 class="text-lg font-semibold text-gray-800">Your Skills</h2> <div class="flex space-x-2"> <button class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-md hover:bg-gray-200"> <i class="fas fa-filter mr-1"></i> Filter </button> <button class="text-xs bg-indigo-600 text-white px-2 py-1 rounded-md hover:bg-indigo-700"> <i class="fas fa-plus mr-1"></i> Add Skill </button> </div> </div> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"> <!-- Skill Card 1 --> <div class="skill-node verified unlocked border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex justify-between items-start mb-2"> <div class="bg-green-100 p-2 rounded-full"> <i class="fas fa-hammer text-green-600"></i> </div> <span class="bg-green-100 text-green-800 text-xs font-semibold px-2 py-0.5 rounded">Level 2</span> </div> <h3 class="font-semibold text-gray-800 mb-1">Carpentry</h3> <p class="text-sm text-gray-600 mb-3">Basic woodworking and furniture making</p> <div class="w-full bg-gray-200 rounded-full h-1.5 mb-2"> <div class="bg-green-500 h-1.5 rounded-full" style="width: 45%"></div> </div> <div class="flex justify-between text-xs text-gray-500"> <span>450/1000 XP</span> <span>45%</span> </div> </div> <!-- Skill Card 2 --> <div class="skill-node verified unlocked border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex justify-between items-start mb-2"> <div class="bg-blue-100 p-2 rounded-full"> <i class="fas fa-seedling text-blue-600"></i> </div> <span class="bg-blue-100 text-blue-800 text-xs font-semibold px-2 py-0.5 rounded">Level 1</span> </div> <h3 class="font-semibold text-gray-800 mb-1">Gardening</h3> <p class="text-sm text-gray-600 mb-3">Growing vegetables and maintaining plants</p> <div class="w-full bg-gray-200 rounded-full h-1.5 mb-2"> <div class="bg-blue-500 h-1.5 rounded-full" style="width: 30%"></div> </div> <div class="flex justify-between text-xs text-gray-500"> <span>300/1000 XP</span> <span>30%</span> </div> </div> <!-- Skill Card 3 --> <div class="skill-node mastered unlocked border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex justify-between items-start mb-2"> <div class="bg-yellow-100 p-2 rounded-full"> <i class="fas fa-utensils text-yellow-600"></i> </div> <span class="bg-yellow-100 text-yellow-800 text-xs font-semibold px-2 py-0.5 rounded">Master</span> </div> <h3 class="font-semibold text-gray-800 mb-1">Cooking</h3> <p class="text-sm text-gray-600 mb-3">Home cooking and meal preparation</p> <div class="w-full bg-gray-200 rounded-full h-1.5 mb-2"> <div class="bg-yellow-500 h-1.5 rounded-full" style="width: 100%"></div> </div> <div class="flex justify-between text-xs text-gray-500"> <span>2000/2000 XP</span> <span>100%</span> </div> </div> <!-- Skill Card 4 --> <div class="skill-node locked border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex justify-between items-start mb-2"> <div class="bg-gray-100 p-2 rounded-full"> <i class="fas fa-bolt text-gray-500"></i> </div> <span class="bg-gray-100 text-gray-800 text-xs font-semibold px-2 py-0.5 rounded">Locked</span> </div> <h3 class="font-semibold text-gray-800 mb-1">Electrical</h3> <p class="text-sm text-gray-600 mb-3">Basic home wiring and repairs</p> <div class="w-full bg-gray-200 rounded-full h-1.5 mb-2"> <div class="bg-gray-400 h-1.5 rounded-full" style="width: 10%"></div> </div> <div class="flex justify-between text-xs text-gray-500"> <span>100/1000 XP</span> <span>10%</span> </div> </div> </div> </div> <!-- Challenges & Guilds --> <div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> <!-- Current Challenges --> <div class="bg-white rounded-lg shadow-md p-6"> <div class="flex justify-between items-center mb-4"> <h2 class="text-lg font-semibold text-gray-800">Current Challenges</h2> <button class="text-sm text-indigo-600 hover:text-indigo-800 font-medium"> View All <i class="fas fa-arrow-right ml-1"></i> </button> </div> <div class="space-y-4"> <!-- Weekly Challenge --> <div class="bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-start"> <div class="bg-purple-100 p-2 rounded-full mr-3"> <i class="fas fa-calendar-week text-purple-600"></i> </div> <div> <h3 class="font-semibold text-gray-800 mb-1">Weekly: Build a Raised Garden Bed</h3> <p class="text-sm text-gray-600 mb-2">Create a 4'x8' raised bed using sustainable materials</p> <div class="flex items-center text-xs text-gray-500"> <span class="mr-3">Reward: 250 XP</span> <span>Deadline: 3 days left</span> </div> </div> </div> </div> <!-- Seasonal Challenge --> <div class="bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-start"> <div class="bg-green-100 p-2 rounded-full mr-3"> <i class="fas fa-seedling text-green-600"></i> </div> <div> <h3 class="font-semibold text-gray-800 mb-1">Seasonal: Spring Planting Prep</h3> <p class="text-sm text-gray-600 mb-2">Prepare your garden for spring planting season</p> <div class="flex items-center text-xs text-gray-500"> <span class="mr-3">Reward: 500 XP</span> <span>Deadline: 2 weeks left</span> </div> </div> </div> </div> </div> </div> <!-- Guild Opportunities --> <div class="bg-white rounded-lg shadow-md p-6"> <div class="flex justify-between items-center mb-4"> <h2 class="text-lg font-semibold text-gray-800">Guild Opportunities</h2> <button class="text-sm text-indigo-600 hover:text-indigo-800 font-medium"> Explore All <i class="fas fa-arrow-right ml-1"></i> </button> </div> <div class="space-y-4"> <!-- Guild 1 --> <div class="guild-card rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-start"> <div class="bg-purple-100 p-2 rounded-full mr-3"> <i class="fas fa-hammer text-purple-600"></i> </div> <div> <h3 class="font-semibold text-gray-800 mb-1">Artisan Woodworkers Guild</h3> <p class="text-sm text-gray-600 mb-2">Master craftsmen sharing traditional techniques</p> <div class="flex items-center text-xs text-gray-500"> <span class="mr-3">12 members</span> <span>2 openings</span> </div> </div> </div> </div> <!-- Guild 2 --> <div class="guild-card rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-start"> <div class="bg-green-100 p-2 rounded-full mr-3"> <i class="fas fa-leaf text-green-600"></i> </div> <div> <h3 class="font-semibold text-gray-800 mb-1">Urban Farmers Collective</h3> <p class="text-sm text-gray-600 mb-2">Maximizing food production in small spaces</p> <div class="flex items-center text-xs text-gray-500"> <span class="mr-3">25 members</span> <span>5 openings</span> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Skill Web Tab --> <div id="skill-web" class="tab-content"> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <div class="flex justify-between items-center mb-6"> <h2 class="text-xl font-semibold text-gray-800">Skill Web</h2> <div class="flex space-x-2"> <button class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-md hover:bg-gray-200"> <i class="fas fa-filter mr-1"></i> Filter </button> <button class="text-xs bg-indigo-600 text-white px-2 py-1 rounded-md hover:bg-indigo-700"> <i class="fas fa-plus mr-1"></i> Add Path </button> </div> </div> <div class="skill-web-container bg-gray-50 rounded-lg p-6 mb-6"> <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> <!-- Skill Path 1 --> <div class="bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <div class="bg-green-100 p-2 rounded-full mr-3"> <i class="fas fa-hammer text-green-600"></i> </div> <h3 class="font-semibold text-gray-800">Woodworking Path</h3> </div> <p class="text-sm text-gray-600 mb-3">Master the art of crafting with wood from basic to advanced techniques.</p> <div class="flex justify-between items-center"> <span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">5 skills</span> <span class="text-xs font-medium text-green-600">2 unlocked</span> </div> </div> <!-- Skill Path 2 --> <div class="bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <div class="bg-blue-100 p-2 rounded-full mr-3"> <i class="fas fa-seedling text-blue-600"></i> </div> <h3 class="font-semibold text-gray-800">Gardening Path</h3> </div> <p class="text-sm text-gray-600 mb-3">Learn sustainable gardening practices from seed to harvest.</p> <div class="flex justify-between items-center"> <span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">7 skills</span> <span class="text-xs font-medium text-blue-600">3 unlocked</span> </div> </div> <!-- Skill Path 3 --> <div class="bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <div class="bg-yellow-100 p-2 rounded-full mr-3"> <i class="fas fa-utensils text-yellow-600"></i> </div> <h3 class="font-semibold text-gray-800">Culinary Arts Path</h3> </div> <p class="text-sm text-gray-600 mb-3">Develop cooking skills from basic meals to gourmet cuisine.</p> <div class="flex justify-between items-center"> <span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">6 skills</span> <span class="text-xs font-medium text-yellow-600">Mastered</span> </div> </div> </div> </div> <!-- Skill Tree Visualization --> <div class="bg-white border rounded-lg p-6"> <h3 class="font-semibold text-gray-800 mb-4">Woodworking Skill Tree</h3> <div class="relative h-64 bg-gray-100 rounded-lg flex items-center justify-center"> <div class="text-center"> <i class="fas fa-project-diagram text-4xl text-gray-400 mb-2"></i> <p class="text-gray-600">Interactive skill tree visualization</p> <p class="text-sm text-gray-500">(Would be rendered with D3.js or similar in production)</p> </div> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mt-6"> <!-- Basic Skills --> <div> <h4 class="font-medium text-gray-700 mb-2">Basic Skills</h4> <div class="space-y-2"> <div class="skill-node verified unlocked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-green-100 p-1 rounded-full mr-2"> <i class="fas fa-check text-green-600 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Tool Maintenance</span> </div> </div> <div class="skill-node verified unlocked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-green-100 p-1 rounded-full mr-2"> <i class="fas fa-check text-green-600 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Measuring & Marking</span> </div> </div> <div class="skill-node locked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-gray-100 p-1 rounded-full mr-2"> <i class="fas fa-lock text-gray-500 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Basic Joinery</span> </div> </div> </div> </div> <!-- Intermediate Skills --> <div> <h4 class="font-medium text-gray-700 mb-2">Intermediate Skills</h4> <div class="space-y-2"> <div class="skill-node locked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-gray-100 p-1 rounded-full mr-2"> <i class="fas fa-lock text-gray-500 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Furniture Construction</span> </div> </div> <div class="skill-node locked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-gray-100 p-1 rounded-full mr-2"> <i class="fas fa-lock text-gray-500 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Wood Finishing</span> </div> </div> </div> </div> <!-- Advanced Skills --> <div> <h4 class="font-medium text-gray-700 mb-2">Advanced Skills</h4> <div class="space-y-2"> <div class="skill-node locked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-gray-100 p-1 rounded-full mr-2"> <i class="fas fa-lock text-gray-500 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Cabinet Making</span> </div> </div> <div class="skill-node locked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-gray-100 p-1 rounded-full mr-2"> <i class="fas fa-lock text-gray-500 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Wood Turning</span> </div> </div> <div class="skill-node locked border rounded-lg p-3 hover:shadow-md transition duration-150"> <div class="flex items-center"> <div class="bg-gray-100 p-1 rounded-full mr-2"> <i class="fas fa-lock text-gray-500 text-xs"></i> </div> <span class="text-sm font-medium text-gray-800">Marquetry</span> </div> </div> </div> </div> </div> </div> </div> </div> <!-- Zones Tab --> <div id="zones" class="tab-content"> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <div class="flex justify-between items-center mb-6"> <h2 class="text-xl font-semibold text-gray-800">Community Zones</h2> <button class="text-sm bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-150"> <i class="fas fa-plus mr-1"></i> Create Zone </button> </div> <!-- Zone Map --> <div class="map-container mb-6"> <div class="absolute inset-0 flex items-center justify-center"> <i class="fas fa-map-marked-alt text-4xl text-gray-400"></i> <p class="ml-4 text-gray-600">Interactive zone map would appear here</p> </div> </div> <!-- Zone Cards --> <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> <!-- Zone 1 --> <div class="zone-card primary bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <div class="bg-blue-100 p-2 rounded-full mr-3"> <i class="fas fa-home text-blue-600"></i> </div> <h3 class="font-semibold text-gray-800">Downtown Collective</h3> </div> <p class="text-sm text-gray-600 mb-3">Urban gardens and maker spaces in the city center</p> <div class="flex justify-between items-center"> <span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">12 members</span> <span class="text-xs font-medium text-blue-600">75% complete</span> </div> </div> <!-- Zone 2 --> <div class="zone-card secondary bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <div class="bg-green-100 p-2 rounded-full mr-3"> <i class="fas fa-tree text-green-600"></i> </div> <h3 class="font-semibold text-gray-800">Riverside Growers</h3> </div> <p class="text-sm text-gray-600 mb-3">Community farms along the river valley</p> <div class="flex justify-between items-center"> <span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">8 members</span> <span class="text-xs font-medium text-green-600">60% complete</span> </div> </div> <!-- Zone 3 --> <div class="zone-card tertiary bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <div class="bg-purple-100 p-2 rounded-full mr-3"> <i class="fas fa-university text-purple-600"></i> </div> <h3 class="font-semibold text-gray-800">Campus Network</h3> </div> <p class="text-sm text-gray-600 mb-3">University area skill sharing initiative</p> <div class="flex justify-between items-center"> <span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">5 members</span> <span class="text-xs font-medium text-purple-600">40% complete</span> </div> </div> </div> <!-- Zone Needs --> <div class="bg-white border rounded-lg p-6 mt-6"> <h3 class="font-semibold text-gray-800 mb-4">Zone Needs & Opportunities</h3> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Zone</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Missing Skills</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Resources Needed</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center"> <i class="fas fa-home text-blue-600"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Downtown Collective</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Carpentry, Plumbing</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Tool library setup</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-indigo-600 hover:text-indigo-900">Contribute</button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center"> <i class="fas fa-tree text-green-600"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Riverside Growers</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Soil Science, Irrigation</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">Compost bins, rainwater collection</div> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-indigo-600 hover:text-indigo-900">Contribute</button> </td> </tr> </tbody> </table> </div> </div> </div> </div> <!-- Marketplace Tab --> <div id="marketplace" class="tab-content"> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <div class="flex justify-between items-center mb-6"> <h2 class="text-xl font-semibold text-gray-800">Local Marketplace</h2> <div class="flex space-x-2"> <button class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-md hover:bg-gray-200"> <i class="fas fa-filter mr-1"></i> Filter </button> <button class="text-xs bg-indigo-600 text-white px-2 py-1 rounded-md hover:bg-indigo-700"> <i class="fas fa-plus mr-1"></i> New Listing </button> </div> </div> <!-- Marketplace Filters --> <div class="bg-gray-50 rounded-lg p-4 mb-6"> <div class="grid grid-cols-1 md:grid-cols-4 gap-4"> <div> <label class="block text-sm font-medium text-gray-700 mb-1">Category</label> <select class="w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 text-sm"> <option>All Categories</option> <option>Produce</option> <option>Handmade Goods</option> <option>Services</option> <option>Supplies</option> </select> </div> <div> <label class="block text-sm font-medium text-gray-700 mb-1">Zone</label> <select class="w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 text-sm"> <option>All Zones</option> <option>Downtown Collective</option> <option>Riverside Growers</option> <option>Campus Network</option> </select> </div> <div> <label class="block text-sm font-medium text-gray-700 mb-1">Price Range</label> <select class="w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 text-sm"> <option>Any</option> <option>Barter Only</option> <option>$0-$20</option> <option>$20-$50</option> <option>$50+</option> </select> </div> <div class="flex items-end"> <button class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-150 text-sm"> Apply Filters </button> </div> </div> </div> <!-- Marketplace Items --> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> <!-- Item 1 --> <div class="marketplace-item bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-16 w-16 rounded-full object-cover mr-3" src="https://images.unsplash.com/photo-1518977676601-b53f82aba655?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Tomatoes"> <div> <h3 class="font-semibold text-gray-800">Organic Tomatoes</h3> <p class="text-sm text-gray-600">Heirloom varieties</p> </div> </div> <p class="text-sm text-gray-600 mb-3">Freshly harvested from my rooftop garden. Chemical-free.</p> <div class="flex justify-between items-center"> <div> <span class="text-sm font-medium text-gray-800">$3/lb</span> <span class="text-xs text-gray-500 ml-2">or 2 barter hours</span> </div> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Contact </button> </div> </div> <!-- Item 2 --> <div class="marketplace-item bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-16 w-16 rounded-full object-cover mr-3" src="https://images.unsplash.com/photo-1560343090-f0409e92791a?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Honey"> <div> <h3 class="font-semibold text-gray-800">Local Honey</h3> <p class="text-sm text-gray-600">Raw & unfiltered</p> </div> </div> <p class="text-sm text-gray-600 mb-3">From my backyard beehives. Great for allergies!</p> <div class="flex justify-between items-center"> <div> <span class="text-sm font-medium text-gray-800">$8/jar</span> <span class="text-xs text-gray-500 ml-2">or 3 barter hours</span> </div> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Contact </button> </div> </div> <!-- Item 3 --> <div class="marketplace-item bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-16 w-16 rounded-full object-cover mr-3" src="https://images.unsplash.com/photo-1595475038784-bbe439ff43e3?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Bread"> <div> <h3 class="font-semibold text-gray-800">Sourdough Bread</h3> <p class="text-sm text-gray-600">Freshly baked</p> </div> </div> <p class="text-sm text-gray-600 mb-3">Made with organic flour and my 5-year-old starter.</p> <div class="flex justify-between items-center"> <div> <span class="text-sm font-medium text-gray-800">$6/loaf</span> <span class="text-xs text-gray-500 ml-2">or 2 barter hours</span> </div> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Contact </button> </div> </div> <!-- Item 4 --> <div class="marketplace-item bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-16 w-16 rounded-full object-cover mr-3" src="https://images.unsplash.com/photo-1565538810643-b5bdb714032a?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Workshop"> <div> <h3 class="font-semibold text-gray-800">Woodworking Workshop</h3> <p class="text-sm text-gray-600">Build a planter box</p> </div> </div> <p class="text-sm text-gray-600 mb-3">2-hour workshop in my garage studio. All materials included.</p> <div class="flex justify-between items-center"> <div> <span class="text-sm font-medium text-gray-800">$40</span> <span class="text-xs text-gray-500 ml-2">or 6 barter hours</span> </div> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Contact </button> </div> </div> <!-- Item 5 --> <div class="marketplace-item bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-16 w-16 rounded-full object-cover mr-3" src="https://images.unsplash.com/photo-1529310399831-ed472b81d589?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Compost"> <div> <h3 class="font-semibold text-gray-800">Compost</h3> <p class="text-sm text-gray-600">Organic compost</p> </div> </div> <p class="text-sm text-gray-600 mb-3">High-quality compost from food scraps and yard waste.</p> <div class="flex justify-between items-center"> <div> <span class="text-sm font-medium text-gray-800">$5/bucket</span> <span class="text-xs text-gray-500 ml-2">or 1 barter hour</span> </div> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Contact </button> </div> </div> <!-- Item 6 --> <div class="marketplace-item bg-white border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-16 w-16 rounded-full object-cover mr-3" src="https://images.unsplash.com/photo-1595475038784-bbe439ff43e3?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Bread"> <div> <h3 class="font-semibold text-gray-800">Canning Workshop</h3> <p class="text-sm text-gray-600">Preserve your harvest</p> </div> </div> <p class="text-sm text-gray-600 mb-3">Learn water bath canning techniques for fruits and vegetables.</p> <div class="flex justify-between items-center"> <div> <span class="text-sm font-medium text-gray-800">$25</span> <span class="text-xs text-gray-500 ml-2">or 4 barter hours</span> </div> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Contact </button> </div> </div> </div> <!-- Pagination --> <div class="flex items-center justify-between border-t border-gray-200 pt-6 mt-6"> <div> <p class="text-sm text-gray-700"> Showing <span class="font-medium">1</span> to <span class="font-medium">6</span> of <span class="font-medium">24</span> results </p> </div> <div class="flex space-x-2"> <button class="relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50"> Previous </button> <button class="relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50"> Next </button> </div> </div> </div> </div> <!-- Barter Tab --> <div id="barter" class="tab-content"> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <div class="flex justify-between items-center mb-6"> <div> <h2 class="text-lg font-semibold text-gray-800">Barter System</h2> <p class="text-sm text-gray-600">Trade your skills and services with other community members</p> </div> <div> <span class="text-xs font-medium bg-green-100 text-green-800 px-2.5 py-0.5 rounded-full flex items-center"> <i class="fas fa-check-circle mr-1"></i> Barter Pass Active </span> </div> </div> <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"> <!-- Barter Balance --> <div class="bg-indigo-50 rounded-lg p-6"> <h3 class="font-semibold text-indigo-800 mb-2">Your Barter Balance</h3> <div class="flex items-end mb-4"> <span class="text-3xl font-bold text-indigo-900">12</span> <span class="text-lg text-indigo-700 ml-1">hours</span> </div> <p class="text-sm text-indigo-700 mb-4">Earned through skill exchanges and community contributions</p> <button class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-150"> View History </button> </div> <!-- Offer Skill --> <div class="bg-green-50 rounded-lg p-6"> <h3 class="font-semibold text-green-800 mb-2">Offer a Skill</h3> <p class="text-sm text-green-700 mb-4">List a skill you can teach or service you can provide to earn barter hours</p> <button class="w-full bg-green-600 text-white py-2 px-4 rounded-md hover:bg-green-700 transition duration-150"> <i class="fas fa-plus mr-1"></i> New Offer </button> </div> <!-- Request Skill --> <div class="bg-yellow-50 rounded-lg p-6"> <h3 class="font-semibold text-yellow-800 mb-2">Request a Skill</h3> <p class="text-sm text-yellow-700 mb-4">Find someone to teach you a skill or provide a service using your barter hours</p> <button class="w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition duration-150"> <i class="fas fa-search mr-1"></i> Browse Skills </button> </div> </div> <h3 class="font-semibold text-gray-800 mb-4">Recent Barter Opportunities Near You</h3> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> <!-- Barter Opportunity 1 --> <div class="border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-10 w-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/women/33.jpg" alt=""> <div> <h4 class="font-medium text-gray-800">Sarah M.</h4> <div class="flex items-center"> <span class="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded-full">Verified</span> <span class="text-xs text-gray-500 ml-2">2 miles away</span> </div> </div> </div> <h3 class="font-semibold text-gray-800 mb-1">Sewing Lessons</h3> <p class="text-sm text-gray-600 mb-3">Learn basic sewing and clothing repair. 2-hour sessions.</p> <div class="flex justify-between items-center"> <span class="text-sm font-medium text-gray-800">3 barter hours</span> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Request </button> </div> </div> <!-- Barter Opportunity 2 --> <div class="border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-10 w-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/45.jpg" alt=""> <div> <h4 class="font-medium text-gray-800">James T.</h4> <div class="flex items-center"> <span class="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded-full">Verified</span> <span class="text-xs text-gray-500 ml-2">5 miles away</span> </div> </div> </div> <h3 class="font-semibold text-gray-800 mb-1">Bike Repair</h3> <p class="text-sm text-gray-600 mb-3">Basic bicycle maintenance and repair services.</p> <div class="flex justify-between items-center"> <span class="text-sm font-medium text-gray-800">4 barter hours</span> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Request </button> </div> </div> <!-- Barter Opportunity 3 --> <div class="border rounded-lg p-4 hover:shadow-md transition duration-150"> <div class="flex items-center mb-3"> <img class="h-10 w-10 rounded-full mr-3" src="https://randomuser.me/api/portraits/women/62.jpg" alt=""> <div> <h4 class="font-medium text-gray-800">Maria L.</h4> <div class="flex items-center"> <span class="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded-full">Verified</span> <span class="text-xs text-gray-500 ml-2">1 mile away</span> </div> </div> </div> <h3 class="font-semibold text-gray-800 mb-1">Spanish Lessons</h3> <p class="text-sm text-gray-600 mb-3">Beginner Spanish conversation practice.</p> <div class="flex justify-between items-center"> <span class="text-sm font-medium text-gray-800">2 barter hours</span> <button class="text-sm bg-green-600 text-white px-3 py-1 rounded-md hover:bg-green-700"> Request </button> </div> </div> </div> </div> <div class="bg-white rounded-lg shadow-md p-6"> <h2 class="text-lg font-semibold text-gray-800 mb-4">Your Barter Offers</h2> <div class="overflow-x-auto"> <table class="min-w-full divide-y divide-gray-200"> <thead class="bg-gray-50"> <tr> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Skill Offered</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Rate</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center"> <i class="fas fa-hammer text-green-600"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Basic Carpentry</div> <div class="text-sm text-gray-500">Woodworking fundamentals</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">3 hours/session</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</button> <button class="text-red-600 hover:text-red-900">Pause</button> </td> </tr> <tr> <td class="px-6 py-4 whitespace-nowrap"> <div class="flex items-center"> <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center"> <i class="fas fa-seedling text-blue-600"></i> </div> <div class="ml-4"> <div class="text-sm font-medium text-gray-900">Garden Planning</div> <div class="text-sm text-gray-500">Vegetable garden setup</div> </div> </div> </td> <td class="px-6 py-4 whitespace-nowrap"> <div class="text-sm text-gray-900">4 hours/project</div> </td> <td class="px-6 py-4 whitespace-nowrap"> <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Paused</span> </td> <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> <button class="text-indigo-600 hover:text-indigo-900 mr-3">Edit</button> <button class="text-green-600 hover:text-green-900">Activate</button> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Community Tab --> <div id="community" class="tab-content"> <div class="bg-white rounded-lg shadow-md p-6 mb-6"> <h2 class="text-xl font-semibold text-gray-800 mb-6">Community Hub</h2> <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8"> <!-- Local Skill Board --> <div class="border rounded-lg p-6"> <h3 class="font-semibold text-gray-800 mb-4">Local Skill Board</h3> <div class="space-y-4"> <div class="flex items-start"> <div class="bg-green-100 p-2 rounded-full mr-3"> <i class="fas fa-tools text-green-600"></i> </div> <div> <h4 class="font-medium text-gray-800">Builders Needed</h4> <p class="text-sm text-gray-600">Community garden project needs help with raised beds this weekend.</p> <div class="flex items-center mt-2 text-xs text-gray-500"> <span class="mr-3">2 miles away</span> <span>Offers: 3/5 spots filled</span> </div> </div> </div> <div class="flex items-start"> <div class="bg-blue-100 p-2 rounded-full mr-3"> <i class="fas fa-leaf text-blue-600"></i> </div> <div> <h4 class="font-medium text-gray-800">Plant Swap</h4> <p class="text-sm text-gray-600">Monthly plant and seed exchange at the park next Saturday.</p> <div class="flex items-center mt-2 text-xs text-gray-500"> <span class="mr-3">1 mile away</span> <span>12 participants</span> </div> </div> </div> <div class="flex items-start"> <div class="bg-yellow-100 p-2 rounded-full mr-3"> <i class="fas fa-utensils text-yellow-600"></i> </div> <div> <h4 class="font-medium text-gray-800">Canning Workshop</h4> <p class="text-sm text-gray-600">Learn food preservation techniques from Master Preserver Maria L.</p> <div class="flex items-center mt-2 text-xs text-gray-500"> <span class="mr-3">3 miles away</span> <span>5 barter hours</span> </div> </div> </div> </div> <button class="mt-4 w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 transition duration-150"> View Full Board </button> </div> <!-- Mentorship Opportunities --> <div class="border rounded-lg p-6 bg-purple-50"> <h3 class="font-semibold text-gray-800 mb-4">Mentorship Network</h3> <div class="space-y-4"> <div class="flex items-start"> <div class="bg-yellow-100 p-2 rounded-full mr-3"> <i class="fas fa-crown text-yellow-600"></i> </div> <div> <h4 class="font-medium text-gray-800">Become a Mentor</h4> <p class="text-sm text-gray-600 mb-2">Share your mastered skills with apprentices in the community.</p> <button class="text-xs bg-yellow-600 text-white px-3 py-1 rounded-md hover:bg-yellow-700"> Create Mentor Profile </button> </div> </div> </html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SKILL WEB - Full Stack Platform</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>
.skill-node {
transition: all 0.3s ease;
}
.skill-node:hover {
transform: scale(1.05);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.skill-node.unlocked {
border-color: #10B981;
background-color: #ECFDF5;
}
.skill-node.locked {
filter: grayscale(70%);
opacity: 0.7;
}
.skill-node.mastered {
border-color: #8B5CF6;
background-color: #EDE9FE;
}
.skill-node.verified {
position: relative;
border-left: 4px solid #3B82F6;
}
.skill-web-container {
background-image: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.map-container {
height: 400px;
background-color: #e5e7eb;
border-radius: 0.5rem;
position: relative;
overflow: hidden;
}
.progress-ring__circle {
transition: stroke-dashoffset 0.5s;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
.zone-card {
transition: all 0.3s ease;
border-left: 4px solid transparent;
}
.zone-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.zone-card.primary {
border-left-color: #3B82F6;
}
.zone-card.secondary {
border-left-color: #10B981;
}
.zone-card.tertiary {
border-left-color: #8B5CF6;
}
.guild-card {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
border-left: 4px solid #6366F1;
}
.marketplace-item {
transition: all 0.3s ease;
}
.marketplace-item:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="bg-indigo-700 text-white shadow-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16 items-center">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-cogs text-2xl mr-2"></i>
<span class="text-xl font-bold">SKILL WEB</span>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">