Spaces:
Runtime error
Runtime error
Update templates/index.html
Browse files- templates/index.html +61 -39
templates/index.html
CHANGED
|
@@ -1,60 +1,82 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<
|
|
|
|
|
|
|
| 6 |
<style>
|
| 7 |
-
|
|
|
|
| 8 |
margin: 0;
|
| 9 |
-
|
| 10 |
-
background-color: #f4f4f4;
|
| 11 |
}
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
}
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
border: 2px solid #444;
|
| 30 |
-
border-radius: 12px;
|
| 31 |
-
font-size: 14px;
|
| 32 |
-
cursor: pointer;
|
| 33 |
-
transition: 0.2s;
|
| 34 |
}
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
}
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
</style>
|
| 50 |
</head>
|
| 51 |
<body>
|
| 52 |
-
|
| 53 |
-
<
|
| 54 |
-
|
| 55 |
-
<
|
| 56 |
-
<
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
</body>
|
| 59 |
</html>
|
| 60 |
-
|
|
|
|
| 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>Crete Beach Clean Project</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
|
| 8 |
<style>
|
| 9 |
+
* {
|
| 10 |
+
box-sizing: border-box;
|
| 11 |
margin: 0;
|
| 12 |
+
padding: 0;
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
+
body {
|
| 16 |
+
font-family: 'Inter', sans-serif;
|
| 17 |
+
background: linear-gradient(to right, #4CB8C4, #3CD3AD);
|
| 18 |
+
color: #fff;
|
| 19 |
+
display: flex;
|
| 20 |
+
flex-direction: column;
|
| 21 |
+
align-items: center;
|
| 22 |
+
justify-content: center;
|
| 23 |
+
height: 100vh;
|
| 24 |
+
text-align: center;
|
| 25 |
+
padding: 2rem;
|
| 26 |
}
|
| 27 |
|
| 28 |
+
h1 {
|
| 29 |
+
font-size: 3rem;
|
| 30 |
+
margin-bottom: 1rem;
|
| 31 |
+
font-weight: 800;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
+
p {
|
| 35 |
+
font-size: 1.25rem;
|
| 36 |
+
max-width: 600px;
|
| 37 |
+
margin-bottom: 2.5rem;
|
| 38 |
+
line-height: 1.6;
|
| 39 |
}
|
| 40 |
|
| 41 |
+
.links {
|
| 42 |
+
display: flex;
|
| 43 |
+
gap: 2rem;
|
| 44 |
}
|
| 45 |
|
| 46 |
+
a {
|
| 47 |
+
background: rgba(255, 255, 255, 0.1);
|
| 48 |
+
padding: 1rem 2rem;
|
| 49 |
+
border-radius: 1rem;
|
| 50 |
+
color: #fff;
|
| 51 |
+
text-decoration: none;
|
| 52 |
+
font-weight: 600;
|
| 53 |
+
transition: background 0.3s, transform 0.2s;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
a:hover {
|
| 57 |
+
background: rgba(255, 255, 255, 0.2);
|
| 58 |
+
transform: translateY(-3px);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
footer {
|
| 62 |
+
position: absolute;
|
| 63 |
+
bottom: 1rem;
|
| 64 |
+
font-size: 0.9rem;
|
| 65 |
+
color: rgba(255, 255, 255, 0.7);
|
| 66 |
}
|
| 67 |
</style>
|
| 68 |
</head>
|
| 69 |
<body>
|
| 70 |
+
<h1>Protecting Crete's Beaches</h1>
|
| 71 |
+
<p>
|
| 72 |
+
We've built a tool to help predict and visualize trash accumulation along Crete's beautiful coastlines. Use our heatmap or predictive model to view historical trash collection data or predict the amount of trash on a beach (to decide upon number of bags / personnel to take on a cleanup).
|
| 73 |
+
</p>
|
| 74 |
+
<div class="links">
|
| 75 |
+
<a href="/heatmap">🌍 View Heatmap</a>
|
| 76 |
+
<a href="/predicter">🔮 Predict Trash Levels</a>
|
| 77 |
+
</div>
|
| 78 |
+
<footer>
|
| 79 |
+
Created for the Laskaridis Foundation
|
| 80 |
+
</footer>
|
| 81 |
</body>
|
| 82 |
</html>
|
|
|