From b6c429755f3bc28deb2619bb03478d363c84c838 Mon Sep 17 00:00:00 2001 From: Anand Suthar Date: Tue, 6 Aug 2024 17:38:43 +0530 Subject: [PATCH] Add OpenGraph metadata for improved social sharing - Include title, description, and image for social media previews - Set website type and URL --- app/layout.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/layout.tsx b/app/layout.tsx index fb057a8..ac09c23 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -23,6 +23,19 @@ export const metadata: Metadata = { generator: "Next.js", publisher: "Anand Suthar", robots: "index, follow", + openGraph: { + type: "website", + url: "https://patient-fitness-tracker.vercel.app", + title: "Patient Fitness Tracker", + description: + "The Patient Fitness Tracker is a modern healthcare platform designed to streamline patient management and monitoring across multiple hospitals.", + siteName: "Patient Fitness Tracker", + images: [ + { + url: "https://res.cloudinary.com/dtkfvp2ic/image/upload/v1711037583/patient_yluzvs_bnz9ox.png", + }, + ], + }, }; export default function RootLayout({