From 16fa8a3b5de7dd7c4fa763fecbba0063f6b4369b Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Jun 2025 17:49:14 +0000 Subject: 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. --- src/components/PostElement.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/PostElement.astro') diff --git a/src/components/PostElement.astro b/src/components/PostElement.astro index e5a9c50..2263e92 100644 --- a/src/components/PostElement.astro +++ b/src/components/PostElement.astro @@ -25,10 +25,10 @@ const formattedDate = dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY"
  • - {post.data.title} + {post.data.title}
    - + {remarkPluginFrontmatter.minutesRead} -- cgit v1.2.3