Spaces:
Running

File size: 12,765 Bytes
f68b09e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!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>