Spaces:
Running
Running
File size: 14,490 Bytes
1123ef0 10af7ef | 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 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | <!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CondoControl Pro | Modern Condo Management</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#d946ef',
600: '#c026d3',
}
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
@apply bg-gray-900 text-gray-100;
}
.glass-card {
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
</style>
</head>
<body>
<div id="vanta-bg" class="fixed inset-0 -z-10"></div>
<div class="min-h-screen flex flex-col">
<!-- Navigation -->
<nav class="bg-gray-800/80 backdrop-blur-md border-b border-gray-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="flex items-center">
<i data-feather="home" class="text-primary-500 h-8 w-8"></i>
<span class="ml-2 text-xl font-bold bg-gradient-to-r from-primary-500 to-pink-500 bg-clip-text text-transparent">CondoControl</span>
</div>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Properties</a>
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Residents</a>
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Finances</a>
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Documents</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-gray-400 hover:text-white focus:outline-none">
<i data-feather="bell"></i>
</button>
<div class="ml-3 relative">
<div class="flex items-center space-x-2">
<img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="">
<span class="text-sm font-medium">Admin User</span>
<i data-feather="chevron-down" class="h-4 w-4"></i>
</div>
</div>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none">
<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-white">Dashboard Overview</h1>
<p class="mt-2 text-gray-400">Welcome back! Here's what's happening with your properties.</p>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="glass-card rounded-xl p-6 shadow-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-400">Total Properties</p>
<p class="mt-1 text-3xl font-semibold text-white">12</p>
</div>
<div class="bg-primary-500/20 p-3 rounded-full">
<i data-feather="home" class="text-primary-500 h-6 w-6"></i>
</div>
</div>
</div>
<div class="glass-card rounded-xl p-6 shadow-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-400">Active Residents</p>
<p class="mt-1 text-3xl font-semibold text-white">342</p>
</div>
<div class="bg-blue-500/20 p-3 rounded-full">
<i data-feather="users" class="text-blue-500 h-6 w-6"></i>
</div>
</div>
</div>
<div class="glass-card rounded-xl p-6 shadow-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-400">Pending Requests</p>
<p class="mt-1 text-3xl font-semibold text-white">8</p>
</div>
<div class="bg-yellow-500/20 p-3 rounded-full">
<i data-feather="alert-circle" class="text-yellow-500 h-6 w-6"></i>
</div>
</div>
</div>
<div class="glass-card rounded-xl p-6 shadow-lg">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-400">This Month Revenue</p>
<p class="mt-1 text-3xl font-semibold text-white">$24,567</p>
</div>
<div class="bg-green-500/20 p-3 rounded-full">
<i data-feather="dollar-sign" class="text-green-500 h-6 w-6"></i>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<div class="glass-card rounded-xl p-6 shadow-lg">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-semibold text-white">Recent Activity</h2>
<button class="text-primary-500 hover:text-primary-400 text-sm font-medium">View All</button>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-primary-500/20 p-2 rounded-full mr-4">
<i data-feather="user" class="text-primary-500 h-4 w-4"></i>
</div>
<div>
<p class="text-sm font-medium text-white">New resident registered</p>
<p class="text-xs text-gray-400">John Doe in Property A - 10 mins ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-blue-500/20 p-2 rounded-full mr-4">
<i data-feather="file-text" class="text-blue-500 h-4 w-4"></i>
</div>
<div>
<p class="text-sm font-medium text-white">Maintenance request submitted</p>
<p class="text-xs text-gray-400">Apartment 42 - Plumbing issue - 1 hour ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-500/20 p-2 rounded-full mr-4">
<i data-feather="dollar-sign" class="text-green-500 h-4 w-4"></i>
</div>
<div>
<p class="text-sm font-medium text-white">Monthly payment received</p>
<p class="text-xs text-gray-400">Jane Smith - $1,200 - 3 hours ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-500/20 p-2 rounded-full mr-4">
<i data-feather="calendar" class="text-purple-500 h-4 w-4"></i>
</div>
<div>
<p class="text-sm font-medium text-white">New reservation created</p>
<p class="text-xs text-gray-400">Community Hall - June 15 - 5 hours ago</p>
</div>
</div>
</div>
</div>
</div>
<!-- Quick Actions -->
<div>
<div class="glass-card rounded-xl p-6 shadow-lg">
<h2 class="text-xl font-semibold text-white mb-6">Quick Actions</h2>
<div class="grid grid-cols-2 gap-4">
<button class="bg-primary-500 hover:bg-primary-600 text-white py-3 px-4 rounded-lg flex flex-col items-center transition-all">
<i data-feather="user-plus" class="h-5 w-5 mb-2"></i>
<span class="text-sm">Add Resident</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 text-white py-3 px-4 rounded-lg flex flex-col items-center transition-all">
<i data-feather="file-text" class="h-5 w-5 mb-2"></i>
<span class="text-sm">New Request</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 text-white py-3 px-4 rounded-lg flex flex-col items-center transition-all">
<i data-feather="dollar-sign" class="h-5 w-5 mb-2"></i>
<span class="text-sm">Record Payment</span>
</button>
<button class="bg-gray-700 hover:bg-gray-600 text-white py-3 px-4 rounded-lg flex flex-col items-center transition-all">
<i data-feather="calendar" class="h-5 w-5 mb-2"></i>
<span class="text-sm">Add Event</span>
</button>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800/80 border-t border-gray-700 py-4">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">© 2023 CondoControl Pro. All rights reserved.</p>
<div class="flex space-x-4 mt-4 md:mt-0">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook" class="h-5 w-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin" class="h-5 w-5"></i>
</a>
</div>
</div>
</div>
</footer>
</div>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xd946ef,
backgroundColor: 0x111827,
points: 10.00,
maxDistance: 20.00,
spacing: 15.00
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>
|