feat: add openGraph metadata

This commit is contained in:
Kentai Radiquum 2024-08-04 16:28:41 +05:00
parent a5c19eadea
commit 8afa3ef664
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
12 changed files with 100 additions and 34 deletions

View file

@ -15,9 +15,6 @@ export async function generateMetadata({ params }) {
}
export default function Index({ params }) {
const metadata = {
title: "AniX | " + SectionTitleMapping[params.slug],
};
return (
<BookmarksCategoryPage
slug={params.slug}

View file

@ -1,10 +1,8 @@
export const metadata = {
title: "Закладки",
};
import { BookmarksPage } from "#/pages/Bookmarks";
export default function Index() {
return <BookmarksPage />;
}
title: "Закладки",
};
import { BookmarksPage } from "#/pages/Bookmarks";
export default function Index() {
return <BookmarksPage />;
}