Skip to content

Commit fe9c1a3

Browse files
committed
feat: add comment section component with sample data and UI for user interaction
1 parent e02bbd7 commit fe9c1a3

File tree

2 files changed

+390
-0
lines changed

2 files changed

+390
-0
lines changed

src/app/[username]/[articleHandle]/page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import ArticleSidebar from "./_components/ArticleSidebar";
1616
import ReactionStatus from "@/components/render-props/ReactionStatus";
1717
import clsx from "clsx";
1818
import ArticleReaction from "./_components/ArticleReaction";
19+
import { CommentSection } from "@/components/comment-section";
1920

2021
interface ArticlePageProps {
2122
params: Promise<{
@@ -157,6 +158,8 @@ const Page: NextPage<ArticlePageProps> = async ({ params }) => {
157158

158159
<div className="mx-auto content-typography">{parsedHTML}</div>
159160
</div>
161+
162+
<CommentSection />
160163
</HomepageLayout>
161164
</>
162165
);

0 commit comments

Comments
 (0)