diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-17 19:29:20 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-17 19:29:20 +0100 |
| commit | dc4588b1b134cb66b9e0842b96f0be96b724a049 (patch) | |
| tree | 304ac2527966cd0f939f4f23f3d2f18f1b00fc14 /src/pages/article | |
| parent | 37bc9d25deecb04b7970881d46551d5b33fe88df (diff) | |
chore: add a comment form to posts
Diffstat (limited to 'src/pages/article')
| -rw-r--r-- | src/pages/article/[slug].tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx index 57982e9..05da913 100644 --- a/src/pages/article/[slug].tsx +++ b/src/pages/article/[slug].tsx @@ -1,3 +1,4 @@ +import CommentForm from '@components/CommentForm/CommentForm'; import CommentsList from '@components/CommentsList/CommentsList'; import Layout from '@components/Layouts/Layout'; import PostFooter from '@components/PostFooter/PostFooter'; @@ -30,6 +31,8 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => { <section> <h2>{t`Comments`}</h2> <CommentsList comments={comments} /> + <h2>{t`Leave a comment`}</h2> + <CommentForm /> </section> </article> ); |
