-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathherra.html
More file actions
88 lines (74 loc) · 2.03 KB
/
Copy pathherra.html
File metadata and controls
88 lines (74 loc) · 2.03 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Herra - AI Eco Shopping</title>
<link rel="stylesheet" href="herra.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
</head>
<body>
<!-- NAVBAR -->
<header class="navbar glass">
<div class="logo">
<img src="logo.png" alt="Herra">
<span>Herra</span>
</div>
<nav>
<a href="#home">Home</a>
<a href="#scanner">Scan</a>
<a href="#women">Women</a>
<a href="#">Profile</a>
</nav>
</header>
<!-- HERO -->
<section class="hero" id="home">
<h1>AI-Powered Sustainable Shopping</h1>
<p>Scan products. Discover alternatives. Support women.</p>
<button onclick="scrollToScanner()">Start Scanning</button>
</section>
<!-- AI SCANNER SECTION -->
<section class="scanner-section" id="scanner">
<h2>AI Scanner</h2>
<div class="scanner-box glass">
<input type="file" accept="image/*">
<button onclick="analyze()">Analyze Product</button>
</div>
<div class="results glass" id="results" style="display:none;">
<!-- Sustainability Score Circle -->
<div class="score-circle">
<div class="circle">
<span id="scoreValue">92</span>
</div>
<p>Sustainability Score</p>
</div>
<!-- Material Impact -->
<div class="materials">
<h3>Materials & Impact</h3>
<ul>
<li>♻️ 80% Biodegradable</li>
<li>🌿 Plastic-free handle</li>
<li>🔁 Recyclable packaging</li>
</ul>
</div>
</div>
</section>
<!-- WOMEN SECTION -->
<section class="women" id="women">
<h2>Women-Led Sustainable Brands</h2>
<p>Empowering eco entrepreneurs globally.</p>
</section>
<!-- STICKY BOTTOM NAV -->
<div class="bottom-nav glass">
<a href="#home">Home</a>
<a href="#scanner">Scan</a>
<a href="#women">Women</a>
</div>
<script>
function analyze() {
document.getElementById("results").style.display = "flex";
}
function scrollToScanner() {
document.getElementById("scanner").scrollIntoView({behavior:"smooth"});
}
</script>
</body>
</html>