Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

fix og (#320)

Bill Yangacc40decc7c4
diff --git a/docs/src/app/layout.jsx b/docs/src/app/layout.jsx
index d65f4623d..06e7a0df1 100644
--- a/docs/src/app/layout.jsx
+++ b/docs/src/app/layout.jsx
@@ -19,12 +19,39 @@ export const metadata = {
metadataBase: new URL("https://rybbit.io"),
title: {
template: "%s - Rybbit",
+ default: "Rybbit - The Modern Google Analytics Replacement",
},
description:
"Next-gen, open source, lightweight, cookieless web & product analytics for everyone.",
// description: 'Next-gen, open source, lightweight, cookieless web & product analytics for everyone — GDPR/CCPA compliant.',
applicationName: "Rybbit",
generator: "Next.js",
+ openGraph: {
+ type: "website",
+ locale: "en_US",
+ url: "https://rybbit.io",
+ siteName: "Rybbit",
+ title: "Rybbit - The Modern Google Analytics Replacement",
+ description:
+ "Next-gen, open source, lightweight, cookieless web & product analytics for everyone.",
+ images: [
+ {
+ url: "/opengraph-image.png",
+ width: 1200,
+ height: 630,
+ alt: "Rybbit - The Modern Google Analytics Replacement",
+ },
+ ],
+ },
+ twitter: {
+ card: "summary_large_image",
+ site: "@rybbit_io",
+ creator: "@rybbit_io",
+ title: "Rybbit - The Modern Google Analytics Replacement",
+ description:
+ "Next-gen, open source, lightweight, cookieless web & product analytics for everyone.",
+ images: ["/opengraph-image.png"],
+ },
appleWebApp: {
title: "Rybbit",
},
@@ -32,9 +59,6 @@ export const metadata = {
"msapplication-TileImage": "/ms-icon-144x144.png",
"msapplication-TileColor": "#fff",
},
- twitter: {
- site: "https://rybbit.io",
- },
};
function Footer_() {