Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
fff
Browse files Browse the repository at this point in the history
  • Loading branch information
smartfoloo committed Jan 14, 2024
1 parent 45c191b commit c9f8b0c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions games/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,14 @@
<img loading="lazy" src="/images/dadish2.avif" />
</div>
</a>
<a href="/play.html?game=dadish-3" target="_parent">
<div class="game-card">
<div class="content">
<p class="title">Dadish 3</p>
</div>
<img loading="lazy" src="/images/dadish3.avif" />
</div>
</a>
<a href="/play.html?game=bank-robbery" target="_parent">
<div class="game-card">
<div class="content">
Expand Down
Binary file added images/dadish3.avif
Binary file not shown.
4 changes: 4 additions & 0 deletions js/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ if (gameToLoad) {
gameframe.src = 'https://nearpod-currentlyconnectedtolesson.onrender.com/assets/yohoho/index.html';
gamename.textContent = 'Yohoho.io';
gameimage.src = '/images/yohohoio.avif';
} else if (gameToLoad === 'dadish-3') {
gameframe.src = 'https://dadish3.netlify.app/';
gamename.textContent = 'Dadish 3';
gameimage.src = '/images/dadish3.avif';
} else {
const imageName = gameToLoad.replace(/-/g, '');
const imageSrcPng = `/images/${imageName}.png`;
Expand Down

0 comments on commit c9f8b0c

Please sign in to comment.