From 67143b35dbb1f0814817cdea2433ca39f3cd4e74 Mon Sep 17 00:00:00 2001 From: bombies Date: Fri, 3 Nov 2023 09:54:00 -0500 Subject: [PATCH] Update metadata for OG images once again --- src/app/(site)/(internal)/dashboard/layout.tsx | 7 ++++--- src/app/(site)/layout.tsx | 10 +++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/app/(site)/(internal)/dashboard/layout.tsx b/src/app/(site)/(internal)/dashboard/layout.tsx index 1389827..bb654aa 100644 --- a/src/app/(site)/(internal)/dashboard/layout.tsx +++ b/src/app/(site)/(internal)/dashboard/layout.tsx @@ -5,14 +5,15 @@ import DreamsProvider from "@/app/(site)/(internal)/dashboard/(your-dreams)/comp export const metadata: Metadata = { title: 'Dream Logger - Dashboard', - description: 'Your Dream Logger dashboard' + description: 'Your Dream Logger dashboard', } const DashboardLayout: FC = ({children}) => { return (
- -
+ +
{children} diff --git a/src/app/(site)/layout.tsx b/src/app/(site)/layout.tsx index 0050734..508be5d 100644 --- a/src/app/(site)/layout.tsx +++ b/src/app/(site)/layout.tsx @@ -13,8 +13,16 @@ const inter = Inter({subsets: ['latin']}) export const metadata: Metadata = { title: 'Dream Logger', description: 'Your Personal Dream Journal and Character Odyssey', + metadataBase: new URL(process.env.CANONICAL_URL ?? ""), openGraph: { - images: '/opengraph-image.png' + title: "DreamLogger", + description: "Your Personal Dream Journal and Character Odyssey", + images: 'url/opengraph-image.png' + }, + twitter: { + title: "DreamLogger", + description: "Your Personal Dream Journal and Character Odyssey", + images: 'url/opengraph-image.png' } }