Skip to content

Commit a1dfe10

Browse files
committed
Fix SEO tags
1 parent 5bb384c commit a1dfe10

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

web/nuxt.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ export default {
3030
name: 'og:title',
3131
content: 'HTTP SMS - Convert your android phone into an SMS Gateway.',
3232
},
33+
{
34+
hid: 'twitter:title',
35+
name: 'twitter:title',
36+
content: 'HTTP SMS - Convert your android phone into an SMS Gateway.',
37+
},
38+
{
39+
hid: 'twitter:description',
40+
name: 'twitter:description',
41+
content:
42+
'Use your android phone to send and receive SMS messages using a simple HTTP API.',
43+
},
3344
{
3445
hid: 'og:description',
3546
name: 'og:description',
@@ -41,6 +52,11 @@ export default {
4152
name: 'og:image',
4253
content: 'https://httpsms.com/header.png',
4354
},
55+
{
56+
hid: 'twitter:image',
57+
name: 'twitter:image',
58+
content: 'https://httpsms.com/header.png',
59+
},
4460
],
4561
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
4662
},

web/pages/index.vue

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
<template>
22
<div>
3-
<fixed-header></fixed-header>
3+
<v-app-bar elevation="0" color="#121212" height="70" fixed>
4+
<v-container>
5+
<v-row>
6+
<v-col class="w-full d-flex">
7+
<nuxt-link
8+
:to="{ name: 'index' }"
9+
class="text--primary text-h4 text-decoration-none"
10+
:class="{
11+
'mt-5': $vuetify.breakpoint.mdAndDown,
12+
'mt-4': !$vuetify.breakpoint.mdAndDown,
13+
}"
14+
>
15+
<v-avatar v-if="$vuetify.breakpoint.lgAndUp" tile size="30">
16+
<v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
17+
</v-avatar>
18+
HTTP SMS
19+
</nuxt-link>
20+
<v-spacer></v-spacer>
21+
<v-btn
22+
exact-path
23+
class="primary mt-5 mb-5"
24+
:large="$vuetify.breakpoint.lgAndUp"
25+
:to="{ name: 'login' }"
26+
>
27+
Get Started
28+
<span v-if="$vuetify.breakpoint.lgAndUp">&nbsp;For Free</span>
29+
</v-btn>
30+
</v-col>
31+
</v-row>
32+
</v-container>
33+
</v-app-bar>
434
<v-container class="pb-16">
535
<v-row :class="{ 'py-16': $vuetify.breakpoint.lgAndUp }">
636
<v-col

0 commit comments

Comments
 (0)