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/Sections/LatestPosts.astro | 4 +++- src/components/Sections/SocialLinks.astro | 6 +++--- src/components/Sections/Welcome.astro | 5 +---- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src/components/Sections') diff --git a/src/components/Sections/LatestPosts.astro b/src/components/Sections/LatestPosts.astro index 04ce9fe..070dc46 100644 --- a/src/components/Sections/LatestPosts.astro +++ b/src/components/Sections/LatestPosts.astro @@ -26,7 +26,9 @@ const latestPosts = posts.slice(0, 5); { latestPosts.map((post) => (
  • - {post.data.title} + + {post.data.title} + {dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY")}
  • )) diff --git a/src/components/Sections/SocialLinks.astro b/src/components/Sections/SocialLinks.astro index ff04834..53b8243 100644 --- a/src/components/Sections/SocialLinks.astro +++ b/src/components/Sections/SocialLinks.astro @@ -19,7 +19,7 @@
    - + @@ -27,13 +27,13 @@ - + - + diff --git a/src/components/Sections/Welcome.astro b/src/components/Sections/Welcome.astro index acbeeac..8056202 100644 --- a/src/components/Sections/Welcome.astro +++ b/src/components/Sections/Welcome.astro @@ -1,10 +1,7 @@

    Hi, I'm Valentin Popov 👋

    -

    - I'm a professional software developer currently working as a project manager and team lead. On my personal website, I share thoughts on tech, leadership, and digital - life. -

    +

    I'm a professional software developer currently working as a project manager and team lead. On my personal website, I share thoughts on tech, leadership, and digital life.

    Welcome, and feel free to explore!

    -- cgit v1.2.3