Skip to content

Commit

Permalink
fix: fix metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
HereEast committed Jan 30, 2025
1 parent d2a2100 commit 045814d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,10 @@ const InnovatorGrotesk = localFont({
],
});

// export const metadata: Metadata = {
// title: "people-work.net",
// description: "Job titles decoded. In a simle Q&A format.",
// };

const og = {
export const metadata: Metadata = {
title: "people-work.net",
description: "Job titles decoded. In a simle Q&A format.",
image: "https://people-work.net/images/og-image.jpg",
} as const;
};

interface LayoutProps {
children: ReactNode;
Expand All @@ -62,17 +56,6 @@ interface LayoutProps {
export default function Layout({ children }: LayoutProps) {
return (
<html lang="en" className={`${InnovatorGrotesk.className} scroll-smooth`}>
<head>
<meta name="description" content={og.description} />
<meta property="og:title" content={og.title} />
<meta property="og:description" content={og.description} />
<meta property="og:url" content="https://people-work.net" />
<meta property="og:image" content={og.image} />
<meta name="twitter:title" content={og.title} />
<meta name="twitter:description" content={og.description} />
<meta name="twitter:image" content={og.image} />
<title>{og.title}</title>
</head>
<body
suppressHydrationWarning={true}
className="flex min-h-screen flex-col text-lg"
Expand Down
File renamed without changes
Binary file added src/app/twitter-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 045814d

Please sign in to comment.