nonamelife commited on
Commit
c928a2b
·
verified ·
1 Parent(s): 1e003fd

Update templates/home.html

Browse files
Files changed (1) hide show
  1. templates/home.html +56 -51
templates/home.html CHANGED
@@ -1,51 +1,56 @@
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>Garbage Detection</title>
7
- <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
8
- <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Roboto+Mono:wght@400;500&display=swap" rel="stylesheet">
9
- </head>
10
- <body>
11
- <nav class="navbar">
12
- <div class="nav-brand">Garbage Detection</div>
13
- <ul class="nav-links">
14
- <li><a href="/" class="active">Home</a></li>
15
- <li><a href="/tool">Tool</a></li>
16
- <li><a href="/about">About</a></li>
17
- <li><a href="/contact">Contact</a></li>
18
- </ul>
19
- </nav>
20
-
21
- <div class="hero">
22
- <h1>GARBAGE DETECTION</h1>
23
- <p class="hero-subtitle">AI for a Cleaner Tomorrow</p>
24
- <a href="/tool" class="cta-btn">Try the Tool</a>
25
- </div>
26
-
27
- <section class="about-section">
28
- <h2>About the Tool</h2>
29
- <p>Our Garbage Detection tool uses advanced AI technology to classify and analyze the cleanliness of images. Whether it's urban or rural areas, we aim to contribute to a cleaner environment with the help of machine learning.</p>
30
- <a href="/tool" class="cta-btn">Start Using the Tool</a>
31
- </section>
32
-
33
- <footer class="footer">
34
- <p>© 2025 Garbage Detection</p>
35
- </footer>
36
-
37
- <script>
38
- // Optional: Add subtle animation to hero text
39
- document.addEventListener('DOMContentLoaded', () => {
40
- const heroTitle = document.querySelector('.hero h1');
41
- heroTitle.style.opacity = 0;
42
- heroTitle.style.transform = 'translateY(20px)';
43
- setTimeout(() => {
44
- heroTitle.style.transition = 'opacity 1s ease, transform 1s ease';
45
- heroTitle.style.opacity = 1;
46
- heroTitle.style.transform = 'translateY(0)';
47
- }, 100);
48
- });
49
- </script>
50
- </body>
51
- </html>
 
 
 
 
 
 
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>Garbage Detection</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
8
+ <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Roboto+Mono:wght@400;500&display=swap" rel="stylesheet">
9
+ </head>
10
+ <body>
11
+ <nav class="navbar">
12
+ <div class="nav-brand">Garbage Detection</div>
13
+ <ul class="nav-links">
14
+ <li><a href="/" class="active">Home</a></li>
15
+ <li><a href="/tool">Tool</a></li>
16
+ <li><a href="/about">About</a></li>
17
+ <li><a href="/contact">Contact</a></li>
18
+ </ul>
19
+ </nav>
20
+
21
+ <div class="hero">
22
+ <h1>GARBAGE DETECTION</h1>
23
+ <p class="hero-subtitle">AI for a Cleaner Tomorrow</p>
24
+ <a href="/tool" class="cta-btn">Try the Tool</a>
25
+ </div>
26
+ <br>
27
+ <br>
28
+ <br>
29
+ <section class="about-section">
30
+ <h2>About the Tool</h2>
31
+ <p>Our Garbage Detection tool uses advanced AI technology to classify and analyze the cleanliness of images. Whether it's urban or rural areas, we aim to contribute to a cleaner environment with the help of machine learning.</p>
32
+ <a href="/tool" class="cta-btn">Start Using the Tool</a>
33
+ </section>
34
+ <br>
35
+ <br>
36
+ <br>
37
+
38
+ <footer class="footer">
39
+ <p>© 2025 Garbage Detection</p>
40
+ </footer>
41
+
42
+ <script>
43
+ // Optional: Add subtle animation to hero text
44
+ document.addEventListener('DOMContentLoaded', () => {
45
+ const heroTitle = document.querySelector('.hero h1');
46
+ heroTitle.style.opacity = 0;
47
+ heroTitle.style.transform = 'translateY(20px)';
48
+ setTimeout(() => {
49
+ heroTitle.style.transition = 'opacity 1s ease, transform 1s ease';
50
+ heroTitle.style.opacity = 1;
51
+ heroTitle.style.transform = 'translateY(0)';
52
+ }, 100);
53
+ });
54
+ </script>
55
+ </body>
56
+ </html>