Skip to content

Commit

Permalink
feat: add metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
HereEast committed Jan 30, 2025
1 parent 9001615 commit 65585f7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Binary file added public/images/og-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 19 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,34 @@ const InnovatorGrotesk = localFont({
});

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

const og = {
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;
}

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

0 comments on commit 65585f7

Please sign in to comment.