diff --git a/assets/scss/styles.scss b/assets/scss/styles.scss
index 85089dc42..90c98aea8 100644
--- a/assets/scss/styles.scss
+++ b/assets/scss/styles.scss
@@ -815,7 +815,8 @@ section {
@apply rounded-lg;
text-transform: none !important;
padding: 12px 16px !important;
- font-weight: 500 !important;
+ // font-weight: 500 !important;
+ @apply font-bold;
font-size: 16px !important;
margin: 0 !important;
margin-left: 8px !important;
diff --git a/components/layout/pw-header.vue b/components/layout/pw-header.vue
index 008ac2c98..d802ea101 100644
--- a/components/layout/pw-header.vue
+++ b/components/layout/pw-header.vue
@@ -359,34 +359,34 @@ export default {
})
}
- // let showAd = localStorage.getItem("showAd") === "no"
- // if (!showAd) {
- // setTimeout(() => {
- // this.$toast.clear()
- // this.$toast.show(
- // "Postwoman is now Hoppscotch 🎉
Read the announcement →
Whoosh this away to dismiss.",
- // {
- // 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 showAd = localStorage.getItem("showAd") === "no"
+ if (!showAd) {
+ setTimeout(() => {
+ this.$toast.clear()
+ this.$toast.show(
+ "Make a donation to support Hoppscotch open source project 🎉
Whoosh this away to dismiss.",
+ {
+ icon: "",
+ duration: 0,
+ theme: "toasted-ad",
+ action: [
+ {
+ text: "DONATE",
+ icon: "favorite",
+ onClick: (e, toastObject) => {
+ localStorage.setItem("showAd", "no")
+ toastObject.goAway(0)
+ window.open("https://github.com/sponsors/hoppscotch")
+ },
+ },
+ ],
+ onComplete() {
+ localStorage.setItem("showAd", "no")
+ },
+ }
+ )
+ }, 8000)
+ }
let showExtensionsToast = localStorage.getItem("showExtensionsToast") === "yes"