File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ useHead({
3737 link: [
3838 {
3939 rel: "canonical",
40- href: ` https : // celenium.io${route.path }`,
40+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
4141 },
4242 ],
4343 meta: [
@@ -55,11 +55,7 @@ useHead({
5555 },
5656 {
5757 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 }` ,
6359 },
6460 {
6561 name: "twitter:title",
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ useHead({
4343 link: [
4444 {
4545 rel: "canonical",
46- href: ` https : // celenium.io${route.path }`,
46+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
4747 },
4848 ],
4949 meta: [
@@ -61,11 +61,7 @@ useHead({
6161 },
6262 {
6363 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 }` ,
6965 },
7066 {
7167 name: "twitter:title",
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ useHead({
3737 link: [
3838 {
3939 rel: "canonical",
40- href: ` https : // celenium.io${route.path }`,
40+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
4141 },
4242 ],
4343 meta: [
@@ -55,11 +55,7 @@ useHead({
5555 },
5656 {
5757 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 }` ,
6359 },
6460 {
6561 name: "twitter:title",
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ useHead({
3737 link: [
3838 {
3939 rel: "canonical",
40- href: ` https : // celenium.io${route.path }`,
40+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
4141 },
4242 ],
4343 meta: [
@@ -55,11 +55,7 @@ useHead({
5555 },
5656 {
5757 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 }` ,
6359 },
6460 {
6561 name: "twitter:title",
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ useHead({
149149 link: [
150150 {
151151 rel: "canonical",
152- href: ` https : // celenium.io${route.path }`,
152+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
153153 },
154154 ],
155155 meta: [
@@ -167,11 +167,7 @@ useHead({
167167 },
168168 {
169169 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 }` ,
175171 },
176172 {
177173 name: "twitter:title",
Original file line number Diff line number Diff line change @@ -55,12 +55,6 @@ if (!series.value?.page) {
5555 }
5656}
5757
58- defineOgImageComponent (" StatsMetricImage" , {
59- title: " Statistics" ,
60- series: series .value ,
61- cacheKey: ` ${ series .value ? .page }` ,
62- })
63-
6458useHead ({
6559 title: ` Celestia ${ metricName .value } Statistics - Celestia Explorer` ,
6660 link: [
@@ -88,7 +82,7 @@ useHead({
8882 },
8983 {
9084 property: " og:image" ,
91- content: ` https://celenium.io ${ route . path } __og_image__/og .png` ,
85+ content: " /img/seo/stats .png" ,
9286 },
9387 {
9488 name: " twitter:title" ,
@@ -102,6 +96,10 @@ useHead({
10296 name: " twitter:card" ,
10397 content: " summary_large_image" ,
10498 },
99+ {
100+ name: " twitter:image" ,
101+ content: " https://celenium.io/img/seo/stats.png" ,
102+ },
105103 ],
106104})
107105
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ useHead({
3636 link: [
3737 {
3838 rel: "canonical",
39- href: ` https : // celenium.io${route.path }`,
39+ href: ` ${ useRequestURL (). origin }${ useRequestURL (). pathname }` ,
4040 },
4141 ],
4242 meta: [
@@ -54,11 +54,7 @@ useHead({
5454 },
5555 {
5656 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 }` ,
6258 },
6359 {
6460 name: "twitter:title",
You can’t perform that action at this time.
0 commit comments