Replace file-based blog with API-backed service

BlogService now fetches from Media.JoshHeaps.Net API via HttpClient
with in-memory caching (5-min TTL) and stale cache fallback.
Removed Markdig/YamlDotNet dependencies. All page models now async.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Josh-Heaps
2026-03-06 15:33:51 -07:00
co-authored by Claude Opus 4.6
parent 5fd3a5d7c1
commit 8043eee4cc
21 changed files with 949 additions and 235 deletions
+9 -2
View File
@@ -45,9 +45,9 @@ function simulateTyping(element, text, speed = 50) {
function showClickedContents(option) {
if (option === 'projects') {
document.querySelector("#ChessProject > div.diagonal-section-left").scrollIntoView({
document.querySelector("#ProjectsBox").scrollIntoView({
behavior: "smooth",
block: "center",
block: "start",
inline: "nearest"
});
}
@@ -68,4 +68,11 @@ function showClickedContents(option) {
inline: "nearest"
});
}
else if (option === 'blog') {
document.querySelector("#BlogBox").scrollIntoView({
behavior: "smooth",
block: "start",
inline: "nearest"
});
}
}