diff --git a/package.json b/package.json index 3d63df7..cbebaf1 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "postcss-nesting": "^12.1.4" }, "dependencies": { + "@giscus/react": "^3.0.0", "@headlessui/react": "2.0.3", "@tailwindcss/typography": "^0.5.13", "next": "^14.2.3", @@ -40,4 +41,4 @@ "resolutions": { "final-form": "4.20.1" } -} +} \ No newline at end of file diff --git a/pages/reviews/[filename].tsx b/pages/reviews/[filename].tsx index 3e56798..f7e2773 100644 --- a/pages/reviews/[filename].tsx +++ b/pages/reviews/[filename].tsx @@ -8,6 +8,7 @@ import { TinaMarkdown } from "tinacms/dist/rich-text"; import { InferGetStaticPropsType } from "next"; import Head from "next/head"; import Image from "next/image"; +import Giscus from "@giscus/react"; export default function ReviewPage( props: InferGetStaticPropsType @@ -30,19 +31,18 @@ export default function ReviewPage( } if (data && data.review) { + const title = `${data.review.restaurant.name} | Parmi Picks`; + return ( - {data.review.restaurant.name} | ParmiPicks + {title} - +