Skip to content

Commit

Permalink
html changes
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Feb 9, 2024
1 parent e5efe08 commit adea917
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
font-family: 'Roboto', sans-serif;
}

body {
background-color: #181a1b;
color: white;
}

.main {
width: fit-content;
margin: auto;
Expand All @@ -34,7 +39,7 @@
const response = await fetch("https://api.github.com/repos/suchmememanyskill/CYD-Klipper/releases/latest");
const data = await response.json();
document.getElementById("changelog-body").innerText = data.body;
document.getElementById("changelog-header").innerHTML += " " + encodeURI(data.tag_name);
document.getElementById("changelog-header-version").innerText += data.tag_name;
}

fetchChangelog();
Expand All @@ -47,7 +52,7 @@ <h2>CYD-Klipper <span class="iconify" data-icon="mdi-printer-3d" style="color: o
<p>An implementation of a Klipper status display on an ESP32 + screen.<br>Uses Moonraker to fetch data.<br><a href="https://github.com/suchmememanyskill/CYD-Klipper">Source code is available on GitHub</a>.</p>

<section class="changelog">
<h3 id="changelog-header"><span class="iconify" data-icon="mdi-hammer-wrench" style="color: grey;"></span> Changelog</h3>
<h3 id="changelog-header"><span class="iconify" data-icon="mdi-hammer-wrench" style="color: lightgray;"></span> Changelog <span id="changelog-header-version"></span></h3>
<p id="changelog-body"></p>
</section>

Expand Down

0 comments on commit adea917

Please sign in to comment.