-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from theneolanders/main
Updating nav menu branch to current state of main
- Loading branch information
Showing
13 changed files
with
97 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-US"> | ||
<head> | ||
<!-- Main --> | ||
<title>404 Not Found</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<!-- Style --> | ||
<style> | ||
.center{ | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
text-align: center; | ||
width: 100vw; | ||
position: relative; | ||
pointer-events: none; | ||
user-select: none; | ||
} | ||
|
||
@media screen and (min-width: 972px) { | ||
.center{ | ||
width: 70%; | ||
} | ||
} | ||
</style> | ||
|
||
|
||
</head> | ||
<body> | ||
<main> | ||
<div class="center"> | ||
<img id="imgDisplay" src="https://www.theneolanders.com/assets/404/Neolanders_404.webp" class="center"> | ||
</div> | ||
</main> | ||
|
||
<script> | ||
const image = document.getElementById("imgDisplay"); | ||
const sources = ["https://www.theneolanders.com/assets/404/Neolanders_404.webp", "https://www.theneolanders.com/assets/404/Neolanders_404-2.webp"]; | ||
image.src = sources[getRndInteger(0,sources.length)]; | ||
|
||
function getRndInteger(min, max) { | ||
return Math.floor(Math.random() * (max - min) ) + min; | ||
} | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
permalink: /404.html | ||
--- |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h1>Soon...</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters