Skip to content

Commit

Permalink
fix: giscus config (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymousRecords authored Nov 29, 2024
1 parent 8a7dcd1 commit 03eff4b
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions components/comment.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
'use client'
import Giscus from "@giscus/react";
// To enable comments:
// 1. Uncomment this component
// 2. Update repo, repoId, and categoryId with your own giscus settings
// 3. Visit https://giscus.app to get your settings

export default function Comment() {
return (
<Giscus
id="comments"
repo="notionpresso/nextjs-blog-template"
repoId="R_kgDONDy8gg"
category="Announcements"
categoryId="DIC_kwDONDy8gs4CjpSV"
mapping="pathname"
strict="0"
reactionsEnabled="1"
emitMetadata="0"
inputPosition="bottom"
theme="preferred_color_scheme"
lang="ko"
loading="lazy"
/>
)
}
// export default function Comment() {
// return (
// <Giscus
// id="comments"
// repo=""
// repoId=""
// category="Announcements"
// categoryId=""
// mapping="pathname"
// strict="0"
// reactionsEnabled="1"
// emitMetadata="0"
// inputPosition="bottom"
// theme="preferred_color_scheme"
// lang="ko"
// loading="lazy"
// />
// )
// }

0 comments on commit 03eff4b

Please sign in to comment.