Update sponsor message
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user