0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00
Files
popov.link/src/components/Comments.astro
Valentin Popov 16fa8a3b5d feat: enhance accessibility and language support across components
- Updated various components to include `lang` attributes for improved accessibility and SEO.
- Introduced a new `env.d.ts` file to define environment variables for better type safety.
- Adjusted the print width in `.prettierrc.mjs` for improved code formatting.
- Streamlined the `Header`, `PostElement`, and `SocialLinks` components for better structure and clarity.
- Added language support to blog posts and updated the layout to reflect these changes.
2025-06-11 17:49:14 +00:00

33 lines
750 B
Plaintext

---
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/popov.link";
const repoId = "R_kgDOJfmscg";
const strict = "1";
const theme = "transparent_dark";
---
<script
is:inline
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>