From 45d134553dd6724111bfd8fe97f323648dd58f49 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Sun, 23 Jun 2024 16:07:29 +0200 Subject: [PATCH] better metadata (#6) --- frontend/app/layout.tsx | 25 ++++++++++++++++++++++++- frontend/public/pypi-light.svg | 1 + 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 frontend/public/pypi-light.svg diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index 6a9c932..ef83a18 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -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({ @@ -17,6 +29,17 @@ export default function RootLayout({ }>) { return ( + + + + + + + + {children} diff --git a/frontend/public/pypi-light.svg b/frontend/public/pypi-light.svg new file mode 100644 index 0000000..e68e538 --- /dev/null +++ b/frontend/public/pypi-light.svg @@ -0,0 +1 @@ +