feat: init 'oom' comment provider
This commit is contained in:
parent
64d01a9b45
commit
39a5cb4a9b
5 changed files with 429 additions and 2 deletions
14
src/components/helper/comments/OOM.astro
Normal file
14
src/components/helper/comments/OOM.astro
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue