diff --git a/docs/public/images/og.png b/docs/public/images/og.png new file mode 100644 index 00000000..a399995d Binary files /dev/null and b/docs/public/images/og.png differ diff --git a/docs/public/images/screenshot.png b/docs/public/images/screenshot.png index a4e9bad6..5de68451 100644 Binary files a/docs/public/images/screenshot.png and b/docs/public/images/screenshot.png differ diff --git a/docs/src/components/LandingPage.tsx b/docs/src/components/LandingPage.tsx index d4848440..eb598c32 100644 --- a/docs/src/components/LandingPage.tsx +++ b/docs/src/components/LandingPage.tsx @@ -194,14 +194,14 @@ const faqs = [ function BrowserMockup() { return (
{step.description}
diff --git a/docs/src/routes/__root.tsx b/docs/src/routes/__root.tsx index 26b24831..a7b2a766 100644 --- a/docs/src/routes/__root.tsx +++ b/docs/src/routes/__root.tsx @@ -5,6 +5,9 @@ import Header from "../components/Header"; import appCss from "../styles.css?url"; +const siteUrl = "https://zerobyte.app"; +const ogImageUrl = `${siteUrl}/images/og.png`; + export const Route = createRootRoute({ head: () => ({ meta: [ @@ -23,6 +26,56 @@ export const Route = createRootRoute({ content: "Zerobyte is a web control plane for Restic backups with scheduling, encrypted repositories, monitoring, and restore workflows.", }, + { + property: "og:title", + content: "Zerobyte | Backup automation for Restic", + }, + { + property: "og:description", + content: + "Zerobyte is a web control plane for Restic backups with scheduling, encrypted repositories, monitoring, and restore workflows.", + }, + { + property: "og:type", + content: "website", + }, + { + property: "og:url", + content: siteUrl, + }, + { + property: "og:image", + content: ogImageUrl, + }, + { + property: "og:image:width", + content: "2048", + }, + { + property: "og:image:height", + content: "1152", + }, + { + property: "og:image:alt", + content: "Zerobyte backups dashboard preview", + }, + { + name: "twitter:card", + content: "summary_large_image", + }, + { + name: "twitter:title", + content: "Zerobyte | Backup automation for Restic", + }, + { + name: "twitter:description", + content: + "Zerobyte is a web control plane for Restic backups with scheduling, encrypted repositories, monitoring, and restore workflows.", + }, + { + name: "twitter:image", + content: ogImageUrl, + }, ], links: [ {