Added some meta, and titles with description for outher pages.

This commit is contained in:
2025-01-12 22:01:32 -05:00
parent cea7376e48
commit c9f46030ec
4 changed files with 38 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
import { Book } from "@/lib/types";
import { fetchBooks } from "@/lib/api";
import { Ad } from "@/lib/types";
import Head from "next/head";
export default async function HomePage() {
let books: Book[] = [];
@@ -15,10 +18,15 @@ export default async function HomePage() {
}
return (
<>
<Head>
<title>Null Translation Group</title>
<meta name="description" content="Null Translation Group main hub for all the books we are currently translating" />
</Head>
<div className="mx-auto p-6 bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100 min-h-screen">
<div className="hidden md:block bg-yellow-500 text-black py-2 px-4 rounded-lg hover:bg-yellow-600 transition duration-200 mb-6">
<a
href="https://patreon.com/NullTranslationGroup"
href={Ad.patreon}
target="_blank"
rel="noopener noreferrer"
className="font-semibold text-center block"
@@ -61,5 +69,7 @@ export default async function HomePage() {
)})}
</div>
</div>
</>
);
}