feat: init 'oom' comment provider

This commit is contained in:
草师傅 2025-07-21 23:14:16 +08:00
parent 64d01a9b45
commit 39a5cb4a9b
Signed by: gb
GPG key ID: 43330A030E2D6478
5 changed files with 429 additions and 2 deletions

View file

@ -0,0 +1,14 @@
---
import Comments from "../../../assets/js/oom-comments.js";
import "../../../assets/css/oom-styles.css";
//Register the custom element with your desired name
customElements.define("oom-comments", Comments);
const { mastodonLink, bskyLink } = Astro.props;
---
<oom-comments
mastodon={mastodonLink}
bluesky={bskyLink}
cache="600" >
No comments yet
</oom-comments>