aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-06 11:36:02 +0300
committerValentin Popov <valentin@popov.link>2024-09-06 11:36:02 +0300
commit2a86fd34f6d99e43eb586f5e656a6c9cb19657a7 (patch)
treeaa2acbb15e39e43bfce9e35cbe71859db018b587 /src/components
parent9829c0e5facb156cac853390ab4877637bfa410c (diff)
downloadpopov.link-2a86fd34f6d99e43eb586f5e656a6c9cb19657a7.tar.xz
popov.link-2a86fd34f6d99e43eb586f5e656a6c9cb19657a7.zip
Added comments
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Comments.astro32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/components/Comments.astro b/src/components/Comments.astro
new file mode 100644
index 0000000..5fcd65d
--- /dev/null
+++ b/src/components/Comments.astro
@@ -0,0 +1,32 @@
+---
+const category = "Announcements";
+const categoryId = "DIC_kwDOJfmscs4CdNE6";
+const crossorigin = "anonymous";
+const inputPosition = "bottom";
+const lang = "en";
+const mapping = "title";
+const metadata = "0";
+const reactions = "1";
+const repo = "valentineus/valentineus.github.io";
+const repoId = "R_kgDOJfmscg";
+const strict = "1";
+const theme = "transparent_dark";
+---
+
+<script
+ defer
+ src="https://giscus.app/client.js"
+ data-category-id={categoryId}
+ data-category={category}
+ data-emit-metadata={metadata}
+ data-input-position={inputPosition}
+ data-lang={lang}
+ data-mapping={mapping}
+ data-reactions-enabled={reactions}
+ data-repo-id={repoId}
+ data-repo={repo}
+ data-strict={strict}
+ data-theme={theme}
+ crossorigin={crossorigin}
+>
+</script>