caleb-github-clone / issues.html
calebwodi's picture
Generate a GitHub clone - Initial Deployment
60da978 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Issues - GitHub Clone</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.repo-language-color {
position: relative;
top: 1px;
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<!-- Navigation -->
<nav class="bg-gray-900 text-white px-4 py-3 flex items-center justify-between sticky top-0 z-50">
<div class="flex items-center space-x-4">
<i data-feather="github" class="w-8 h-8"></i>
<div class="relative hidden md:block">
<input type="text" placeholder="Search or jump to..." class="bg-gray-800 text-sm rounded-md px-3 py-1.5 w-64 focus:outline-none focus:ring-2 focus:ring-blue-500">
<div class="absolute right-2 top-1.5 text-xs bg-gray-700 px-1 rounded">/</div>
</div>
<div class="hidden md:flex space-x-4 text-sm font-medium">
<a href="#" class="hover:text-gray-300">Pull requests</a>
<a href="#" class="hover:text-gray-300">Issues</a>
<a href="#" class="hover:text-gray-300">Marketplace</a>
<a href="#" class="hover:text-gray-300">Explore</a>
</div>
</div>
<div class="flex items-center space-x-3">
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
<button class="hidden md:block">
<i data-feather="bell"></i>
</button>
<button class="hidden md:flex items-center space-x-1">
<i data-feather="plus" class="w-4 h-4"></i>
<i data-feather="chevron-down" class="w-4 h-4"></i>
</button>
<div class="flex items-center space-x-1">
<div class="w-6 h-6 rounded-full bg-blue-500"></div>
<i data-feather="chevron-down" class="w-4 h-4 hidden md:block"></i>
</div>
</div>
</nav>
<!-- Repository Header -->
<div class="bg-white border-b border-gray-200 py-4">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row md:items-center justify-between">
<div class="flex items-center mb-4 md:mb-0">
<i data-feather="book" class="w-5 h-5 text-gray-600 mr-2"></i>
<div class="flex items-center text-sm">
<a href="#" class="text-blue-600 hover:underline">octocat</a>
<span class="mx-1">/</span>
<a href="#" class="text-blue-600 font-semibold hover:underline">Hello-World</a>
</div>
</div>
<div class="flex space-x-2">
<button class="flex items-center text-sm bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-md">
<i data-feather="eye" class="w-4 h-4 mr-1"></i>
<span>Watch</span>
<span class="ml-1 text-gray-500">1.2k</span>
</button>
<button class="flex items-center text-sm bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-md">
<i data-feather="git-branch" class="w-4 h-4 mr-1"></i>
<span>Fork</span>
<span class="ml-1 text-gray-500">42</span>
</button>
<button class="flex items-center text-sm bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-md">
<i data-feather="star" class="w-4 h-4 mr-1"></i>
<span>Star</span>
<span class="ml-1 text-gray-500">5.6k</span>
</button>
</div>
</div>
</div>
</div>
<!-- Issues Content -->
<div class="container mx-auto px-4 py-6">
<!-- Issues Header -->
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
<div>
<h1 class="text-2xl font-semibold">Issues</h1>
</div>
<div class="mt-4 md:mt-0">
<button class="bg-green-600 hover:bg-green-700 text-white font-medium py-1.5 px-4 rounded-md text-sm">
New issue
</button>
</div>
</div>
<!-- Issues Filters -->
<div class="bg-white border border-gray-200 rounded-lg p-4 mb-6">
<div class="flex flex-col md:flex-row md:items-center justify-between">
<div class="flex space-x-2 mb-4 md:mb-0">
<button class="flex items-center text-sm bg-gray-100 hover:bg-gray-200 text-gray-800 px-3 py-1 rounded-md">
<i data-feather="filter" class="w-4 h-4 mr-1"></i>
<span>Filters</span>
</button>
<button class="flex items-center text-sm bg-white border border-gray-300 hover:bg-gray-50 text-gray-800 px-3 py-1 rounded-md">
<span>Labels</span>
<i data-feather="chevron-down" class="w-4 h-4 ml-1"></i>
</button>
<button class="flex items-center text-sm bg-white border border-gray-300 hover:bg-gray-50 text-gray-800 px-3 py-1 rounded-md">
<span>Milestones</span>
<i data-feather="chevron-down" class="w-4 h-4 ml-1"></i>
</button>
</div>
<div class="flex items-center">
<button class="text-gray-500 hover:text-gray-700 mr-2">
<i data-feather="refresh-cw" class="w-4 h-4"></i>
</button>
<div class="relative">
<input type="text" placeholder="Search all issues" class="bg-gray-50 border border-gray-300 rounded-md px-3 py-1 text-sm w-full md:w-64 focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
</div>
</div>
</div>
<!-- Issues List -->
<div class="bg-white border border-gray-200 rounded-lg overflow-hidden">
<!-- Issue Header -->
<div class="px-4 py-3 border-b border-gray-200 bg-gray-50">
<div class="flex items-center">
<i data-feather="alert-circle" class="w-5 h-5 text-gray-500 mr-2"></i>
<span class="text-sm font-medium">3 Open</span>
<span class="text-sm text-gray-500 ml-4">2 Closed</span>
</div>
</div>
<!-- Issue 1 -->
<div class="p-4 border-b border-gray-200 hover:bg-gray-50">
<div class="flex items-start">
<div class="mr-3 mt-1">
<i data-feather="alert-circle" class="w-5 h-5 text-green-600"></i>
</div>
<div class="flex-1">
<div class="flex items-center mb-1">
<a href="#" class="text-blue-600 font-medium hover:underline">Fix typo in documentation</a>
<div class="flex ml-2 space-x-1">
<span class="text-xs px-2 py-0.5 rounded-full bg-blue-100 text-blue-800">bug</span>
<span class="text-xs px-2 py-0.5 rounded-full bg-gray-100 text-gray-800">documentation</span>
</div>
</div>
<p class="text-sm text-gray-600 mb-2">#42 opened 2 days ago by <a href="#" class="text-blue-600 hover:underline">otheruser</a></p>
<div class="flex items-center text-xs text-gray-500">
<i data-feather="message-square" class="w-3 h-3 mr-1"></i>
<span>3 comments</span>
</div>
</div>
</div>
</div>
<!-- Issue 2 -->
<div class="p-4 border-b border-gray-200 hover:bg-gray-50">
<div class="flex items-start">
<div class="mr-3 mt-1">
<i data-feather="alert-circle" class="w-5 h-5 text-green-600"></i>
</div>
<div class="flex-1">
<div class="flex items-center mb-1">
<a href="#" class="text-blue-600 font-medium hover:underline">Add dark mode support</a>
<div class="flex ml-2 space-x-1">
<span class="text-xs px-2 py-0.5 rounded-full bg-purple-100 text-purple-800">enhancement</span>
</div>
</div>
<p class="text-sm text-gray-600 mb-2">#41 opened 1 week ago by <a href="#" class="text-blue-600 hover:underline">darkmoder</a></p>
<div class="flex items-center text-xs text-gray-500">
<i data-feather="message-square" class="w-3 h-3 mr-1"></i>
<span>7 comments</span>
</div>
</div>
</div>
</div>
<!-- Issue 3 -->
<div class="p-4 hover:bg-gray-50">
<div class="flex items-start">
<div class="mr-3 mt-1">
<i data-feather="alert-circle" class="w-5 h-5 text-green-600"></i>
</div>
<div class="flex-1">
<div class="flex items-center mb-1">
<a href="#" class="text-blue-600 font-medium hover:underline">Improve performance on mobile devices</a>
<div class="flex ml-2 space-x-1">
<span class="text-xs px-2 py-0.5 rounded-full bg-purple-100 text-purple-800">enhancement</span>
<span class="text-xs px-2 py-0.5 rounded-full bg-green-100 text-green-800">performance</span>
</div>
</div>
<p class="text-sm text-gray-600 mb-2">#40 opened 2 weeks ago by <a href="#" class="text-blue-600 hover:underline">mobileuser</a></p>
<div class="flex items-center text-xs text-gray-500">
<i data-feather="message-square" class="w-3 h-3 mr-1"></i>
<span>12 comments</span>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
AOS.init();
feather.replace();
</script>
</body>
</html>