File tree Expand file tree Collapse file tree 7 files changed +17
-43
lines changed Expand file tree Collapse file tree 7 files changed +17
-43
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ useHead({
37
37
link: [
38
38
{
39
39
rel: "canonical",
40
- href: ` https : // celenium.io${route.path }`,
40
+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
41
41
},
42
42
],
43
43
meta: [
@@ -55,11 +55,7 @@ useHead({
55
55
},
56
56
{
57
57
property: "og:url",
58
- content: ` https: // celenium.io${route.path}`,
59
- },
60
- {
61
- property: " og:image" ,
62
- content: ` https://celenium.io${ route .path } __og_image__/og.png` ,
58
+ content: ` ${useRequestURL ().origin }${useRequestURL ().pathname }` ,
63
59
},
64
60
{
65
61
name: "twitter:title",
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ useHead({
43
43
link: [
44
44
{
45
45
rel: "canonical",
46
- href: ` https : // celenium.io${route.path }`,
46
+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
47
47
},
48
48
],
49
49
meta: [
@@ -61,11 +61,7 @@ useHead({
61
61
},
62
62
{
63
63
property: "og:url",
64
- content: ` https: // celenium.io${route.path}`,
65
- },
66
- {
67
- property: " og:image" ,
68
- content: ` https://celenium.io${ route .path } __og_image__/og.png` ,
64
+ content: ` ${useRequestURL ().origin }${useRequestURL ().pathname }` ,
69
65
},
70
66
{
71
67
name: "twitter:title",
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ useHead({
37
37
link: [
38
38
{
39
39
rel: "canonical",
40
- href: ` https : // celenium.io${route.path }`,
40
+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
41
41
},
42
42
],
43
43
meta: [
@@ -55,11 +55,7 @@ useHead({
55
55
},
56
56
{
57
57
property: "og:url",
58
- content: ` https: // celenium.io${route.path}`,
59
- },
60
- {
61
- property: " og:image" ,
62
- content: ` https://celenium.io${ route .path } __og_image__/og.png` ,
58
+ content: ` ${useRequestURL ().origin }${useRequestURL ().pathname }` ,
63
59
},
64
60
{
65
61
name: "twitter:title",
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ useHead({
37
37
link: [
38
38
{
39
39
rel: "canonical",
40
- href: ` https : // celenium.io${route.path }`,
40
+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
41
41
},
42
42
],
43
43
meta: [
@@ -55,11 +55,7 @@ useHead({
55
55
},
56
56
{
57
57
property: "og:url",
58
- content: ` https: // celenium.io${route.path}`,
59
- },
60
- {
61
- property: " og:image" ,
62
- content: ` https://celenium.io${ route .path } __og_image__/og.png` ,
58
+ content: ` ${useRequestURL ().origin }${useRequestURL ().pathname }` ,
63
59
},
64
60
{
65
61
name: "twitter:title",
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ useHead({
149
149
link: [
150
150
{
151
151
rel: "canonical",
152
- href: ` https : // celenium.io${route.path }`,
152
+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
153
153
},
154
154
],
155
155
meta: [
@@ -167,11 +167,7 @@ useHead({
167
167
},
168
168
{
169
169
property: "og:url",
170
- content: ` https: // celenium.io${route.path}`,
171
- },
172
- {
173
- property: " og:image" ,
174
- content: ` https://celenium.io${ route .path } __og_image__/og.png` ,
170
+ content: ` ${useRequestURL ().origin }${useRequestURL ().pathname }` ,
175
171
},
176
172
{
177
173
name: "twitter:title",
Original file line number Diff line number Diff line change @@ -55,12 +55,6 @@ if (!series.value?.page) {
55
55
}
56
56
}
57
57
58
- defineOgImageComponent (" StatsMetricImage" , {
59
- title: " Statistics" ,
60
- series: series .value ,
61
- cacheKey: ` ${ series .value ? .page }` ,
62
- })
63
-
64
58
useHead ({
65
59
title: ` Celestia ${ metricName .value } Statistics - Celestia Explorer` ,
66
60
link: [
@@ -88,7 +82,7 @@ useHead({
88
82
},
89
83
{
90
84
property: " og:image" ,
91
- content: ` https://celenium.io ${ route . path } __og_image__/og .png` ,
85
+ content: " /img/seo/stats .png" ,
92
86
},
93
87
{
94
88
name: " twitter:title" ,
@@ -102,6 +96,10 @@ useHead({
102
96
name: " twitter:card" ,
103
97
content: " summary_large_image" ,
104
98
},
99
+ {
100
+ name: " twitter:image" ,
101
+ content: " https://celenium.io/img/seo/stats.png" ,
102
+ },
105
103
],
106
104
})
107
105
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ useHead({
36
36
link: [
37
37
{
38
38
rel: "canonical",
39
- href: ` https : // celenium.io${route.path }`,
39
+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
40
40
},
41
41
],
42
42
meta: [
@@ -54,11 +54,7 @@ useHead({
54
54
},
55
55
{
56
56
property: "og:url",
57
- content: ` https: // celenium.io${route.path}`,
58
- },
59
- {
60
- property: " og:image" ,
61
- content: ` https://celenium.io${ route .path } __og_image__/og.png` ,
57
+ content: ` ${useRequestURL ().origin }${useRequestURL ().pathname }` ,
62
58
},
63
59
{
64
60
name: "twitter:title",
You can’t perform that action at this time.
0 commit comments