Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Visual 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions darkmode.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

body.dark-mode {
background-color: #121212;
color: #e0e0e0;
}

.dark-mode a {
color: #90caf9;
}

.dark-mode header, .dark-mode footer {
background-color: #1f1f1f;
color: #fff;
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<td><a href="./website/pages/license.html" class="table_link">License</a></td>
</tr>
<tr>
<td><a href="404.html" class="table_link">Stunning Visuals</a></td>
<td><a href="stunningvisuals.html" class="table_link">Stunning Visuals</a></td>
</tr>
<tr>
<td><a href="https://github.com/multiverseweb/Dataverse" class="table_link">Github Repository</a></td>
Expand Down
41 changes: 41 additions & 0 deletions stunningvisuals.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,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>
Binary file added visual 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added visual 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.