-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathstunningvisuals.html
More file actions
41 lines (38 loc) · 1.43 KB
/
stunningvisuals.html
File metadata and controls
41 lines (38 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Stunning Visuals - Dataverse</title>
<link rel="stylesheet" href="style.css"/>
<link rel="stylesheet" href="darkmode.css" />
</head>
<body>
<button onclick="toggleDarkMode()" style="position: fixed; top: 10px; right: 10px; z-index: 999;">Toggle Dark Mode</button>
<header>
<h1 style="text-align: center;">Stunning Visuals</h1>
</header>
<main style="padding: 20px; text-align: center;">
<p>Here are some beautiful examples of what Dataverse can create!</p>
<div style="display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding-top: 20px;">
<img src= "visual 1.png" width="500" height = "500" alt="image 1" />
<img src= "Visual 2.png" width="500" height = "500" alt="image 2" />
<img src="visual 3.png" width="500" height = "500" alt="image 3" />
</div>
</main>
<footer style="text-align: center; margin-top: 30px;">
<a href="index.html">← Back to Home</a>
</footer>
<script>
function toggleDarkMode() {
document.body.classList.toggle("dark-mode");
localStorage.setItem("darkMode", document.body.classList.contains("dark-mode"));
}
window.onload = () => {
if (localStorage.getItem("darkMode") === "true") {
document.body.classList.add("dark-mode");
}
};
</script>
</body>
</html>