Make Fortnite the featured game

This commit is contained in:
Dean @ Skool
2024-01-09 10:11:45 -05:00
parent 2e0981d4f0
commit 128bcb8ad2
2 changed files with 2 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

+2 -2
View File
@@ -51,7 +51,7 @@ if (location.pathname === '/') {
fetch('/assets/JSON/games.json')
.then(res => res.json())
.then(games => {
const gameName = 'Tiny Fishing';
const gameName = 'Fortnite';
const game = games.filter(g => g.name === gameName)[0];
document.querySelector('.featured').addEventListener('click', () => {
@@ -66,7 +66,7 @@ if (location.pathname === '/') {
});
});
document.querySelector('.featured').src = '/assets/img/wide/tinyfishing.png';
document.querySelector('.featured').src = '/assets/img/wide/fortnite.jpg';
}).catch(e => new PolarisError('Failed to load featured game.'));
const logHeight = () => {