From 1fcb71c10a4811491ce7d9cf8bbb0c24f68c936e Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Wed, 25 Mar 2026 19:24:26 +0400 Subject: [PATCH] geyser seo --- components/Meta.tsx | 48 ++++++++++++++++++++--- pages/solana-yellowstone-geyser-grpc.mdx | 27 +++++++++++++ public/images/og-geyser-grpc.png | Bin 0 -> 18318 bytes theme.config.tsx | 6 +-- 4 files changed, 72 insertions(+), 9 deletions(-) create mode 100644 public/images/og-geyser-grpc.png diff --git a/components/Meta.tsx b/components/Meta.tsx index 97c10f8..dd1a566 100644 --- a/components/Meta.tsx +++ b/components/Meta.tsx @@ -1,24 +1,60 @@ type Props = { title?: string; description?: string; + keywords?: string; + ogDescription?: string; + ogImg?: any; + pageUrl?: string; + type?: string; + twitterDescription?: string; + twitterCard?: string; + jsonLd?: any; }; import Head from "next/head"; import ogImage from "../public/images/docs-og.webp"; -import { DEFAULT_META_TITLE, DEFAULT_META_DESCRIPTION, SITE_URL } from "../utils/text/seo"; +import { + DEFAULT_META_TITLE, + DEFAULT_META_DESCRIPTION, + SITE_URL, +} from "../utils/text/seo"; const OG_IMAGE_URL = SITE_URL + ogImage.src; -export function Meta({ title = DEFAULT_META_TITLE, description = DEFAULT_META_DESCRIPTION}: Props) { - +export function Meta({ + title = DEFAULT_META_TITLE, + description = DEFAULT_META_DESCRIPTION, + keywords, + ogDescription, + ogImg = OG_IMAGE_URL, + pageUrl, + type = "website", + twitterDescription, + twitterCard, + jsonLd, +}: Props) { return ( {title} + {keywords && } - - - + + {pageUrl && } + + + {twitterCard && } + + + {jsonLd && ( +