Change featured to GunSpin

This commit is contained in:
Dean @ Skool
2023-12-04 09:03:23 -05:00
committed by GitHub
parent ebff87d9d7
commit 3042c5d49b
+2 -2
View File
@@ -39,7 +39,7 @@ if (window.self === window.top) {
if (location.pathname === '/') {
fetch('/assets/JSON/games.json').then(res => res.json()).then(games => {
const gameName = 'Tiny Fishing';
const gameName = 'GunSpin';
const game = games.filter(g => g.name === gameName)[0];
document.querySelector('.featuredimg').addEventListener('click', () => {
@@ -50,7 +50,7 @@ if (location.pathname === '/') {
location.href = '/view';
});
document.querySelector('.featuredimg').src = '/assets/img/wide/tinyfishing.png';
document.querySelector('.featuredimg').src = 'https://play-lh.googleusercontent.com/MUwWlyZkJJ-_WkLwS-TwQtlyN6mJ9xH-egF3D588XVAWtPzG8_0MxRsj25VKnHYw724=w526-h296-rw';
}).catch(e => new PolarisError('Failed to load featured game.'));
fetch('/assets/JSON/changelog.json').then(res => res.json()).then(changelog => changelog.forEach(change => {