privateaq-ble / index.html
privateuserh's picture
Add 2 files
c2c7073 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AquaNet Maritime Network</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
.pulse {
animation: pulse 2s infinite;
}
.network-node {
transition: all 0.3s ease;
}
.network-node:hover {
transform: scale(1.1);
z-index: 10;
}
.wave-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
}
.card-hover:hover {
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
transform: translateY(-2px);
}
.blink {
animation: blink 1s step-end infinite;
}
@keyframes blink {
50% { opacity: 0; }
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Navigation -->
<nav class="wave-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-water text-2xl"></i>
<span class="text-xl font-bold">AquaNet</span>
</div>
<div class="hidden md:flex space-x-6">
<a href="#dashboard" class="hover:text-blue-200">Dashboard</a>
<a href="#network" class="hover:text-blue-200">Network</a>
<a href="#devices" class="hover:text-blue-200">Devices</a>
<a href="#security" class="hover:text-blue-200">Security</a>
<a href="#settings" class="hover:text-blue-200">Settings</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<i class="fas fa-bell text-xl cursor-pointer"></i>
<span class="absolute -top-1 -right-1 bg-red-500 text-white rounded-full w-4 h-4 flex items-center justify-center text-xs">3</span>
</div>
<div class="w-8 h-8 rounded-full bg-blue-300 flex items-center justify-center">
<span class="text-sm font-semibold">JD</span>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="container mx-auto px-4 py-6">
<!-- Dashboard Section -->
<section id="dashboard" class="mb-12">
<h2 class="text-2xl font-bold text-gray-800 mb-6 flex items-center">
<i class="fas fa-tachometer-alt mr-2 text-blue-600"></i> System Dashboard
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
<!-- Network Status Card -->
<div class="bg-white rounded-lg shadow-md p-6 card-hover">
<div class="flex justify-between items-start">
<div>
<h3 class="text-gray-500 text-sm font-medium">Network Status</h3>
<p class="text-2xl font-bold text-green-600 mt-2">Active</p>
</div>
<div class="bg-green-100 p-2 rounded-full">
<i class="fas fa-network-wired text-green-600"></i>
</div>
</div>
<div class="mt-4">
<p class="text-sm text-gray-500">Nodes: <span class="font-medium text-gray-700">24</span></p>
<p class="text-sm text-gray-500">Gateways: <span class="font-medium text-gray-700">3</span></p>
</div>
</div>
<!-- Environmental Conditions Card -->
<div class="bg-white rounded-lg shadow-md p-6 card-hover">
<div class="flex justify-between items-start">
<div>
<h3 class="text-gray-500 text-sm font-medium">Environment</h3>
<p class="text-2xl font-bold text-blue-600 mt-2">
</html>