Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Cleanup code

Acho Arnold7f1bf4d308ec
diff --git a/web/components/FixedHeader.vue b/web/components/FixedHeader.vue
index 2122c58f..cff1bef1 100644
--- a/web/components/FixedHeader.vue
+++ b/web/components/FixedHeader.vue
@@ -3,7 +3,7 @@
<v-container>
<v-row>
<v-col class="w-full d-flex">
- <router-link
+ <nuxt-link
:to="{ name: 'index' }"
class="text--primary text-h4 text-decoration-none"
:class="{
@@ -15,7 +15,7 @@
<v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
</v-avatar>
HTTP SMS
- </router-link>
+ </nuxt-link>
<v-spacer></v-spacer>
<v-btn
exact-path
diff --git a/web/pages/index.vue b/web/pages/index.vue
index d392b01f..79f8fbf8 100644
--- a/web/pages/index.vue
+++ b/web/pages/index.vue
@@ -158,30 +158,22 @@
<v-col cols="12" md="5" class="pr-4">
<v-timeline dense class="mt-10 ml-n4">
<v-timeline-item color="primary" :icon="mdiTallyMark1">
- <v-card
- class="elevation-2"
- @mouseover="step1Hover = true"
- @mouseleave="step1Hover = false"
- >
+ <v-card class="elevation-2">
<v-card-title class="text-h5"> Step 1 </v-card-title>
<v-card-text class="subtitle-1">
- <router-link
+ <NuxtLink
class="font-weight-bold text-decoration-none"
:to="{ name: 'login' }"
>
Create an account
- </router-link>
+ </NuxtLink>
on httpsms.com and obtain you API key on the settings
page.
</v-card-text>
</v-card>
</v-timeline-item>
<v-timeline-item color="primary" :icon="mdiTallyMark2">
- <v-card
- class="elevation-2"
- @mouseover="step2Hover = true"
- @mouseleave="step2Hover = false"
- >
+ <v-card class="elevation-2">
<v-card-title class="text-h5"> Step 2 </v-card-title>
<v-card-text class="subtitle-1">
<a