Skip to content

Commit

Permalink
panke gallery directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnathanson committed Sep 5, 2024
1 parent 530a2e9 commit bab03cf
Show file tree
Hide file tree
Showing 928 changed files with 4,141 additions and 27,259 deletions.
2 changes: 1 addition & 1 deletion frontend/exhibition.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
div {
background-color: rgba(0, 0, 0);
background-image: url("images/clock-exhibit1.png");
background-image: url("images/clock.png");
background-position: center;
background-size: contain;
background-repeat: no-repeat;
Expand Down
75 changes: 75 additions & 0 deletions frontend/exhibitionV2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
=
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Solar Protocol</title>
<meta
name="author"
content=" Tega Brain, Alex Nathanson and Benedetta Piantella."
/>
<link rel="icon" href="favicon.png" />
<style>
html,
body {
margin: 0;
height: 100%;
}
.container {
display: flex;
width: 100%;
height: 100%;
}
.image-container {
flex: 1;
background-color: rgba(0, 0, 0);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
width: 100%;
height: 100%;
}

img {
display: block;
width: 100vh;
height: 100vh;
object-fit: cover;
}
div {
background-color: rgba(0, 0, 0);
background-image: url("images/clock.png");
background-position: center;
background-size: contain;
background-repeat: no-repeat;
width: 100%;
height: 100%;
}
</style>
<script>
let i = 0;
let s = 300;
setInterval(reload, 1000 * s);
function reload() {
const img = new Image();
const url = "images/clock-exhibit1.png?i=" + i;
img.addEventListener("load", () => {
setImage(url);
});
img.src = url;
i++;
}

function setImage(url) {
document.getElementById("graph").style.backgroundImage = `url(${url})`;
}
</script>
</head>
<body>
<div class="container">
<div id="graph" class="image-container"></div>
<img class="image-container" src="images/world-map2.png" />
</div>
</body>
</html>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit bab03cf

Please sign in to comment.