sponsor ad
This commit is contained in:
@@ -815,7 +815,8 @@ section {
|
|||||||
@apply rounded-lg;
|
@apply rounded-lg;
|
||||||
text-transform: none !important;
|
text-transform: none !important;
|
||||||
padding: 12px 16px !important;
|
padding: 12px 16px !important;
|
||||||
font-weight: 500 !important;
|
// font-weight: 500 !important;
|
||||||
|
@apply font-bold;
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
margin-left: 8px !important;
|
margin-left: 8px !important;
|
||||||
|
|||||||
@@ -359,34 +359,34 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// let showAd = localStorage.getItem("showAd") === "no"
|
let showAd = localStorage.getItem("showAd") === "no"
|
||||||
// if (!showAd) {
|
if (!showAd) {
|
||||||
// setTimeout(() => {
|
setTimeout(() => {
|
||||||
// this.$toast.clear()
|
this.$toast.clear()
|
||||||
// this.$toast.show(
|
this.$toast.show(
|
||||||
// "<span>Postwoman is now Hoppscotch 🎉<br><u><a href='https://dev.to/liyasthomas/postwoman-is-changing-name-igp' target='_blank' rel='noopener'>Read the announcement</a></u> →<br><sub>Whoosh this away to dismiss.</sub></span>",
|
"<span><a href='https://github.com/sponsors/hoppscotch' target='_blank' rel='noopener'>Make a donation to support Hoppscotch open source project 🎉</a><br><sub>Whoosh this away to dismiss.</sub></span>",
|
||||||
// {
|
{
|
||||||
// icon: "",
|
icon: "",
|
||||||
// duration: 0,
|
duration: 0,
|
||||||
// theme: "toasted-ad",
|
theme: "toasted-ad",
|
||||||
// action: [
|
action: [
|
||||||
// {
|
{
|
||||||
// text: "GitHub",
|
text: "DONATE",
|
||||||
// icon: "chevron_right",
|
icon: "favorite",
|
||||||
// onClick: (e, toastObject) => {
|
onClick: (e, toastObject) => {
|
||||||
// // localStorage.setItem("showAd", "no")
|
localStorage.setItem("showAd", "no")
|
||||||
// toastObject.goAway(0)
|
toastObject.goAway(0)
|
||||||
// window.open("https://github.com/hoppscotch/hoppscotch")
|
window.open("https://github.com/sponsors/hoppscotch")
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// ],
|
],
|
||||||
// onComplete() {
|
onComplete() {
|
||||||
// // localStorage.setItem("showAd", "no")
|
localStorage.setItem("showAd", "no")
|
||||||
// },
|
},
|
||||||
// }
|
}
|
||||||
// )
|
)
|
||||||
// }, 8000)
|
}, 8000)
|
||||||
// }
|
}
|
||||||
|
|
||||||
let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"
|
let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user