Skip to content

Commit 3cb933b

Browse files
committed
Merge branch 'main' of github.com:geekinks/learn
2 parents f1fe6f9 + 1b822c4 commit 3cb933b

File tree

4 files changed

+97
-0
lines changed

4 files changed

+97
-0
lines changed

docs/intro.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ sidebar_position: 1
44
---
55
import Heading from '@site/src/components/Heading';
66
import Quotes from '@site/src/components/Quotes';
7+
import Comment from '@site/src/components/comment';
78
import Tabs from '@theme/Tabs';
89
import TabItem from '@theme/TabItem';
910

11+
1012
![](../static/img/hero.png)
1113

1214
<Quotes fetchFromAPI={true} />
@@ -193,3 +195,5 @@ After two weeks, students will have a **solid web development foundation** and b
193195
**Backend Track:** 🖥 **Node.js, Express, MongoDB**
194196

195197
💡 **Get ready to build and contribute to real-world projects!** 🌍🔥
198+
199+
<Comment />

package-lock.json

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@docusaurus/plugin-pwa": "^3.7.0",
1919
"@docusaurus/preset-classic": "3.7.0",
2020
"@docusaurus/theme-mermaid": "^3.7.0",
21+
"@giscus/react": "^3.1.0",
2122
"@mdx-js/react": "^3.0.0",
2223
"clsx": "^2.0.0",
2324
"framer-motion": "^12.4.10",

src/components/comment.jsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import Giscus from '@giscus/react';
2+
3+
4+
export default function Comment() {
5+
return (
6+
<Giscus
7+
id="comments"
8+
repo="geeinks/learn"
9+
repoId="R_kgDOMtx6vQ"
10+
category="Q&A"
11+
categoryId="DIC_kwDOMtx6vc4CntrG"
12+
mapping="pathname"
13+
strict="0"
14+
term="comments here"
15+
reactionsEnabled="1"
16+
emitMetadata="1"
17+
inputPosition="top"
18+
theme="cobalt"
19+
lang="en"
20+
crossorigin="anonymous"
21+
loading="lazy"
22+
/>
23+
);
24+
}

0 commit comments

Comments
 (0)