fix: terminal promtp
This commit is contained in:
parent
cefde24774
commit
4076af3592
6 changed files with 212 additions and 246 deletions
|
|
@ -1,14 +1,10 @@
|
|||
<footer>
|
||||
<span>ʕ •ᴥ•ʔ</span>
|
||||
<div class="footer-links">
|
||||
<a id="gist-link" target="_blank">gist</a>
|
||||
<a id="git-link" target="_blank">git</a>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://www.linkedin.com/in/barrett-ruth/"
|
||||
>linkedin</a
|
||||
>
|
||||
<a target="_blank" href="mailto:br.barrettruth@gmail.com">email</a>
|
||||
<a href="/gist" data-topic="gist">gist</a>
|
||||
<a href="/git" data-topic="git">git</a>
|
||||
<a href="https://www.linkedin.com/in/barrett-ruth/" data-topic="linkedin" target="_blank">linkedin</a>
|
||||
<a href="mailto:br.barrettruth@gmail.com" data-topic="mail">email</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
|
@ -20,23 +16,12 @@
|
|||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
margin-left: 25px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
const host = window.location.hostname;
|
||||
const gitLink = document.getElementById("git-link");
|
||||
const gistLink = document.getElementById("gist-link");
|
||||
<script type="module" src="/scripts/index.js"></script>
|
||||
|
||||
if (host.includes("localhost") || host.includes("127.0.0.1")) {
|
||||
gistLink.href = "http://localhost:4321/gist.html";
|
||||
gitLink.href = "http://localhost:4321/git.html";
|
||||
} else {
|
||||
gistLink.href = "https://barrettruth.com/gist.html";
|
||||
gitLink.href = "https://barrettruth.com/git.html";
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue