Skip to content

Commit c73b181

Browse files
committed
REmove substack
1 parent 880f518 commit c73b181

File tree

4 files changed

+29
-62
lines changed

4 files changed

+29
-62
lines changed

web/components/BlogInfo.vue

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
<v-icon left>{{ mdiBookOpenVariant }}</v-icon>
2828
Documentation
2929
</v-btn>
30-
<p class="body-2 mt-6 mb-4">
31-
Subscribe to my newsletter where I share the new features and updates on
32-
httpSMS.
33-
</p>
34-
<v-progress-circular
35-
v-if="!substackLoaded"
36-
indeterminate
37-
size="40"
38-
width="2"
39-
color="primary"
40-
></v-progress-circular>
41-
<div id="custom-substack-embed" ref="custom-substack-embed"></div>
4230
</div>
4331
</template>
4432

@@ -51,17 +39,7 @@ export default Vue.extend({
5139
data() {
5240
return {
5341
mdiBookOpenVariant,
54-
substackLoaded: false,
5542
}
5643
},
57-
mounted() {
58-
setTimeout(() => {
59-
const s = document.createElement('script')
60-
s.type = 'text/javascript'
61-
s.src = 'https://substackapi.com/widget.js'
62-
document.getElementsByTagName('head')[0].appendChild(s)
63-
this.substackLoaded = true
64-
}, 5000)
65-
},
6644
})
6745
</script>

web/layouts/website.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@
8888
</v-avatar>
8989
<h3 class="text-h4 ml-1 text--primary">httpSMS</h3>
9090
</nuxt-link>
91-
<p class="subtitle-2 text--secondary">
91+
<div class="subtitle-2 mb-4 text--secondary">
9292
Made With <v-icon color="#cf1112">{{ mdiHeart }}</v-icon> in
9393
Tallinn
9494
<v-img
9595
class="d-inline-block"
9696
width="20"
9797
src="https://upload.wikimedia.org/wikipedia/commons/8/8f/Flag_of_Estonia.svg"
9898
></v-img>
99-
</p>
99+
</div>
100100
<p class="mt-n3">
101101
<v-btn href="https://twitter.com/httpsmsHQ" icon color="#1DA1F2">
102102
<v-icon>{{ mdiTwitter }}</v-icon>

web/pages/index.vue

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,33 @@
33
<v-container>
44
<v-row class="mt-16 pt-8 mb-n8">
55
<v-col>
6-
<client-only>
7-
<v-alert
8-
text
9-
:icon="$vuetify.breakpoint.mdAndUp ? mdiSale : undefined"
10-
:prominent="$vuetify.breakpoint.mdAndUp"
11-
color="success"
12-
>
13-
<v-row align="center">
14-
<v-col class="grow">
15-
<p class="text-h6 mb-0">Black Friday Deal</p>
16-
<p class="mb-0">
17-
Get <b>40%</b> off all yearly plans on httpSMS until on
18-
December 2<sup>nd</sup> by using the discount code
19-
<b>BF2024</b> at checkout
20-
</p>
21-
<v-btn
22-
v-if="!$vuetify.breakpoint.mdAndUp"
23-
to="/billing"
24-
block
25-
color="pink"
26-
>Upgrade Now</v-btn
27-
>
28-
</v-col>
29-
<v-col v-if="$vuetify.breakpoint.mdAndUp" class="shrink">
30-
<v-btn color="pink" to="/billing">Upgrade Now</v-btn>
31-
</v-col>
32-
</v-row>
33-
</v-alert>
34-
</client-only>
6+
<v-alert
7+
text
8+
:icon="$vuetify.breakpoint.mdAndUp ? mdiSale : undefined"
9+
:prominent="$vuetify.breakpoint.mdAndUp"
10+
color="success"
11+
>
12+
<v-row align="center">
13+
<v-col class="grow">
14+
<p class="text-h6 mb-0">Black Friday Deal</p>
15+
<p class="mb-0">
16+
Get <b>40%</b> off all yearly plans on httpSMS until on
17+
December 2<sup>nd</sup> by using the discount code
18+
<b>BF2024</b> at checkout
19+
</p>
20+
<v-btn
21+
v-show="!$vuetify.breakpoint.mdAndUp"
22+
to="/billing"
23+
block
24+
color="pink"
25+
>Upgrade Now</v-btn
26+
>
27+
</v-col>
28+
<v-col v-show="$vuetify.breakpoint.mdAndUp" class="shrink">
29+
<v-btn color="pink" to="/billing">Upgrade Now</v-btn>
30+
</v-col>
31+
</v-row>
32+
</v-alert>
3533
</v-col>
3634
</v-row>
3735
<v-row :class="{ 'pb-16 pt-0': $vuetify.breakpoint.lgAndUp }">
@@ -905,7 +903,6 @@ export default Vue.extend({
905903
mdiLanguageGo,
906904
selectedTab: 'javascript',
907905
yearlyPricing: false,
908-
substackLoaded: false,
909906
}
910907
},
911908
})

web/static/integrations.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,3 @@
1313

1414
// LemonSqueezy
1515
window.lemonSqueezyAffiliateConfig = { store: 'httpsms' }
16-
17-
// substack
18-
window.CustomSubstackWidget = {
19-
substackUrl: 'httpsms.substack.com',
20-
placeholder: '[email protected]',
21-
buttonText: 'Subscribe',
22-
theme: 'green',
23-
}

0 commit comments

Comments
 (0)