mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 14:28:20 +01:00
chore: ♻️ Use hardcoded logo file instead of CDN link for og data
This commit is contained in:
parent
94881b113b
commit
938073110d
|
|
@ -6,6 +6,7 @@ import type { Section } from "../components/SectionProvider";
|
||||||
import { Providers } from "./providers";
|
import { Providers } from "./providers";
|
||||||
|
|
||||||
import "@/styles/tailwind.css";
|
import "@/styles/tailwind.css";
|
||||||
|
import logo from "@/images/branding/logo.webp";
|
||||||
import type { ReactNode } from "react";
|
import type { ReactNode } from "react";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
|
|
@ -18,9 +19,11 @@ export const metadata: Metadata = {
|
||||||
openGraph: {
|
openGraph: {
|
||||||
type: "article",
|
type: "article",
|
||||||
images: {
|
images: {
|
||||||
url: "https://cdn.versia.pub/branding/icon.svg",
|
url: logo.src,
|
||||||
alt: "Versia logo",
|
alt: "Versia logo",
|
||||||
type: "image/svg+xml",
|
type: "image/webp",
|
||||||
|
width: logo.width,
|
||||||
|
height: logo.height,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 14 KiB |
Loading…
Reference in a new issue