Spaces:
Running

undefined / projects.html
ekonkati's picture
now start linking and make it more interactive with realistic data.
f68b09e verified
Raw History Blame Contribute Delete
12.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Projects | BuildCost Pro</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="bg-gray-50">
<div class="min-h-screen flex flex-col">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="index.html" class="flex-shrink-0 flex items-center">
<i data-feather="calculator" class="w-8 h-8 text-blue-600"></i>
<span class="ml-2 text-xl font-bold text-blue-600">BuildCost Pro</span>
</a>
</div>
<div class="hidden md:ml-6 md:flex items-center space-x-8">
<a href="index.html" class="text-gray-600 hover:text-blue-600 transition">Home</a>
<a href="calculator.html" class="text-gray-600 hover:text-blue-600 transition">Calculator</a>
<a href="projects.html" class="text-blue-600 font-medium">Projects</a>
<a href="reports.html" class="text-gray-600 hover:text-blue-600 transition">Reports</a>
<a href="materials.html" class="text-gray-600 hover:text-blue-600 transition">Materials</a>
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
<i data-feather="user" class="w-4 h-4 text-blue-600"></i>
</div>
<span class="text-sm font-medium">John D.</span>
</div>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-700 hover:text-blue-600 hover:bg-gray-100">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="flex-grow">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="mb-8">
<h1 class="text-3xl font-bold text-gray-900">My Projects</h1>
<p class="text-gray-600 mt-2">View and manage all your construction projects</p>
</div>
<div class="flex justify-between items-center mb-6">
<div class="relative w-64">
<input type="text" placeholder="Search projects..." class="w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500">
<i data-feather="search" class="absolute left-3 top-2.5 w-5 h-5 text-gray-400"></i>
</div>
<a href="calculator.html" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 transition font-medium flex items-center space-x-2">
<i data-feather="plus" class="w-5 h-5"></i>
<span>New Project</span>
</a>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Project Card 1 -->
<div class="project-card bg-white rounded-xl shadow-md border border-gray-200 p-6 transition duration-300">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-semibold text-gray-900">Residential Villa</h3>
<p class="text-sm text-gray-500">Project ID: PRJ-2023-001</p>
</div>
<span class="px-2 py-1 text-xs font-medium rounded-full bg-green-100 text-green-800">Active</span>
</div>
<div class="space-y-3 mb-4">
<div class="flex justify-between text-sm">
<span class="text-gray-600">Location:</span>
<span class="font-medium">Bangalore, KA</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Start Date:</span>
<span class="font-medium">15 Jan 2023</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Est. Completion:</span>
<span class="font-medium">30 Nov 2024</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Budget:</span>
<span class="font-medium">₹2,45,00,000</span>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-200">
<a href="project-details.html?id=PRJ-2023-001" class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center">
View Details <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i>
</a>
<div class="flex space-x-2">
<button class="text-gray-500 hover:text-blue-600">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-500 hover:text-red-600">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Project Card 2 -->
<div class="project-card bg-white rounded-xl shadow-md border border-gray-200 p-6 transition duration-300">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-semibold text-gray-900">Commercial Complex</h3>
<p class="text-sm text-gray-500">Project ID: PRJ-2022-045</p>
</div>
<span class="px-2 py-1 text-xs font-medium rounded-full bg-yellow-100 text-yellow-800">On Hold</span>
</div>
<div class="space-y-3 mb-4">
<div class="flex justify-between text-sm">
<span class="text-gray-600">Location:</span>
<span class="font-medium">Hyderabad, TS</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Start Date:</span>
<span class="font-medium">10 Mar 2022</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Est. Completion:</span>
<span class="font-medium">15 Sep 2023</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Budget:</span>
<span class="font-medium">₹5,80,00,000</span>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-200">
<a href="project-details.html?id=PRJ-2022-045" class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center">
View Details <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i>
</a>
<div class="flex space-x-2">
<button class="text-gray-500 hover:text-blue-600">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-500 hover:text-red-600">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Project Card 3 -->
<div class="project-card bg-white rounded-xl shadow-md border border-gray-200 p-6 transition duration-300">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-xl font-semibold text-gray-900">Hospital Renovation</h3>
<p class="text-sm text-gray-500">Project ID: PRJ-2023-012</p>
</div>
<span class="px-2 py-1 text-xs font-medium rounded-full bg-blue-100 text-blue-800">Planning</span>
</div>
<div class="space-y-3 mb-4">
<div class="flex justify-between text-sm">
<span class="text-gray-600">Location:</span>
<span class="font-medium">Chennai, TN</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Start Date:</span>
<span class="font-medium">01 May 2023</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Est. Completion:</span>
<span class="font-medium">30 Apr 2024</span>
</div>
<div class="flex justify-between text-sm">
<span class="text-gray-600">Budget:</span>
<span class="font-medium">₹1,20,00,000</span>
</div>
</div>
<div class="flex justify-between items-center pt-4 border-t border-gray-200">
<a href="project-details.html?id=PRJ-2023-012" class="text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center">
View Details <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i>
</a>
<div class="flex space-x-2">
<button class="text-gray-500 hover:text-blue-600">
<i data-feather="edit-2" class="w-4 h-4"></i>
</button>
<button class="text-gray-500 hover:text-red-600">
<i data-feather="trash-2" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-100 border-t border-gray-200 py-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<p class="text-sm text-gray-500">&copy; 2023 BuildCost Pro. All rights reserved.</p>
</div>
</div>
</footer>
</div>
<script>
feather.replace();
</script>
</body>
</html>