mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
perf!: monorepo setup + fully static + webp images
BREAKING CHANGE: minimum supported Node.js >= 22.0.0 and pnpm >= 9.5.0
This commit is contained in:
27
packages/blog/src/BlogPostComments.tsx
Normal file
27
packages/blog/src/BlogPostComments.tsx
Normal file
@ -0,0 +1,27 @@
|
||||
"use client"
|
||||
|
||||
import Giscus from "@giscus/react"
|
||||
import { useTheme } from "@repo/ui/Header/SwitchTheme"
|
||||
|
||||
interface BlogPostCommentsProps {}
|
||||
|
||||
export const BlogPostComments: React.FC<BlogPostCommentsProps> = () => {
|
||||
const { theme } = useTheme()
|
||||
|
||||
return (
|
||||
<Giscus
|
||||
id="comments"
|
||||
repo="theoludwig/theoludwig"
|
||||
repoId="MDEwOlJlcG9zaXRvcnkzNTg5NDg1NDQ="
|
||||
category="General"
|
||||
categoryId="DIC_kwDOFWUewM4CQ_WK"
|
||||
mapping="pathname"
|
||||
reactionsEnabled="1"
|
||||
emitMetadata="0"
|
||||
inputPosition="top"
|
||||
theme={theme}
|
||||
lang="en"
|
||||
loading="lazy"
|
||||
/>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user