aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-12 02:20:36 +0300
committerValentin Popov <valentin@popov.link>2025-06-12 02:20:36 +0300
commit67f245a48faf6e89989aca2ea571b657fd4c8888 (patch)
tree110c7f4f842d30ef1c79d916d40e143d30adec5a /src/components/Header.astro
parent16fa8a3b5de7dd7c4fa763fecbba0063f6b4369b (diff)
downloadpopov.link-67f245a48faf6e89989aca2ea571b657fd4c8888.tar.xz
popov.link-67f245a48faf6e89989aca2ea571b657fd4c8888.zip
feat: integrate schema.org support and enhance component structure
- Added schema.org support by introducing `schema-dts` for structured data in components. - Updated `Head`, `BaseLayout`, and various page components to accept and utilize schema props for better SEO. - Created new utility schemas for blog posts and website to standardize structured data implementation. - Enhanced the `SocialLinks` section by utilizing dedicated icon components for improved maintainability. - Refactored the `Header` component to improve accessibility and structure. - Introduced new icons for social links and integrated them into the layout.
Diffstat (limited to 'src/components/Header.astro')
-rw-r--r--src/components/Header.astro7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/Header.astro b/src/components/Header.astro
index bd04320..f9a0c57 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -1,7 +1,6 @@
<style lang="scss">
a {
margin-right: 1.5rem;
- text-decoration: none;
&:last-child {
margin-right: 0;
@@ -10,6 +9,8 @@
</style>
<header>
- <a href="/" lang="en" aria-label="Home">Home</a>
- <a href="/blog/" lang="en" aria-label="Blog">Blog</a>
+ <nav aria-label="Navigation">
+ <a href="/" lang="en" aria-label="Home">Home</a>
+ <a href="/blog/" lang="en" aria-label="Blog">Blog</a>
+ </nav>
</header>