diff --git a/src/app/books/[bookId]/chapters/[chapterId]/page.tsx b/src/app/books/[bookId]/chapters/[chapterId]/page.tsx
index ee1a04b..896d19b 100644
--- a/src/app/books/[bookId]/chapters/[chapterId]/page.tsx
+++ b/src/app/books/[bookId]/chapters/[chapterId]/page.tsx
@@ -2,7 +2,7 @@ import React from "react";
import NavigationButtons from "@/components/NavigationButtons";
import { Chapter } from "@/lib/types";
import { fetchBookById } from "@/lib/api";
-
+import Head from "next/head";
export type paramsType = Promise<{ bookId: string; chapterId: string }>;
// Dynamic page component
@@ -20,21 +20,33 @@ export default async function ChapterPage(props: { params: paramsType}) {
if (current_chapter === undefined) {
return (
+ <>
+
+ Chapter not found
+
+
+ >
)
}
return (
+ <>
+
+ {book.title} - Chapter {current_chapter.number}
+
+
+ >
);
}
\ No newline at end of file
diff --git a/src/app/books/[bookId]/page.tsx b/src/app/books/[bookId]/page.tsx
index 82608f9..badda35 100644
--- a/src/app/books/[bookId]/page.tsx
+++ b/src/app/books/[bookId]/page.tsx
@@ -2,6 +2,8 @@ import { fetchBookById } from "@/lib/api";
import { Book } from "@/lib/types";
import { formatDateToMonthDayYear } from "@/lib/utils";
import ChapterDropdown from "@/components/ChapterDropdown";
+import { Ad } from "@/lib/types";
+import Head from "next/head";
export type paramsType = Promise<{ bookId: string}>;
@@ -25,6 +27,11 @@ export default async function BookPage(props: { params: paramsType }) {
const cover_media = cover?.at(0);
const recentChapters = chapters.length > 6 ? chapters.slice(chapters.length - 6, chapters.length) : chapters;
return (
+ <>
+
+ {title}
+
+
+ >
+ );
+
}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index be2e473..2b870dc 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -34,6 +34,8 @@ export default function RootLayout({ children }: { children: React.ReactNode })
return (
+
+