Skip to content

Commit

Permalink
Merge pull request rslashplace2#354 from Zekiah-A/main
Browse files Browse the repository at this point in the history
Colour utils pinned post & hide august 21 popup
  • Loading branch information
Zekiah-A authored Sep 9, 2024
2 parents 7920280 + 4e4cacb commit 74535dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
16 changes: 4 additions & 12 deletions august21-event.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Show game popup
const eventDate = 1724238000000
const popup = document.getElementById("popup")
popup.showModal()
//const popup = document.getElementById("popup")
//popup.showModal()

setInterval(() => {
august21PopupTimer.textContent = ` (${toCountdownString(eventDate)})`
Expand All @@ -10,14 +10,6 @@ setInterval(() => {
startCountDown(eventDate, false).then((async) => {
august21PopupTimer.style.display = "none"
// TODO: Reimplement on game release
//august21PopupLabel.style.display = "none"
//august21PopupButton.style.display = "flex"
enableAugust21Event()
august21PopupLabel.style.display = "none"
august21PopupButton.style.display = "flex"
})

async function enableAugust21Event() {
//const forceTheme = "goldplace"
//forceTheme(forceTheme)
}

enableAugust21Event()
Binary file added images/colour-utils.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ <h1 class="header-title" translate="rplaceLivePosts">rplace.live posts</h1>
coverimageurl="images/patreon.png"></r-post>
<r-post onclick="window.open('https:/\/reddit.com/r/placetk','_blank')" style="cursor: pointer;" class="post" novotes="true" title="Subreddit" description="Visit the official rplace.live subreddit (r/placetk)"
coverimageurl="images/reddit.png"></r-post>
<r-post onclick="window.open('https:\/\/rplacetk.github.io\/colour-utils\/','_blank')" style="cursor: pointer;" class="post" novotes="true" title="Colour utils" description="A collection of nifty utilities to work with rplace.live canvases"
coverimageurl="images/colour-utils.png"></r-post>
<!--<r-post onclick="accountDialog.showModal(); unauthedPage.dataset.page = 'signin';" class="post" style="opacity: 0.6; pointer-events: none;" novotes="true" title="My Account" description="Login or signup to an rplace.live account, access special features and host your own custom canvases"
coverimageurl="images/account-profile.png"></r-post>-->
<r-post onclick="window.open('https:\/\/canv.tk/', '_blank')" style="cursor: pointer;" class="post" novotes="true" title="Canv.tk" description="Visit our sister site, the proof of concept this site itself was built off, canv.tk here!"
Expand Down

0 comments on commit 74535dc

Please sign in to comment.