minor fixes

This commit is contained in:
2026-10-13 14:42:04 -05:00
parent 15c1f41204
commit 259dc5575e
3 changed files with 29 additions and 21 deletions

View File

@@ -532,6 +532,19 @@ button:disabled {
color: #565131 color: #565131
} }
/* Chess ratings fallback — shown when API is unavailable */
.chess-unavailable .chess-value {
color: var(--ink-3);
font-style: italic;
}
.chess-fallback {
margin: 0.5rem 0 0;
font-size: 0.9rem;
color: var(--ink-3);
font-style: italic;
}
.selected-list { .selected-list {
list-style: none; list-style: none;
padding: 0; padding: 0;

View File

@@ -74,12 +74,6 @@
] ]
] ]
}, },
"Automotive Brand Valuation Analysis": {
"status": "complete",
"classes": "statistics",
"bgi": "automotiveBrandAnalysis.png",
"content": "Brand valuation analysis of the used car market, measuring value decay by mileage to infer qualities such as perceived reliability and how well luxury features hold their value."
},
"RIT Hotspots": { "RIT Hotspots": {
"status": "incomplete", "status": "incomplete",
"classes": "geospatial programming", "classes": "geospatial programming",
@@ -93,19 +87,6 @@
] ]
] ]
}, },
"OccupyRIT": {
"status": "complete",
"classes": "programming",
"bgi": "occupyRIT.png",
"content": "Collects RIT gym occupancy data over time to find the busiest and quietest workout hours.",
"links": [
[
"github",
"https://github.com/asimonson1125/Occupy-RIT",
"git repo"
]
]
},
"Monte Carlo Engine for NationsGame": { "Monte Carlo Engine for NationsGame": {
"status": "complete", "status": "complete",
"classes": "programming statistics", "classes": "programming statistics",

View File

@@ -117,7 +117,10 @@
If you're looking for shared resources you've taken a wrong turn. If you're looking for shared resources you've taken a wrong turn.
</p> </p>
<p> <p>
From here, we'll rekindle the future. This site is a living experiment: self-hosted, framework-free, and
built to last. If you'd like to talk about data science,
distributed systems, or the strange intersection of theory and
practice, <a href="mailto:asimonson1125@gmail.com">drop a line</a>.
</p> </p>
<p class="blinkies" aria-label="Retro web badges"> <p class="blinkies" aria-label="Retro web badges">
<img alt="Pepsi Addict" src="{{ url_for('static', filename='photos/blinkies/pepsiaddict.gif') }}" loading="lazy" width="150" height="20" /> <img alt="Pepsi Addict" src="{{ url_for('static', filename='photos/blinkies/pepsiaddict.gif') }}" loading="lazy" width="150" height="20" />
@@ -177,7 +180,18 @@
}) })
.catch(function (err) { .catch(function (err) {
console.warn('Chess.com ratings unavailable:', err); console.warn('Chess.com ratings unavailable:', err);
list.hidden = true; // Show a subtle message instead of hiding the section
list.classList.add('chess-unavailable');
list.querySelector('.chess-value[data-stat="rapid"]').textContent = '—';
list.querySelector('.chess-value[data-stat="blitz"]').textContent = '—';
list.querySelector('.chess-value[data-stat="bullet"]').textContent = '—';
list.querySelector('.chess-value[data-stat="puzzles"]').textContent = '—';
// Add an info message after the list
var msg = document.createElement('p');
msg.className = 'chess-fallback';
msg.textContent = 'Chess.com ratings unavailable';
msg.setAttribute('aria-label', 'Chess.com ratings unavailable');
list.parentNode.insertBefore(msg, list.nextSibling);
}); });
})(); })();
</script> </script>