Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Announcement banner
Liyas Thomas2916ab502e04
diff --git a/assets/css/styles.scss b/assets/css/styles.scssindex c09634527..bed9a5dfc 100644--- a/assets/css/styles.scss+++ b/assets/css/styles.scss@@ -662,7 +662,7 @@ section {}.toasted-container .toasted {- justify-content: flex-start !important;+ justify-content: space-between !important;}.toasted.info {diff --git a/components/layout/pw-header.vue b/components/layout/pw-header.vueindex bd4d5aefe..9f5179be3 100644--- a/components/layout/pw-header.vue+++ b/components/layout/pw-header.vue@@ -362,34 +362,34 @@ export default {})}- // let showAd = localStorage.getItem("showAd") === "no"- // if (!showAd) {- // setTimeout(() => {- // this.$toast.clear()- // this.$toast.show(- // "<span>Get <u><a href='https://gum.co/keky' target='_blank' rel='noopener'>De-Coding The Passion Project</a></u> book, expertly crafted by the creator of Hoppscotch. Whoosh this away to dismiss →</span>",- // {- // 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(+ "<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>",+ {+ icon: "",+ duration: 0,+ theme: "toasted-ad",+ action: [+ {+ text: "GitHub",+ icon: "chevron_right",+ onClick: (e, toastObject) => {+ // localStorage.setItem("showAd", "no")+ toastObject.goAway(0)+ window.open("https://github.com/hoppscotch/hoppscotch")+ },+ },+ ],+ onComplete() {+ // localStorage.setItem("showAd", "no")+ },+ }+ )+ }, 8000)+ }let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"@@ -446,7 +446,7 @@ export default {title: "Hoppscotch",text:"Hoppscotch • A free, fast and beautiful API request builder - Helps you create requests faster, saving precious time on development.",- url: "https://hoppscotch.io/",+ url: "https://hoppscotch.io",}).then(() => {}).catch(console.error)