remove so much stuff

This commit is contained in:
Barrett Ruth 2026-01-12 11:11:15 -05:00
parent 7f1c155a7b
commit dac0749890
54 changed files with 183 additions and 5010 deletions

View file

@ -1,55 +0,0 @@
<footer>
<div class="footer-links-left">
<a href="/resume.pdf" data-topic="resume" target="_blank">resume</a>
<a href="/transcript.pdf" data-topic="transcript" target="_blank"
>transcript</a
>
<a href="/about.html" data-topic="about">about</a>
</div>
<div class="footer-links-right">
<a href="/git.html" data-topic="git">git</a>
<a
href="https://www.linkedin.com/in/barrettruth/"
data-topic="linkedin"
target="_blank">linkedin</a
>
<a href="mailto:br@barrettruth.com" data-topic="mail">email</a>
</div>
</footer>
<style>
.footer-links-left,
.footer-links-right {
display: flex;
gap: 25px;
}
.footer-links-left a,
.footer-links-right a {
text-decoration: none;
cursor: pointer;
}
@media (max-width: 1024px) {
footer {
flex-direction: row;
gap: 15px;
}
.footer-links-left,
.footer-links-right {
gap: 15px;
}
}
@media (max-width: 640px) {
footer {
flex-direction: row;
flex-wrap: wrap;
}
.footer-links-left,
.footer-links-right {
flex-direction: row;
gap: 15px;
}
}
</style>
<script src="/scripts/index.js" is:inline></script>

View file

@ -1,63 +0,0 @@
---
const path = Astro.url.pathname;
const is404 = path === "/404.html" || path === "/404";
function deriveTopic() {
if (is404) return "/not-found";
if (path.startsWith("/about")) return "/about";
if (path === "/gist" || path.startsWith("/gist/")) return "/gist";
if (path === "/git" || path.startsWith("/git/")) return "/git";
return "";
}
const topic = deriveTopic();
const promptText = topic ? `barrett@ruth:~$ ${topic}` : "barrett@ruth:~$";
---
<header>
<a
href="/"
id="home-link"
class="home-link"
style="text-decoration: none; color: inherit"
>
<div class="terminal-container">
<span class="terminal-prompt">{promptText}</span>
<span class="terminal-cursor"></span>
</div>
</a>
</header>
<style>
@media (max-width: 640px) {
header {
flex-direction: row;
justify-content: space-between;
gap: 10px;
}
.terminal-container {
flex: 1 1 auto;
min-width: 0;
}
.terminal-prompt {
font-size: 0.9em;
}
#theme-toggle {
flex: 0 0 auto;
font-size: 1.2em;
}
}
</style>
<script is:inline>
const homeLink = document.getElementById("home-link");
homeLink.addEventListener("click", (e) => {
if (e.ctrlKey || e.metaKey) {
e.preventDefault();
window.open("/", "_blank", "noopener");
}
});
</script>
<script src="/scripts/index.js" is:inline></script>