Skip to content

Commit bf035cf

Browse files
committed
Add documentation for webhooks
1 parent 2b50f4f commit bf035cf

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

web/pages/settings/index.vue

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
>Documentation</v-btn
9292
>
9393
</div>
94-
<h5 class="text-h4 mb-3 mt-12">Webhooks</h5>
94+
<h5 id="webhooks" class="text-h4 mb-3 mt-12">Webhooks</h5>
9595
<p class="text--secondary">
9696
Webhooks allow us to send events to your server for example when
9797
the android phone receives an SMS message we can forward the
@@ -152,10 +152,18 @@
152152
</tbody>
153153
</template>
154154
</v-simple-table>
155-
<v-btn color="primary" @click="onWebhookCreate">
156-
<v-icon left>{{ mdiLinkVariant }}</v-icon>
157-
Add webhook
158-
</v-btn>
155+
<div class="d-flex">
156+
<v-btn color="primary" @click="onWebhookCreate">
157+
<v-icon left>{{ mdiLinkVariant }}</v-icon>
158+
Add webhook
159+
</v-btn>
160+
<v-btn
161+
v-if="$vuetify.breakpoint.lgAndUp"
162+
class="ml-4"
163+
href="https://docs.httpsms.com/webhooks/introduction"
164+
>Documentation</v-btn
165+
>
166+
</div>
159167
<h5 class="text-h4 mb-3 mt-12">Discord Integration</h5>
160168
<p class="text--secondary">
161169
Send and receive SMS messages without leaving your discord server
@@ -220,7 +228,7 @@
220228
></v-img>
221229
Add Discord
222230
</v-btn>
223-
<h5 class="text-h4 mb-3 mt-12">Phones</h5>
231+
<h5 id="phones" class="text-h4 mb-3 mt-12">Phones</h5>
224232
<p class="text--secondary">
225233
List of mobile phones which are registered for sending and
226234
receiving SMS messages.

0 commit comments

Comments
 (0)