From a373337aeb01e2cc23dd0c5d385fd3d6a35fe79a Mon Sep 17 00:00:00 2001 From: sergeyyarkov Date: Wed, 8 Feb 2023 22:54:15 +0300 Subject: [PATCH] disqus comment system --- README.md | 4 +- .../ArticleComments/ArticleComments.astro | 54 ++++++++++++------- src/components/ArticlePost/ArticlePost.astro | 3 +- src/styles/theme.scss | 7 +++ 4 files changed, 45 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index a862d03..1556a3e 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ Personal website created with Astro. - [x] Multilang web-site - [x] Prefetch pages via [Quicklink](https://getquick.link/) - [x] Form handling via [Netlify Forms](https://www.netlify.com/products/forms/) -- [x] Comment system via [utterances](https://utteranc.es/) +- [x] Comment system via [Disqus](https://disqus.com/) - [x] RSS Feed for articles - [x] SEO optimized -- [x] Views counter +- [x] Views counter ## License diff --git a/src/components/ArticleComments/ArticleComments.astro b/src/components/ArticleComments/ArticleComments.astro index 05fee3d..3b5543b 100644 --- a/src/components/ArticleComments/ArticleComments.astro +++ b/src/components/ArticleComments/ArticleComments.astro @@ -1,29 +1,43 @@ --- -import UIString from "../UIString"; +interface Props { + url: string; + id: string; +} + +const { url, id } = Astro.props as Props; --- -