Skip to content

Commit

Permalink
Add notice about The Mini update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamster45105 committed Dec 23, 2024
1 parent a5aa145 commit fbbd6f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<div class="card mt-4">
<h1 id="title" class="text-center mt-4"></h1>
<h2 id="subtitle" class="text-center mt-4"></h2>
<p id="notice" class="text-center mt-4"></p>
<div class="btn-container">
<button onclick="topFunction()" class="btn btn-primary rounded-circle" id="upBtn" title="Go to top"></button>
<button onclick="bottomFunction()" class="btn btn-primary rounded-circle" id="downBtn"
Expand Down
2 changes: 2 additions & 0 deletions site/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
document.addEventListener('DOMContentLoaded', function () {
const title = document.getElementById('title');
const subtitle = document.getElementById('subtitle');
const notice = document.getElementById('notice');
const urlParams = new URLSearchParams(window.location.search);
const page = urlParams.get('page');

Expand Down Expand Up @@ -67,6 +68,7 @@ document.addEventListener('DOMContentLoaded', function () {
} else if (page === 'mini') {
title.textContent = 'The Mini Archive';
subtitle.textContent = 'A list of all the NYT "The Mini" Crosswords EVER!';
notice.textContent = 'Daily solution should be available a few minutes after it is released';
fetchSolutions(
'https://raw.githubusercontent.com/Hamster45105/nyt-games-archive/main/solutions/mini_solutions.json',
'solutionsTable',
Expand Down

0 comments on commit fbbd6f0

Please sign in to comment.