File size: 4,159 Bytes
2fe2aa1 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="Food Scanner App for Allergy & Diet Management - Scan food labels to check for allergens and dietary compliance." />
<title>AllerScan - Food Allergy & Diet Scanner</title>
<link rel="stylesheet" href="assets/css/styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<!-- Header with branding and navigation -->
<header class="app-header">
<div class="container">
<h1 class="app-title">AllerScan</h1>
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="built-by">Built with anycoder</a>
</div>
</header>
<!-- Main App Content -->
<main class="app-main">
<div class="container">
<!-- Scanner Placeholder -->
<section class="scanner-section">
<div class="scanner-placeholder">
<div class="scanner-frame"></div>
<p class="scanner-instruction">Point your camera at a food label</p>
<button class="btn btn-primary btn-scan">Use Camera</button>
</div>
</section>
<!-- Allergy & Diet Profile -->
<section class="profile-section">
<h2 class="section-title">Your Safety Profile</h2>
<div class="profile-tags">
<span class="tag tag-allergy">Peanuts</span>
<span class="tag tag-allergy">Shellfish</span>
<span class="tag tag-diet">Vegan</span>
<span class="tag tag-diet">Gluten-Free</span>
</div>
<button class="btn btn-secondary btn-edit-profile">Edit Profile</button>
</section>
<!-- Recent Scans -->
<section class="recent-scans">
<h2 class="section-title">Recent Scans</h2>
<div class="scan-history">
<div class="scan-item safe">
<div class="scan-icon safe"></div>
<div class="scan-info">
<h3>Organic Almond Milk</h3>
<p class="scan-status">✅ Safe for your profile</p>
</div>
</div>
<div class="scan-item warning">
<div class="scan-icon warning"></div>
<div class="scan-info">
<h3>Chocolate Chip Cookies</h3>
<p class="scan-status">⚠️ Contains: Peanuts</p>
</div>
</div>
<div class="scan-item unsafe">
<div class="scan-icon unsafe"></div>
<div class="scan-info">
<h3>Caesar Salad Dressing</h3>
<p class="scan-status">❌ Contains: Dairy, Egg</p>
</div>
</div>
</div>
</section>
<!-- Quick Actions -->
<section class="quick-actions">
<h2 class="section-title">Quick Actions</h2>
<div class="action-buttons">
<button class="btn btn-outline">Scan Barcode</button>
<button class="btn btn-outline">Manual Entry</button>
<button class="btn btn-outline">Emergency Info</button>
</div>
</section>
</div>
</main>
<!-- Footer -->
<footer class="app-footer">
<div class="container">
<p>© 2023 AllerScan. For informational purposes only. Always verify with product labels.</p>
</div>
</footer>
<script src="assets/js/app.js"></script>
</body>
</html> |