diff --git a/frontend/src/ts/ready.ts b/frontend/src/ts/ready.ts index f6b386e50..31932ebd5 100644 --- a/frontend/src/ts/ready.ts +++ b/frontend/src/ts/ready.ts @@ -45,14 +45,27 @@ $(document).ready(() => { if (Config.quickRestart === "tab" || Config.quickRestart === "esc") { $("#restartTestButton").addClass("hidden"); } - if (!window.localStorage.getItem("merchbannerclosed")) { + // if (!window.localStorage.getItem("merchbannerclosed")) { + // Notifications.addBanner( + // `Check out our merchandise, available at monkeytype.store`, + // 1, + // "images/merchdropwebsite2.png", + // false, + // () => { + // window.localStorage.setItem("merchbannerclosed", "true"); + // }, + // true + // ); + // } + + if (!window.localStorage.getItem("merchbannerclosed2")) { Notifications.addBanner( - `Check out our merchandise, available at monkeytype.store`, + `Three new merch designs, available at monkeytype.store`, 1, - "images/merchdropwebsite2.png", + "images/cutoutbanner.png", false, () => { - window.localStorage.setItem("merchbannerclosed", "true"); + window.localStorage.setItem("merchbannerclosed2", "true"); }, true ); diff --git a/frontend/static/images/cutoutbanner.png b/frontend/static/images/cutoutbanner.png new file mode 100644 index 000000000..42b51d2e3 Binary files /dev/null and b/frontend/static/images/cutoutbanner.png differ