Update sponsor message

This commit is contained in:
Liyas Thomas
2020-10-24 17:36:33 +05:30
parent ce992fc205
commit 501e01fe23

View File

@@ -364,15 +364,15 @@ export default {
setTimeout(() => { setTimeout(() => {
this.$toast.clear() this.$toast.clear()
this.$toast.show( this.$toast.show(
"<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>", "<span><a href='https://github.com/sponsors/hoppscotch' target='_blank' rel='noopener'>Sponsor us 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: "DONATE", text: "Sponsor",
icon: "favorite", icon: "chevron_right",
onClick: (e, toastObject) => { onClick: (e, toastObject) => {
localStorage.setItem("showAd", "no") localStorage.setItem("showAd", "no")
toastObject.goAway(0) toastObject.goAway(0)