Skip to content

Commit

Permalink
Add OpenGraph metadata for improved social sharing
Browse files Browse the repository at this point in the history
- Include title, description, and image for social media previews
- Set website type and URL
  • Loading branch information
ad956 committed Aug 6, 2024
1 parent e0fe4a5 commit b6c4297
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit b6c4297

Please sign in to comment.