Skip to content

Commit a682973

Browse files
committed
Add blog post on how to foward SMS to webhook
1 parent 3337990 commit a682973

14 files changed

Lines changed: 29881 additions & 2345 deletions

File tree

web/assets/img/arnold.png

41.3 KB
Loading

web/components/BlogInfo.vue

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<template>
2+
<div>
3+
<v-badge
4+
class="logo-badge"
5+
:class="{ 'logo-badge--mobile': $vuetify.breakpoint.mdAndDown }"
6+
color="#8338ec"
7+
content="Beta"
8+
>
9+
<nuxt-link to="/" class="text-decoration-none d-flex">
10+
<v-avatar tile size="33" class="mt-1">
11+
<v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
12+
</v-avatar>
13+
<h3 class="text-h4 text--primary ml-1">httpSMS</h3>
14+
</nuxt-link>
15+
</v-badge>
16+
<p>
17+
httpSMS is an
18+
<a
19+
class="text-decoration-none"
20+
href="https://github.com/NdoleStudio/httpsms"
21+
>open source</a
22+
>
23+
application that converts your android phone into an SMS gateway so you
24+
can send and receive SMS messages using a simple HTTP API.
25+
</p>
26+
</div>
27+
</template>
28+
29+
<script lang="ts">
30+
export default {
31+
name: 'BlogInfo',
32+
}
33+
</script>

web/layouts/website.vue

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
>
3232
Pricing
3333
</v-btn>
34+
<v-btn
35+
v-if="$vuetify.breakpoint.lgAndUp"
36+
large
37+
text
38+
color="primary"
39+
class="my-5 mr-2"
40+
:to="{ name: 'blog' }"
41+
>
42+
Blog
43+
</v-btn>
3444
<v-btn
3545
v-if="$vuetify.breakpoint.lgAndUp"
3646
large
@@ -132,6 +142,18 @@
132142
</a>
133143
</v-hover>
134144
</li>
145+
<li class="mb-2">
146+
<v-hover v-slot="{ hover }">
147+
<nuxt-link
148+
class="text--primary text-decoration-none"
149+
:class="{ 'text-decoration-underline': hover }"
150+
to="/blog"
151+
>
152+
Blog
153+
<v-icon small>{{ mdiPost }}</v-icon>
154+
</nuxt-link>
155+
</v-hover>
156+
</li>
135157
</ul>
136158
</v-col>
137159
<v-col cols="12" md="3">
@@ -220,6 +242,7 @@ import {
220242
mdiTwitter,
221243
mdiHeart,
222244
mdiEyeOffOutline,
245+
mdiPost,
223246
mdiCreditCardOutline,
224247
mdiScaleBalance,
225248
mdiEmailOutline,
@@ -239,6 +262,7 @@ export default Vue.extend({
239262
mdiEyeOffOutline,
240263
mdiCreditCardOutline,
241264
mdiEmailOutline,
265+
mdiPost,
242266
mdiCircle,
243267
mdiBookOpenVariant,
244268
}

web/nuxt.config.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,6 @@ export default {
3838
name: 'og:title',
3939
content: 'Convert your android phone into an SMS gateway - httpSMS',
4040
},
41-
{
42-
hid: 'twitter:title',
43-
name: 'twitter:title',
44-
content: 'Convert your android phone into an SMS gateway - httpSMS',
45-
},
46-
{
47-
hid: 'twitter:description',
48-
name: 'twitter:description',
49-
content:
50-
'Use your android phone to send and receive SMS messages using a simple HTTP API.',
51-
},
5241
{
5342
hid: 'og:description',
5443
name: 'og:description',
@@ -60,11 +49,6 @@ export default {
6049
name: 'og:image',
6150
content: 'https://httpsms.com/header.png',
6251
},
63-
{
64-
hid: 'twitter:image',
65-
name: 'twitter:image',
66-
content: 'https://httpsms.com/header.png',
67-
},
6852
],
6953
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
7054
},
@@ -73,7 +57,7 @@ export default {
7357
css: [],
7458

7559
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
76-
plugins: ['~plugins/filters.ts'],
60+
plugins: ['~plugins/filters.ts', { src: '~/plugins/vue-glow', ssr: false }],
7761

7862
// Auto import components: https://go.nuxtjs.dev/config-components
7963
components: true,

0 commit comments

Comments
 (0)