Fix PDF link
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2024-10-17 21:40:07 -06:00
parent 84c33af9ca
commit ba696f9faf
Signed by: fnmain
GPG key ID: B67D7410F33A0F61

View file

@ -102,9 +102,11 @@
<body>
<!-- BANNER -->
<div id="banner" style="background-color: #f6c318; color: #552a85; text-align: center; padding: 10px; position: relative;">
<span id="banner-message"><u>FIRST EDITION IS OUT NOW!</u></span>
<button id="close-banner" style="background: none; border: none; color: #552a85; font-weight: bold; cursor: pointer; position: absolute; right: 10px;"></button>
<div id="banner"
style="background-color: #f6c318; color: #552a85; text-align: center; padding: 10px; position: relative;">
<a id="banner-message" href="/ComputeEdition1.pdf"><u>FIRST EDITION IS OUT NOW!</u></a>
<button id="close-banner"
style="background: none; border: none; color: #552a85; font-weight: bold; cursor: pointer; position: absolute; right: 10px;">✖</button>
</div>
<div class=w-nav data-animation=default data-collapse=medium data-duration=400 data-easing=ease data-easing2=ease
@ -174,11 +176,7 @@
<script src=./meili.js type=module></script>
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script>
<script>
document.getElementById("banner-message").onclick = function() {
window.open("ComputeEdition1.pdf");
};
document.getElementById("close-banner").onclick = function() {
document.getElementById("close-banner").onclick = function () {
document.getElementById("banner").style.display = "none";
};
</script>