Initial commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Project Name - Andy Eisenberg</title>
|
||||
<link rel="stylesheet" href="../style.css">
|
||||
</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="../index.html">Andy Eisenberg</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<h2>Add Project Title Here</h2>
|
||||
<p>Add your project description here. You can include details about what the project does, why it matters, and any links (arXiv, download, GitHub, etc.).</p>
|
||||
|
||||
<h3>Details</h3>
|
||||
<p>Add subsections as needed. This template supports all the same heading and paragraph styles as the main site.</p>
|
||||
|
||||
<h3>Links</h3>
|
||||
<ul class="link-list">
|
||||
<li><a href="https://arxiv.org/abs/XXXX.XXXXX">arXiv link</a></li>
|
||||
<li><a href="package.zip">Download</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user