From 5d1f54005f7a062d2b6477fccf25f18776451b10 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 10 Jun 2020 15:41:25 +0530 Subject: [PATCH] :rewind: Reverting banner ad --- components/layout/header.vue | 56 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/components/layout/header.vue b/components/layout/header.vue index 87f1a321b..610e1d33a 100644 --- a/components/layout/header.vue +++ b/components/layout/header.vue @@ -342,34 +342,34 @@ export default { }) } - let showAd = localStorage.getItem("showAd") === "no" - if (!showAd) { - setTimeout(() => { - this.$toast.clear() - this.$toast.show( - "Get De-Coding The Passion Project book, expertly crafted by the creator of Postwoman. Whoosh this away to dismiss →", - { - icon: "", - duration: 0, - theme: "toasted-ad", - action: [ - { - text: "Get", - icon: "chevron_right", - onClick: (e, toastObject) => { - localStorage.setItem("showAd", "no") - toastObject.goAway(0) - window.open("https://gum.co/keky") - }, - }, - ], - onComplete() { - localStorage.setItem("showAd", "no") - }, - } - ) - }, 11000) - } + // let showAd = localStorage.getItem("showAd") === "no" + // if (!showAd) { + // setTimeout(() => { + // this.$toast.clear() + // this.$toast.show( + // "Get De-Coding The Passion Project book, expertly crafted by the creator of Postwoman. Whoosh this away to dismiss →", + // { + // icon: "", + // duration: 0, + // theme: "toasted-ad", + // action: [ + // { + // text: "Get", + // icon: "chevron_right", + // onClick: (e, toastObject) => { + // localStorage.setItem("showAd", "no") + // toastObject.goAway(0) + // window.open("https://gum.co/keky") + // }, + // }, + // ], + // onComplete() { + // localStorage.setItem("showAd", "no") + // }, + // } + // ) + // }, 11000) + // } let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"