Skip to content

Commit

Permalink
refactor(Comments): 🔥 Remove Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiyanYunyi committed Apr 15, 2024
1 parent e90aae0 commit 92f1f25
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 9 deletions.
31 changes: 22 additions & 9 deletions src/components/Comments.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,28 @@
---

<div class="mt-2">
<div id="comment-container"></div>
<div id="comment-container">
<div class="prose prose-neutral dark:prose-invert min-w-0 max-w-none">
<p>
我遭到了来自<a target="_blank" href="/posts/SexualAssaultNote">性侵</a
>者的持续骚扰,精神状态亦受影响。为了保护我的精神状态,博客评论区无限期关闭。
</p>
<p>
在评论区发言即代表已做好被公开的准备,故将其在两周左右时间内发布的近万字骚扰言论公布。<a
target="_blank"
href="/CommentFromSexualAssaultNote">打开</a
>阅读前,请务必确保自身精神状况。
</p>
</div>
</div>
<script>
import Sodesu from 'sodesu-comment';
Sodesu.init({
el: '#comment-container',
serverURL: 'https://waline.penclub.club/',
dark: 'html.dark',
pageview: !import.meta.env.DEV,
commentClassName: 'prose prose-neutral dark:prose-invert min-w-0 max-w-none',
});
// import Sodesu from 'sodesu-comment';
// Sodesu.init({
// el: '#comment-container',
// serverURL: 'https://waline.penclub.club/',
// dark: 'html.dark',
// pageview: !import.meta.env.DEV,
// commentClassName: 'prose prose-neutral dark:prose-invert min-w-0 max-w-none',
// });
</script>
</div>
Loading

0 comments on commit 92f1f25

Please sign in to comment.