Skip to content

Commit

Permalink
better metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fpgmaas committed Jun 23, 2024
1 parent fd1104b commit 110dc4b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 24 additions & 1 deletion frontend/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "PyPI Scout",
description: "Find PyPI packages with natural language using LLM's",
description: "Find Python packages on PyPI with natural language queries",
openGraph: {
title: "PyPI Scout",
description: "Find Python packages on PyPI with natural language queries",
images: [
{
url: "/pypi-light.svg",
width: 600,
height: 300,
alt: "pypi-scout logo",
},
],
},
};

export default function RootLayout({
Expand All @@ -17,6 +29,17 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<head>
<meta property="og:title" content="PyPI Scout" />
<meta
property="og:description"
content="Find Python packages on PyPI with natural language queries"
/>
<meta property="og:image" content="/pypi-light.svg" />
<meta property="og:image:width" content="600" />
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="pypi-scout logo" />
</head>
<body className={inter.className}>
<GoogleAnalytics />
{children}
Expand Down
1 change: 1 addition & 0 deletions frontend/public/pypi-light.svg
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 110dc4b

Please sign in to comment.