Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: test og fix again #1795

Merged
merged 4 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 15 additions & 58 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,9 @@ export default {
head: [
[
"link",
{
rel: "icon",
href: "/favicons/favicon.svg",
type: "image/svg+xml",
},
],
// [
// "link",
// {
// rel: "icon",
// type: "image/svg+xml",
// href: "/favicons/favicon-dark.svg",
// media: "(prefers-color-scheme: dark)",
// },
// ],
[
"link",
{
rel: "icon",
href: "/favicons/favicon.png",
type: "image/png",
},
{ rel: "icon", href: "/favicons/favicon.svg", type: "image/svg+xml" },
],
// [
// "link",
// {
// rel: "icon",
// type: "image/png",
// href: "/favicons/favicon-dark.png",
// media: "(prefers-color-scheme: dark)",
// },
// ],
["link", { rel: "icon", href: "/favicons/favicon.png", type: "image/png" }],
[
"link",
{
Expand All @@ -65,15 +36,6 @@ export default {
type: "image/x-icon",
},
],
// [
// "link",
// {
// rel: "icon",
// type: "image/x-icon",
// href: "/favicons/favicon-dark.ico",
// media: "(prefers-color-scheme: dark)",
// },
// ],
["meta", { name: "msapplication-TileColor", content: "#fff" }],
["meta", { name: "theme-color", content: "#fff" }],
[
Expand All @@ -84,8 +46,6 @@ export default {
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",
},
],
// ['meta', { property: 'og:title', content: 'Celestia' }],
// ['meta', { property: 'og:description', content: 'The first modular blockchain network.' }],
[
"meta",
{
Expand All @@ -94,37 +54,34 @@ export default {
},
],
["meta", { httpEquiv: "Content-Language", content: "en" }],

["meta", { name: "twitter:card", content: "summary_large_image" }],
["meta", { name: "twitter:site", content: "@CelestiaOrg" }],
["meta", { name: "twitter:site:domain", content: "docs.celestia.org" }],
["meta", { name: "twitter:url", content: "https://docs.celestia.org" }],
[
"meta",
{
name: "twitter:image",
content: "https://docs.celestia.org/Celestia-og.png",
},
],
[
"meta",
{
name: "twitter:site:domain",
content: "docs.celestia.org",
},
],
[
"meta",
{
name: "twitter:url",
content: "https://docs.celestia.org",
},
],
["meta", { name: "twitter:image:alt", content: "Celestia Documentation" }],

["meta", { property: "og:type", content: "website" }],
["meta", { property: "og:site_name", content: "Celestia Docs" }],
["meta", { property: "og:url", content: "https://docs.celestia.org" }],
[
"meta",
{
property: "og:image",
content: "https://docs.celestia.org/Celestia-og.png",
},
],
["meta", { property: "og:type", content: "website" }],
["meta", { property: "og:site_name", content: "Celestia Docs" }],
["meta", { property: "og:image:width", content: "1200" }],
["meta", { property: "og:image:height", content: "630" }],
["meta", { property: "og:image:type", content: "image/png" }],

["meta", { name: "apple-mobile-web-app-title", content: "Celestia" }],
[
"script",
Expand Down
Binary file modified public/Celestia-og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading