Skip to content

Commit

Permalink
Update metadata for OG images once again
Browse files Browse the repository at this point in the history
  • Loading branch information
bombies committed Nov 3, 2023
1 parent 2f5c664 commit 67143b3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/app/(site)/(internal)/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<PropsWithChildren> = ({children}) => {
return (
<main className="relative flex min-h-screen">
<DashboardSidebar />
<div className="flex-grow py-32 w-screen overflow-hidden phone:pt-32 flex flex-col phone:items-center phone-min:ml-16 tablet-min:ml-32">
<DashboardSidebar/>
<div
className="flex-grow py-32 w-screen overflow-hidden phone:pt-32 flex flex-col phone:items-center phone-min:ml-16 tablet-min:ml-32">
<DreamsProvider>
{children}
</DreamsProvider>
Expand Down
10 changes: 9 additions & 1 deletion src/app/(site)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down

0 comments on commit 67143b3

Please sign in to comment.