diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Analytics.astro | 2 | ||||
-rw-r--r-- | src/components/Comments.astro | 1 | ||||
-rw-r--r-- | src/components/Header.astro | 4 | ||||
-rw-r--r-- | src/components/PostElement.astro | 4 | ||||
-rw-r--r-- | src/components/Sections/LatestPosts.astro | 4 | ||||
-rw-r--r-- | src/components/Sections/SocialLinks.astro | 6 | ||||
-rw-r--r-- | src/components/Sections/Welcome.astro | 5 |
7 files changed, 13 insertions, 13 deletions
diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro index 8235dea..3be88c7 100644 --- a/src/components/Analytics.astro +++ b/src/components/Analytics.astro @@ -1,2 +1,2 @@ <!-- AppMetrix --> -<script is:inline src="https://appmetrix.com/pixel/T5X0z12SoASBV8Dv"></script> +<script is:inline defer src="https://appmetrix.com/pixel/T5X0z12SoASBV8Dv"></script> diff --git a/src/components/Comments.astro b/src/components/Comments.astro index 5474d89..c2d6531 100644 --- a/src/components/Comments.astro +++ b/src/components/Comments.astro @@ -15,6 +15,7 @@ const theme = "transparent_dark"; <script is:inline + defer src="https://giscus.app/client.js" data-category-id={categoryId} data-category={category} diff --git a/src/components/Header.astro b/src/components/Header.astro index f2089a7..bd04320 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -10,6 +10,6 @@ </style> <header> - <a href="/">Home</a> - <a href="/blog/">Blog</a> + <a href="/" lang="en" aria-label="Home">Home</a> + <a href="/blog/" lang="en" aria-label="Blog">Blog</a> </header> 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" </style> <li> - <a href={`/blog/${post.slug}`}>{post.data.title}</a> + <a href={`/blog/${post.slug}`} lang={post.data.lang}>{post.data.title}</a> <div> <small> - <time datetime={post.data.pubDate.toISOString()}>{formattedDate}</time> + <time datetime={post.data.pubDate.toISOString()} lang="en">{formattedDate}</time> <span>•</span> <span>{remarkPluginFrontmatter.minutesRead}</span> </small> 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) => ( <li> - <a href={`/blog/${post.slug}`}>{post.data.title}</a> + <a href={`/blog/${post.slug}`} lang={post.data.lang}> + {post.data.title} + </a> <small>{dayjs(post.data.pubDate.toString()).format("MMMM DD, YYYY")}</small> </li> )) 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 @@ <section> <div> <a href="https://github.com/valentineus" title="GitHub" target="_blank"> - <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-label="GitHub"> <path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22" > @@ -27,13 +27,13 @@ </svg> </a> <a href="mailto:valentin@popov.link" title="E-Mail" target="_blank"> - <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-label="E-Mail"> <path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path> <polyline points="22,6 12,13 2,6"></polyline> </svg> </a> <a href="/feed.xml" title="RSS" target="_blank"> - <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> + <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-label="RSS"> <path d="M4 11a9 9 0 0 1 9 9"></path> <path d="M4 4a16 16 0 0 1 16 16"></path> <circle cx="5" cy="19" r="1"></circle> 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 @@ <section> <div> <h1>Hi, I'm Valentin Popov 👋</h1> - <p> - 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. - </p> + <p>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.</p> <p>Welcome, and feel free to explore!</p> </div> </section> |