Initial commit
This commit is contained in:
+59
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Andy Eisenberg - Temple University</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="icon" href="headshot_circle_crop.png">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<input type="checkbox" id="dark-mode-toggle" hidden>
|
||||
<label for="dark-mode-toggle" id="theme-switch" aria-label="Toggle dark mode">
|
||||
<svg class="sun-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="12" cy="12" r="5" fill="currentColor" />
|
||||
<path
|
||||
d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"
|
||||
stroke="currentColor" stroke-width="2" stroke-linecap="round" />
|
||||
</svg>
|
||||
<svg class="moon-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" fill="currentColor" />
|
||||
</svg>
|
||||
</label>
|
||||
|
||||
<nav id="main-nav">
|
||||
<ul>
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#teaching">Teaching</a></li>
|
||||
<li><a href="#research">Research</a></li>
|
||||
<li><a href="#cv">CV</a></li>
|
||||
<!-- <li><a href="#projects">Projects</a></li> -->
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main id="page-content"></main>
|
||||
<footer>
|
||||
<p>© 2026 Andy Eisenberg.</p>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var toggle = document.getElementById("dark-mode-toggle");
|
||||
var saved = localStorage.getItem("dark-mode");
|
||||
if (saved === "true") {
|
||||
document.body.classList.add("dark-mode");
|
||||
toggle.checked = true;
|
||||
}
|
||||
toggle.addEventListener("change", function () {
|
||||
document.body.classList.toggle("dark-mode", this.checked);
|
||||
localStorage.setItem("dark-mode", this.checked);
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
<script src="scripts/assemble.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user