Spaces:
Running
Running
File size: 9,186 Bytes
bfa0bcc | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AppVoyage - Dashboard</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>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.sidebar {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.active-nav-item {
background: rgba(124, 58, 237, 0.1);
border-left: 4px solid #7c3aed;
}
</style>
</head>
<body class="bg-gray-50">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
<div class="flex items-center justify-center h-16 px-4 border-b border-gray-200">
<div class="flex items-center">
<i data-feather="box" class="w-6 h-6 text-purple-600"></i>
<span class="ml-2 text-xl font-bold text-gray-800">AppVoyage</span>
</div>
</div>
<div class="flex-1 overflow-y-auto">
<nav class="px-4 py-6 space-y-1">
<a href="dashboard.html" class="group flex items-center px-3 py-3 text-sm font-medium rounded-md text-gray-600 hover:bg-purple-50 hover:text-purple-600">
<i data-feather="home" class="flex-shrink-0 h-5 w-5 mr-3 text-gray-400 group-hover:text-purple-600"></i>
Dashboard
</a>
<a href="apps.html" class="group flex items-center px-3 py-3 text-sm font-medium rounded-md text-gray-600 hover:bg-purple-50 hover:text-purple-600">
<i data-feather="grid" class="flex-shrink-0 h-5 w-5 mr-3 text-gray-400 group-hover:text-purple-600"></i>
Apps
</a>
<a href="users.html" class="group flex items-center px-3 py-3 text-sm font-medium rounded-md text-gray-600 hover:bg-purple-50 hover:text-purple-600">
<i data-feather="users" class="flex-shrink-0 h-5 w-5 mr-3 text-gray-400 group-hover:text-purple-600"></i>
Users
</a>
<a href="#" class="group flex items-center px-3 py-3 text-sm font-medium rounded-md text-gray-600 hover:bg-purple-50 hover:text-purple-600">
<i data-feather="settings" class="flex-shrink-0 h-5 w-5 mr-3 text-gray-400 group-hover:text-purple-600"></i>
Settings
</a>
</nav>
</div>
<div class="p-4 border-t border-gray-200">
<div class="flex items-center">
<img class="h-9 w-9 rounded-full" src="http://static.photos/people/200x200/10" alt="User avatar">
<div class="ml-3">
<p class="text-sm font-medium text-gray-700">John Doe</p>
<a href="#" class="text-xs font-medium text-purple-600 hover:text-purple-500">Sign out</a>
</div>
</div>
</div>
</div>
<!-- Main content -->
<div class="flex-1 overflow-auto">
<header class="bg-white shadow-sm">
<div class="flex justify-between items-center px-6 py-4">
<h1 class="text-2xl font-semibold text-gray-800">Dashboard</h1>
<div class="flex items-center space-x-4">
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
<i data-feather="bell"></i>
</button>
<button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
<i data-feather="help-circle"></i>
</button>
</div>
</div>
</header>
<main class="p-6">
<!-- Metrics -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-purple-100 text-purple-600">
<i data-feather="box" class="w-6 h-6"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">Total Apps</p>
<p class="text-2xl font-semibold text-gray-800">42</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
<i data-feather="globe" class="w-6 h-6"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">Web Apps</p>
<p class="text-2xl font-semibold text-gray-800">28</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-green-100 text-green-600">
<i data-feather="smartphone" class="w-6 h-6"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">USSD</p>
<p class="text-2xl font-semibold text-gray-800">9</p>
</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6">
<div class="flex items-center">
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
<i data-feather="code" class="w-6 h-6"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-500">APIs</p>
<p class="text-2xl font-semibold text-gray-800">5</p>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-200">
<h2 class="text-lg font-semibold text-gray-800">Recent Activity</h2>
</div>
<div class="divide-y divide-gray-200">
<div class="p-6 flex items-start">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/1" alt="User avatar">
<div class="ml-4">
<p class="text-sm font-medium text-gray-800">Sarah Johnson</p>
<p class="text-sm text-gray-500">Added new API integration at 10:30 AM</p>
</div>
</div>
<div class="p-6 flex items-start">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/2" alt="User avatar">
<div class="ml-4">
<p class="text-sm font-medium text-gray-800">Mike Chen</p>
<p class="text-sm text-gray-500">Updated payment gateway app at 9:15 AM</p>
</div>
</div>
<div class="p-6 flex items-start">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/3" alt="User avatar">
<div class="ml-4">
<p class="text-sm font-medium text-gray-800">Alex Taylor</p>
<p class="text-sm text-gray-500">Deployed new USSD service at 8:45 AM</p>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>
|