i want a hybrid web app that can be used in IOS and android and links to the official stores. the app is monitoring toxins levels over time from various consumption sources like a button to scan foods by taking a picture or loading from phone. and another one to check air quality this is done by checking location. make this a proffesional easy for the eyes app with main page with some explanation. and dashboard where you can see graph over various time periods and an extra feature to analyze consumptions and view trends
Browse files- README.md +8 -5
- dashboard.html +496 -0
- index.html +225 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ToxiTrack - Your Safety Shield 🛡️
|
| 3 |
+
colorFrom: yellow
|
| 4 |
+
colorTo: purple
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
dashboard.html
ADDED
|
@@ -0,0 +1,496 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ToxiTrack - Dashboard</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 12 |
+
<style>
|
| 13 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 14 |
+
body {
|
| 15 |
+
font-family: 'Poppins', sans-serif;
|
| 16 |
+
}
|
| 17 |
+
.sidebar {
|
| 18 |
+
transition: all 0.3s ease;
|
| 19 |
+
}
|
| 20 |
+
.chart-container {
|
| 21 |
+
position: relative;
|
| 22 |
+
height: 300px;
|
| 23 |
+
width: 100%;
|
| 24 |
+
}
|
| 25 |
+
.toxin-level-low {
|
| 26 |
+
background-color: #10B981;
|
| 27 |
+
}
|
| 28 |
+
.toxin-level-medium {
|
| 29 |
+
background-color: #F59E0B;
|
| 30 |
+
}
|
| 31 |
+
.toxin-level-high {
|
| 32 |
+
background-color: #EF4444;
|
| 33 |
+
}
|
| 34 |
+
.active-tab {
|
| 35 |
+
border-bottom: 3px solid #10B981;
|
| 36 |
+
color: #10B981;
|
| 37 |
+
font-weight: 600;
|
| 38 |
+
}
|
| 39 |
+
</style>
|
| 40 |
+
</head>
|
| 41 |
+
<body class="bg-gray-50">
|
| 42 |
+
<div class="flex h-screen overflow-hidden">
|
| 43 |
+
<!-- Sidebar -->
|
| 44 |
+
<div class="sidebar bg-white w-64 border-r border-gray-200 flex-shrink-0 hidden md:block">
|
| 45 |
+
<div class="p-4 border-b border-gray-200">
|
| 46 |
+
<div class="flex items-center space-x-2">
|
| 47 |
+
<i data-feather="shield" class="text-emerald-500"></i>
|
| 48 |
+
<span class="text-xl font-bold text-gray-800">ToxiTrack</span>
|
| 49 |
+
</div>
|
| 50 |
+
</div>
|
| 51 |
+
<nav class="p-4">
|
| 52 |
+
<div class="mb-8">
|
| 53 |
+
<div class="flex items-center space-x-3 mb-6 p-3 rounded-lg bg-emerald-50">
|
| 54 |
+
<div class="w-10 h-10 rounded-full bg-emerald-100 flex items-center justify-center">
|
| 55 |
+
<i data-feather="user" class="text-emerald-500"></i>
|
| 56 |
+
</div>
|
| 57 |
+
<div>
|
| 58 |
+
<p class="font-medium text-gray-700">Welcome back</p>
|
| 59 |
+
<p class="text-sm text-gray-500">John Doe</p>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
</div>
|
| 63 |
+
<div class="space-y-2">
|
| 64 |
+
<a href="index.html" class="flex items-center space-x-3 p-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 65 |
+
<i data-feather="home" class="w-5 h-5"></i>
|
| 66 |
+
<span>Home</span>
|
| 67 |
+
</a>
|
| 68 |
+
<a href="#" class="flex items-center space-x-3 p-3 bg-emerald-50 text-emerald-500 rounded-lg">
|
| 69 |
+
<i data-feather="activity" class="w-5 h-5"></i>
|
| 70 |
+
<span>Dashboard</span>
|
| 71 |
+
</a>
|
| 72 |
+
<a href="#" class="flex items-center space-x-3 p-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 73 |
+
<i data-feather="camera" class="w-5 h-5"></i>
|
| 74 |
+
<span>Food Scanner</span>
|
| 75 |
+
</a>
|
| 76 |
+
<a href="#" class="flex items-center space-x-3 p-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 77 |
+
<i data-feather="map-pin" class="w-5 h-5"></i>
|
| 78 |
+
<span>Air Quality</span>
|
| 79 |
+
</a>
|
| 80 |
+
<a href="#" class="flex items-center space-x-3 p-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 81 |
+
<i data-feather="trending-up" class="w-5 h-5"></i>
|
| 82 |
+
<span>Trends</span>
|
| 83 |
+
</a>
|
| 84 |
+
<a href="#" class="flex items-center space-x-3 p-3 text-gray-600 hover:bg-gray-100 rounded-lg">
|
| 85 |
+
<i data-feather="settings" class="w-5 h-5"></i>
|
| 86 |
+
<span>Settings</span>
|
| 87 |
+
</a>
|
| 88 |
+
</div>
|
| 89 |
+
</nav>
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
<!-- Main Content -->
|
| 93 |
+
<div class="flex-1 overflow-auto">
|
| 94 |
+
<!-- Mobile Header -->
|
| 95 |
+
<header class="bg-white border-b border-gray-200 p-4 flex items-center justify-between md:hidden">
|
| 96 |
+
<div class="flex items-center space-x-2">
|
| 97 |
+
<i data-feather="shield" class="text-emerald-500"></i>
|
| 98 |
+
<span class="text-lg font-bold text-gray-800">ToxiTrack</span>
|
| 99 |
+
</div>
|
| 100 |
+
<button id="mobile-menu-button">
|
| 101 |
+
<i data-feather="menu" class="w-6 h-6 text-gray-600"></i>
|
| 102 |
+
</button>
|
| 103 |
+
</header>
|
| 104 |
+
|
| 105 |
+
<!-- Dashboard Content -->
|
| 106 |
+
<main class="p-6">
|
| 107 |
+
<div class="flex justify-between items-center mb-8">
|
| 108 |
+
<h1 class="text-2xl font-bold text-gray-800">Health Dashboard</h1>
|
| 109 |
+
<div class="relative">
|
| 110 |
+
<select class="appearance-none bg-white border border-gray-300 rounded-lg py-2 pl-4 pr-8 text-gray-700 focus:outline-none focus:ring-2 focus:ring-emerald-500">
|
| 111 |
+
<option>Last 7 days</option>
|
| 112 |
+
<option>Last 30 days</option>
|
| 113 |
+
<option>Last 90 days</option>
|
| 114 |
+
<option>Last year</option>
|
| 115 |
+
<option>Custom range</option>
|
| 116 |
+
</select>
|
| 117 |
+
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
|
| 118 |
+
<i data-feather="chevron-down" class="w-4 h-4"></i>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Stats Overview -->
|
| 124 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
|
| 125 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 126 |
+
<div class="flex items-center justify-between mb-4">
|
| 127 |
+
<h3 class="text-gray-500 font-medium">Toxin Exposure</h3>
|
| 128 |
+
<div class="w-8 h-8 rounded-full bg-emerald-100 flex items-center justify-center">
|
| 129 |
+
<i data-feather="alert-triangle" class="text-emerald-500 w-4 h-4"></i>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
<div class="flex items-end space-x-2">
|
| 133 |
+
<p class="text-3xl font-bold text-gray-800">24%</p>
|
| 134 |
+
<p class="text-sm text-emerald-500 flex items-center">
|
| 135 |
+
<i data-feather="arrow-down" class="w-4 h-4 mr-1"></i> 8% from last week
|
| 136 |
+
</p>
|
| 137 |
+
</div>
|
| 138 |
+
<div class="mt-4 bg-gray-200 rounded-full h-2">
|
| 139 |
+
<div class="bg-emerald-500 h-2 rounded-full" style="width: 24%"></div>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 143 |
+
<div class="flex items-center justify-between mb-4">
|
| 144 |
+
<h3 class="text-gray-500 font-medium">Food Safety Score</h3>
|
| 145 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
|
| 146 |
+
<i data-feather="check-circle" class="text-blue-500 w-4 h-4"></i>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="flex items-end space-x-2">
|
| 150 |
+
<p class="text-3xl font-bold text-gray-800">82</p>
|
| 151 |
+
<p class="text-sm text-blue-500 flex items-center">
|
| 152 |
+
<i data-feather="arrow-up" class="w-4 h-4 mr-1"></i> 5 from last week
|
| 153 |
+
</p>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="mt-4 bg-gray-200 rounded-full h-2">
|
| 156 |
+
<div class="bg-blue-500 h-2 rounded-full" style="width: 82%"></div>
|
| 157 |
+
</div>
|
| 158 |
+
</div>
|
| 159 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 160 |
+
<div class="flex items-center justify-between mb-4">
|
| 161 |
+
<h3 class="text-gray-500 font-medium">Air Quality Index</h3>
|
| 162 |
+
<div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center">
|
| 163 |
+
<i data-feather="wind" class="text-yellow-500 w-4 h-4"></i>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="flex items-end space-x-2">
|
| 167 |
+
<p class="text-3xl font-bold text-gray-800">Moderate</p>
|
| 168 |
+
<p class="text-sm text-yellow-500 flex items-center">
|
| 169 |
+
<i data-feather="alert-circle" class="w-4 h-4 mr-1"></i> Sensitive groups
|
| 170 |
+
</p>
|
| 171 |
+
</div>
|
| 172 |
+
<div class="mt-4 bg-gray-200 rounded-full h-2">
|
| 173 |
+
<div class="bg-yellow-500 h-2 rounded-full" style="width: 65%"></div>
|
| 174 |
+
</div>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<!-- Tabs -->
|
| 179 |
+
<div class="border-b border-gray-200 mb-6">
|
| 180 |
+
<nav class="flex space-x-8">
|
| 181 |
+
<button class="py-4 px-1 active-tab">Overview</button>
|
| 182 |
+
<button class="py-4 px-1 text-gray-500 hover:text-gray-700">Food Analysis</button>
|
| 183 |
+
<button class="py-4 px-1 text-gray-500 hover:text-gray-700">Air Quality</button>
|
| 184 |
+
<button class="py-4 px-1 text-gray-500 hover:text-gray-700">Trends</button>
|
| 185 |
+
</nav>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<!-- Charts Section -->
|
| 189 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
|
| 190 |
+
<!-- Main Chart -->
|
| 191 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 192 |
+
<div class="flex justify-between items-center mb-4">
|
| 193 |
+
<h3 class="font-semibold text-gray-800">Toxin Exposure Over Time</h3>
|
| 194 |
+
<div class="flex space-x-2">
|
| 195 |
+
<button class="text-xs px-3 py-1 rounded-full bg-emerald-100 text-emerald-600">Week</button>
|
| 196 |
+
<button class="text-xs px-3 py-1 rounded-full bg-gray-100 text-gray-600">Month</button>
|
| 197 |
+
<button class="text-xs px-3 py-1 rounded-full bg-gray-100 text-gray-600">Year</button>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
<div class="chart-container">
|
| 201 |
+
<canvas id="mainChart"></canvas>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
|
| 205 |
+
<!-- Toxin Sources -->
|
| 206 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 207 |
+
<h3 class="font-semibold text-gray-800 mb-4">Toxin Sources Breakdown</h3>
|
| 208 |
+
<div class="chart-container">
|
| 209 |
+
<canvas id="sourcesChart"></canvas>
|
| 210 |
+
</div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<!-- Recent Scans -->
|
| 215 |
+
<div class="bg-white p-6 rounded-xl shadow-sm mb-8">
|
| 216 |
+
<div class="flex justify-between items-center mb-4">
|
| 217 |
+
<h3 class="font-semibold text-gray-800">Recent Food Scans</h3>
|
| 218 |
+
<button class="text-sm text-emerald-500 hover:text-emerald-600 flex items-center">
|
| 219 |
+
<i data-feather="plus" class="w-4 h-4 mr-1"></i> New Scan
|
| 220 |
+
</button>
|
| 221 |
+
</div>
|
| 222 |
+
<div class="overflow-x-auto">
|
| 223 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 224 |
+
<thead>
|
| 225 |
+
<tr>
|
| 226 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Food Item</th>
|
| 227 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Toxin Level</th>
|
| 228 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
|
| 229 |
+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Safety</th>
|
| 230 |
+
</tr>
|
| 231 |
+
</thead>
|
| 232 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 233 |
+
<tr>
|
| 234 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 235 |
+
<div class="flex items-center">
|
| 236 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 237 |
+
<img class="h-10 w-10 rounded-full" src="http://static.photos/food/200x200/1" alt="">
|
| 238 |
+
</div>
|
| 239 |
+
<div class="ml-4">
|
| 240 |
+
<div class="text-sm font-medium text-gray-900">Organic Apples</div>
|
| 241 |
+
<div class="text-sm text-gray-500">Fruits</div>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
</td>
|
| 245 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 246 |
+
<div class="text-sm text-gray-900">Low</div>
|
| 247 |
+
</td>
|
| 248 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 249 |
+
<div class="text-sm text-gray-900">Today, 09:42 AM</div>
|
| 250 |
+
</td>
|
| 251 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 252 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-emerald-100 text-emerald-800">Safe</span>
|
| 253 |
+
</td>
|
| 254 |
+
</tr>
|
| 255 |
+
<tr>
|
| 256 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 257 |
+
<div class="flex items-center">
|
| 258 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 259 |
+
<img class="h-10 w-10 rounded-full" src="http://static.photos/food/200x200/2" alt="">
|
| 260 |
+
</div>
|
| 261 |
+
<div class="ml-4">
|
| 262 |
+
<div class="text-sm font-medium text-gray-900">Canned Tuna</div>
|
| 263 |
+
<div class="text-sm text-gray-500">Seafood</div>
|
| 264 |
+
</div>
|
| 265 |
+
</div>
|
| 266 |
+
</td>
|
| 267 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 268 |
+
<div class="text-sm text-gray-900">Medium</div>
|
| 269 |
+
</td>
|
| 270 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 271 |
+
<div class="text-sm text-gray-900">Yesterday, 07:15 PM</div>
|
| 272 |
+
</td>
|
| 273 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 274 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Caution</span>
|
| 275 |
+
</td>
|
| 276 |
+
</tr>
|
| 277 |
+
<tr>
|
| 278 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 279 |
+
<div class="flex items-center">
|
| 280 |
+
<div class="flex-shrink-0 h-10 w-10">
|
| 281 |
+
<img class="h-10 w-10 rounded-full" src="http://static.photos/food/200x200/3" alt="">
|
| 282 |
+
</div>
|
| 283 |
+
<div class="ml-4">
|
| 284 |
+
<div class="text-sm font-medium text-gray-900">Processed Cheese</div>
|
| 285 |
+
<div class="text-sm text-gray-500">Dairy</div>
|
| 286 |
+
</div>
|
| 287 |
+
</div>
|
| 288 |
+
</td>
|
| 289 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 290 |
+
<div class="text-sm text-gray-900">High</div>
|
| 291 |
+
</td>
|
| 292 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 293 |
+
<div class="text-sm text-gray-900">Yesterday, 12:30 PM</div>
|
| 294 |
+
</td>
|
| 295 |
+
<td class="px-4 py-4 whitespace-nowrap">
|
| 296 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Avoid</span>
|
| 297 |
+
</td>
|
| 298 |
+
</tr>
|
| 299 |
+
</tbody>
|
| 300 |
+
</table>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
|
| 304 |
+
<!-- Air Quality Card -->
|
| 305 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 306 |
+
<div class="flex justify-between items-center mb-4">
|
| 307 |
+
<h3 class="font-semibold text-gray-800">Current Air Quality</h3>
|
| 308 |
+
<div class="flex items-center">
|
| 309 |
+
<i data-feather="map-pin" class="w-4 h-4 text-gray-500 mr-1"></i>
|
| 310 |
+
<span class="text-sm text-gray-600">New York, NY</span>
|
| 311 |
+
</div>
|
| 312 |
+
</div>
|
| 313 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
| 314 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
| 315 |
+
<div class="flex items-center justify-between mb-2">
|
| 316 |
+
<span class="text-sm text-blue-600">PM2.5</span>
|
| 317 |
+
<span class="text-sm font-medium text-blue-600">12 µg/m³</span>
|
| 318 |
+
</div>
|
| 319 |
+
<div class="h-2 bg-blue-200 rounded-full">
|
| 320 |
+
<div class="h-2 bg-blue-500 rounded-full" style="width: 24%"></div>
|
| 321 |
+
</div>
|
| 322 |
+
<p class="text-xs text-blue-600 mt-1">Good</p>
|
| 323 |
+
</div>
|
| 324 |
+
<div class="bg-yellow-50 p-4 rounded-lg">
|
| 325 |
+
<div class="flex items-center justify-between mb-2">
|
| 326 |
+
<span class="text-sm text-yellow-600">Ozone</span>
|
| 327 |
+
<span class="text-sm font-medium text-yellow-600">68 ppb</span>
|
| 328 |
+
</div>
|
| 329 |
+
<div class="h-2 bg-yellow-200 rounded-full">
|
| 330 |
+
<div class="h-2 bg-yellow-500 rounded-full" style="width: 68%"></div>
|
| 331 |
+
</div>
|
| 332 |
+
<p class="text-xs text-yellow-600 mt-1">Moderate</p>
|
| 333 |
+
</div>
|
| 334 |
+
<div class="bg-red-50 p-4 rounded-lg">
|
| 335 |
+
<div class="flex items-center justify-between mb-2">
|
| 336 |
+
<span class="text-sm text-red-600">NO2</span>
|
| 337 |
+
<span class="text-sm font-medium text-red-600">42 ppb</span>
|
| 338 |
+
</div>
|
| 339 |
+
<div class="h-2 bg-red-200 rounded-full">
|
| 340 |
+
<div class="h-2 bg-red-500 rounded-full" style="width: 42%"></div>
|
| 341 |
+
</div>
|
| 342 |
+
<p class="text-xs text-red-600 mt-1">Unhealthy for Sensitive</p>
|
| 343 |
+
</div>
|
| 344 |
+
</div>
|
| 345 |
+
<div class="mt-6 chart-container">
|
| 346 |
+
<canvas id="airQualityChart"></canvas>
|
| 347 |
+
</div>
|
| 348 |
+
</div>
|
| 349 |
+
</main>
|
| 350 |
+
</div>
|
| 351 |
+
</div>
|
| 352 |
+
|
| 353 |
+
<script>
|
| 354 |
+
feather.replace();
|
| 355 |
+
|
| 356 |
+
// Initialize charts
|
| 357 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 358 |
+
// Main Chart
|
| 359 |
+
const mainCtx = document.getElementById('mainChart').getContext('2d');
|
| 360 |
+
const mainChart = new Chart(mainCtx, {
|
| 361 |
+
type: 'line',
|
| 362 |
+
data: {
|
| 363 |
+
labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
| 364 |
+
datasets: [{
|
| 365 |
+
label: 'Toxin Exposure',
|
| 366 |
+
data: [30, 25, 35, 28, 22, 40, 24],
|
| 367 |
+
borderColor: '#10B981',
|
| 368 |
+
backgroundColor: 'rgba(16, 185, 129, 0.1)',
|
| 369 |
+
borderWidth: 2,
|
| 370 |
+
tension: 0.3,
|
| 371 |
+
fill: true
|
| 372 |
+
}]
|
| 373 |
+
},
|
| 374 |
+
options: {
|
| 375 |
+
responsive: true,
|
| 376 |
+
maintainAspectRatio: false,
|
| 377 |
+
plugins: {
|
| 378 |
+
legend: {
|
| 379 |
+
display: false
|
| 380 |
+
}
|
| 381 |
+
},
|
| 382 |
+
scales: {
|
| 383 |
+
y: {
|
| 384 |
+
beginAtZero: true,
|
| 385 |
+
grid: {
|
| 386 |
+
display: true,
|
| 387 |
+
color: 'rgba(0, 0, 0, 0.05)'
|
| 388 |
+
}
|
| 389 |
+
},
|
| 390 |
+
x: {
|
| 391 |
+
grid: {
|
| 392 |
+
display: false
|
| 393 |
+
}
|
| 394 |
+
}
|
| 395 |
+
}
|
| 396 |
+
}
|
| 397 |
+
});
|
| 398 |
+
|
| 399 |
+
// Sources Chart
|
| 400 |
+
const sourcesCtx = document.getElementById('sourcesChart').getContext('2d');
|
| 401 |
+
const sourcesChart = new Chart(sourcesCtx, {
|
| 402 |
+
type: 'doughnut',
|
| 403 |
+
data: {
|
| 404 |
+
labels: ['Food', 'Air', 'Water', 'Household'],
|
| 405 |
+
datasets: [{
|
| 406 |
+
data: [45, 30, 15, 10],
|
| 407 |
+
backgroundColor: [
|
| 408 |
+
'#10B981',
|
| 409 |
+
'#3B82F6',
|
| 410 |
+
'#F59E0B',
|
| 411 |
+
'#EF4444'
|
| 412 |
+
],
|
| 413 |
+
borderWidth: 0
|
| 414 |
+
}]
|
| 415 |
+
},
|
| 416 |
+
options: {
|
| 417 |
+
responsive: true,
|
| 418 |
+
maintainAspectRatio: false,
|
| 419 |
+
cutout: '70%',
|
| 420 |
+
plugins: {
|
| 421 |
+
legend: {
|
| 422 |
+
position: 'bottom'
|
| 423 |
+
}
|
| 424 |
+
}
|
| 425 |
+
}
|
| 426 |
+
});
|
| 427 |
+
|
| 428 |
+
// Air Quality Chart
|
| 429 |
+
const airCtx = document.getElementById('airQualityChart').getContext('2d');
|
| 430 |
+
const airChart = new Chart(airCtx, {
|
| 431 |
+
type: 'bar',
|
| 432 |
+
data: {
|
| 433 |
+
labels: ['12AM', '3AM', '6AM', '9AM', '12PM', '3PM', '6PM', '9PM'],
|
| 434 |
+
datasets: [{
|
| 435 |
+
label: 'Air Quality Index',
|
| 436 |
+
data: [35, 30, 42, 55, 68, 72, 60, 45],
|
| 437 |
+
backgroundColor: [
|
| 438 |
+
'#10B981',
|
| 439 |
+
'#10B981',
|
| 440 |
+
'#F59E0B',
|
| 441 |
+
'#F59E0B',
|
| 442 |
+
'#EF4444',
|
| 443 |
+
'#EF4444',
|
| 444 |
+
'#F59E0B',
|
| 445 |
+
'#F59E0B'
|
| 446 |
+
],
|
| 447 |
+
borderRadius: 6
|
| 448 |
+
}]
|
| 449 |
+
},
|
| 450 |
+
options: {
|
| 451 |
+
responsive: true,
|
| 452 |
+
maintainAspectRatio: false,
|
| 453 |
+
plugins: {
|
| 454 |
+
legend: {
|
| 455 |
+
display: false
|
| 456 |
+
}
|
| 457 |
+
},
|
| 458 |
+
scales: {
|
| 459 |
+
y: {
|
| 460 |
+
beginAtZero: true,
|
| 461 |
+
grid: {
|
| 462 |
+
display: true,
|
| 463 |
+
color: 'rgba(0, 0, 0, 0.05)'
|
| 464 |
+
}
|
| 465 |
+
},
|
| 466 |
+
x: {
|
| 467 |
+
grid: {
|
| 468 |
+
display: false
|
| 469 |
+
}
|
| 470 |
+
}
|
| 471 |
+
}
|
| 472 |
+
}
|
| 473 |
+
});
|
| 474 |
+
|
| 475 |
+
// Mobile menu toggle
|
| 476 |
+
const mobileMenuButton = document.getElementById('mobile-menu-button');
|
| 477 |
+
const sidebar = document.querySelector('.sidebar');
|
| 478 |
+
|
| 479 |
+
mobileMenuButton.addEventListener('click', function() {
|
| 480 |
+
sidebar.classList.toggle('hidden');
|
| 481 |
+
});
|
| 482 |
+
|
| 483 |
+
// Tab functionality
|
| 484 |
+
const tabs = document.querySelectorAll('.border-b button');
|
| 485 |
+
tabs.forEach(tab => {
|
| 486 |
+
tab.addEventListener('click', function() {
|
| 487 |
+
tabs.forEach(t => t.classList.remove('active-tab'));
|
| 488 |
+
tabs.forEach(t => t.classList.add('text-gray-500', 'hover:text-gray-700'));
|
| 489 |
+
this.classList.add('active-tab');
|
| 490 |
+
this.classList.remove('text-gray-500', 'hover:text-gray-700');
|
| 491 |
+
});
|
| 492 |
+
});
|
| 493 |
+
});
|
| 494 |
+
</script>
|
| 495 |
+
</body>
|
| 496 |
+
</html>
|
index.html
CHANGED
|
@@ -1,19 +1,226 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ToxiTrack - Toxin Monitoring App</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 12 |
+
<style>
|
| 13 |
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
|
| 14 |
+
body {
|
| 15 |
+
font-family: 'Poppins', sans-serif;
|
| 16 |
+
}
|
| 17 |
+
.gradient-bg {
|
| 18 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #e4f0fb 100%);
|
| 19 |
+
}
|
| 20 |
+
.card-hover:hover {
|
| 21 |
+
transform: translateY(-5px);
|
| 22 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 23 |
+
}
|
| 24 |
+
.transition-all {
|
| 25 |
+
transition: all 0.3s ease;
|
| 26 |
+
}
|
| 27 |
+
</style>
|
| 28 |
+
</head>
|
| 29 |
+
<body class="gradient-bg min-h-screen">
|
| 30 |
+
<div id="app" class="container mx-auto px-4 py-8">
|
| 31 |
+
<!-- Navigation -->
|
| 32 |
+
<nav class="flex justify-between items-center mb-12">
|
| 33 |
+
<div class="flex items-center space-x-2">
|
| 34 |
+
<i data-feather="shield" class="text-emerald-500"></i>
|
| 35 |
+
<span class="text-xl font-bold text-gray-800">ToxiTrack</span>
|
| 36 |
+
</div>
|
| 37 |
+
<div class="flex space-x-4">
|
| 38 |
+
<a href="#features" class="text-gray-600 hover:text-emerald-500 transition-all">Features</a>
|
| 39 |
+
<a href="#how-it-works" class="text-gray-600 hover:text-emerald-500 transition-all">How It Works</a>
|
| 40 |
+
<a href="dashboard.html" class="text-gray-600 hover:text-emerald-500 transition-all">Dashboard</a>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="flex space-x-3">
|
| 43 |
+
<a href="#" class="bg-emerald-500 hover:bg-emerald-600 text-white px-4 py-2 rounded-full transition-all flex items-center">
|
| 44 |
+
<i data-feather="download" class="mr-2"></i> Download
|
| 45 |
+
</a>
|
| 46 |
+
</div>
|
| 47 |
+
</nav>
|
| 48 |
+
|
| 49 |
+
<!-- Hero Section -->
|
| 50 |
+
<section class="flex flex-col md:flex-row items-center mb-24">
|
| 51 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
| 52 |
+
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6">Protect Your Health with <span class="text-emerald-500">Real-Time Toxin Monitoring</span></h1>
|
| 53 |
+
<p class="text-lg text-gray-600 mb-8">ToxiTrack helps you monitor environmental toxins and food contaminants to make informed decisions about your health and safety.</p>
|
| 54 |
+
<div class="flex space-x-4">
|
| 55 |
+
<a href="#" class="bg-emerald-500 hover:bg-emerald-600 text-white px-6 py-3 rounded-full transition-all flex items-center">
|
| 56 |
+
<img src="https://upload.wikimedia.org/wikipedia/commons/3/3c/Download_on_the_App_Store_Badge.svg" class="h-10" alt="App Store">
|
| 57 |
+
</a>
|
| 58 |
+
<a href="#" class="bg-gray-800 hover:bg-black text-white px-6 py-3 rounded-full transition-all flex items-center">
|
| 59 |
+
<img src="https://upload.wikimedia.org/wikipedia/commons/7/78/Google_Play_Store_badge_EN.svg" class="h-10" alt="Play Store">
|
| 60 |
+
</a>
|
| 61 |
+
</div>
|
| 62 |
+
</div>
|
| 63 |
+
<div class="md:w-1/2 flex justify-center">
|
| 64 |
+
<div class="relative">
|
| 65 |
+
<div class="absolute -top-6 -left-6 w-full h-full bg-emerald-100 rounded-3xl -z-10"></div>
|
| 66 |
+
<img src="http://static.photos/technology/640x360/42" alt="ToxiTrack App Preview" class="rounded-2xl shadow-xl w-full max-w-md">
|
| 67 |
+
</div>
|
| 68 |
+
</div>
|
| 69 |
+
</section>
|
| 70 |
+
|
| 71 |
+
<!-- Features Section -->
|
| 72 |
+
<section id="features" class="mb-24">
|
| 73 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-16">Key Features</h2>
|
| 74 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 75 |
+
<!-- Feature 1 -->
|
| 76 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg card-hover transition-all">
|
| 77 |
+
<div class="bg-emerald-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
| 78 |
+
<i data-feather="camera" class="text-emerald-500 w-8 h-8"></i>
|
| 79 |
+
</div>
|
| 80 |
+
<h3 class="text-xl font-bold text-gray-800 mb-3">Food Scanner</h3>
|
| 81 |
+
<p class="text-gray-600">Simply take a picture of your food to get instant toxin analysis and safety recommendations.</p>
|
| 82 |
+
</div>
|
| 83 |
+
|
| 84 |
+
<!-- Feature 2 -->
|
| 85 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg card-hover transition-all">
|
| 86 |
+
<div class="bg-emerald-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
| 87 |
+
<i data-feather="map-pin" class="text-emerald-500 w-8 h-8"></i>
|
| 88 |
+
</div>
|
| 89 |
+
<h3 class="text-xl font-bold text-gray-800 mb-3">Air Quality Monitor</h3>
|
| 90 |
+
<p class="text-gray-600">Automatic air quality tracking based on your location with real-time pollution alerts.</p>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
<!-- Feature 3 -->
|
| 94 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg card-hover transition-all">
|
| 95 |
+
<div class="bg-emerald-100 w-16 h-16 rounded-full flex items-center justify-center mb-6">
|
| 96 |
+
<i data-feather="activity" class="text-emerald-500 w-8 h-8"></i>
|
| 97 |
+
</div>
|
| 98 |
+
<h3 class="text-xl font-bold text-gray-800 mb-3">Health Dashboard</h3>
|
| 99 |
+
<p class="text-gray-600">Comprehensive graphs and trends of your toxin exposure over time to identify patterns.</p>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
</section>
|
| 103 |
+
|
| 104 |
+
<!-- How It Works -->
|
| 105 |
+
<section id="how-it-works" class="mb-24">
|
| 106 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-16">How ToxiTrack Works</h2>
|
| 107 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-6">
|
| 108 |
+
<div class="flex flex-col items-center text-center">
|
| 109 |
+
<div class="bg-white w-20 h-20 rounded-full flex items-center justify-center mb-4 shadow-lg">
|
| 110 |
+
<span class="text-emerald-500 font-bold text-xl">1</span>
|
| 111 |
+
</div>
|
| 112 |
+
<h3 class="font-semibold text-gray-800 mb-2">Download the App</h3>
|
| 113 |
+
<p class="text-gray-600 text-sm">Available on both iOS and Android platforms</p>
|
| 114 |
+
</div>
|
| 115 |
+
<div class="flex flex-col items-center text-center">
|
| 116 |
+
<div class="bg-white w-20 h-20 rounded-full flex items-center justify-center mb-4 shadow-lg">
|
| 117 |
+
<span class="text-emerald-500 font-bold text-xl">2</span>
|
| 118 |
+
</div>
|
| 119 |
+
<h3 class="font-semibold text-gray-800 mb-2">Scan or Select</h3>
|
| 120 |
+
<p class="text-gray-600 text-sm">Take food pictures or allow location access</p>
|
| 121 |
+
</div>
|
| 122 |
+
<div class="flex flex-col items-center text-center">
|
| 123 |
+
<div class="bg-white w-20 h-20 rounded-full flex items-center justify-center mb-4 shadow-lg">
|
| 124 |
+
<span class="text-emerald-500 font-bold text-xl">3</span>
|
| 125 |
+
</div>
|
| 126 |
+
<h3 class="font-semibold text-gray-800 mb-2">Get Analysis</h3>
|
| 127 |
+
<p class="text-gray-600 text-sm">Instant toxin level evaluation</p>
|
| 128 |
+
</div>
|
| 129 |
+
<div class="flex flex-col items-center text-center">
|
| 130 |
+
<div class="bg-white w-20 h-20 rounded-full flex items-center justify-center mb-4 shadow-lg">
|
| 131 |
+
<span class="text-emerald-500 font-bold text-xl">4</span>
|
| 132 |
+
</div>
|
| 133 |
+
<h3 class="font-semibold text-gray-800 mb-2">Track Trends</h3>
|
| 134 |
+
<p class="text-gray-600 text-sm">Monitor your exposure over time</p>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</section>
|
| 138 |
+
|
| 139 |
+
<!-- Testimonials -->
|
| 140 |
+
<section class="mb-24">
|
| 141 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-16">What Our Users Say</h2>
|
| 142 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 143 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg">
|
| 144 |
+
<div class="flex items-center mb-4">
|
| 145 |
+
<div class="w-12 h-12 rounded-full bg-emerald-100 flex items-center justify-center mr-4">
|
| 146 |
+
<i data-feather="user" class="text-emerald-500"></i>
|
| 147 |
+
</div>
|
| 148 |
+
<div>
|
| 149 |
+
<h4 class="font-bold text-gray-800">Sarah J.</h4>
|
| 150 |
+
<p class="text-gray-500 text-sm">Food Allergy Sufferer</p>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
<p class="text-gray-600">"ToxiTrack has changed how I shop for groceries. I can quickly check for potential allergens and make safer choices for my family."</p>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="bg-white p-8 rounded-2xl shadow-lg">
|
| 156 |
+
<div class="flex items-center mb-4">
|
| 157 |
+
<div class="w-12 h-12 rounded-full bg-emerald-100 flex items-center justify-center mr-4">
|
| 158 |
+
<i data-feather="user" class="text-emerald-500"></i>
|
| 159 |
+
</div>
|
| 160 |
+
<div>
|
| 161 |
+
<h4 class="font-bold text-gray-800">Michael T.</h4>
|
| 162 |
+
<p class="text-gray-500 text-sm">Health Enthusiast</p>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
<p class="text-gray-600">"The air quality monitoring feature is incredibly accurate. I use it every morning to decide if I should exercise outdoors or indoors."</p>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
</section>
|
| 169 |
+
|
| 170 |
+
<!-- CTA Section -->
|
| 171 |
+
<section class="bg-emerald-500 rounded-3xl p-12 text-center text-white mb-12">
|
| 172 |
+
<h2 class="text-3xl font-bold mb-6">Ready to Take Control of Your Health?</h2>
|
| 173 |
+
<p class="text-lg mb-8 max-w-2xl mx-auto">Download ToxiTrack today and start making informed decisions about your environment and food choices.</p>
|
| 174 |
+
<div class="flex justify-center space-x-4">
|
| 175 |
+
<a href="#" class="bg-white hover:bg-gray-100 text-emerald-500 px-6 py-3 rounded-full transition-all flex items-center">
|
| 176 |
+
<img src="https://upload.wikimedia.org/wikipedia/commons/3/3c/Download_on_the_App_Store_Badge.svg" class="h-10" alt="App Store">
|
| 177 |
+
</a>
|
| 178 |
+
<a href="#" class="bg-gray-800 hover:bg-black text-white px-6 py-3 rounded-full transition-all flex items-center">
|
| 179 |
+
<img src="https://upload.wikimedia.org/wikipedia/commons/7/78/Google_Play_Store_badge_EN.svg" class="h-10" alt="Play Store">
|
| 180 |
+
</a>
|
| 181 |
+
</div>
|
| 182 |
+
</section>
|
| 183 |
+
|
| 184 |
+
<!-- Footer -->
|
| 185 |
+
<footer class="pt-12 pb-6 border-t border-gray-200">
|
| 186 |
+
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 187 |
+
<div class="flex items-center space-x-2 mb-4 md:mb-0">
|
| 188 |
+
<i data-feather="shield" class="text-emerald-500"></i>
|
| 189 |
+
<span class="text-xl font-bold text-gray-800">ToxiTrack</span>
|
| 190 |
+
</div>
|
| 191 |
+
<div class="flex space-x-6 mb-4 md:mb-0">
|
| 192 |
+
<a href="#" class="text-gray-600 hover:text-emerald-500 transition-all">Privacy Policy</a>
|
| 193 |
+
<a href="#" class="text-gray-600 hover:text-emerald-500 transition-all">Terms of Service</a>
|
| 194 |
+
<a href="#" class="text-gray-600 hover:text-emerald-500 transition-all">Contact Us</a>
|
| 195 |
+
</div>
|
| 196 |
+
<div class="flex space-x-4">
|
| 197 |
+
<a href="#" class="text-gray-600 hover:text-emerald-500 transition-all">
|
| 198 |
+
<i data-feather="facebook"></i>
|
| 199 |
+
</a>
|
| 200 |
+
<a href="#" class="text-gray-600 hover:text-emerald-500 transition-all">
|
| 201 |
+
<i data-feather="twitter"></i>
|
| 202 |
+
</a>
|
| 203 |
+
<a href="#" class="text-gray-600 hover:text-emerald-500 transition-all">
|
| 204 |
+
<i data-feather="instagram"></i>
|
| 205 |
+
</a>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
<div class="text-center text-gray-500 text-sm mt-6">
|
| 209 |
+
© 2023 ToxiTrack. All rights reserved.
|
| 210 |
+
</div>
|
| 211 |
+
</footer>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<script>
|
| 215 |
+
feather.replace();
|
| 216 |
+
|
| 217 |
+
// Simple animation for features
|
| 218 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 219 |
+
const features = document.querySelectorAll('.card-hover');
|
| 220 |
+
features.forEach((feature, index) => {
|
| 221 |
+
feature.style.transitionDelay = `${index * 0.1}s`;
|
| 222 |
+
});
|
| 223 |
+
});
|
| 224 |
+
</script>
|
| 225 |
+
</body>
|
| 226 |
</html>
|