diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-12 02:20:36 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-12 02:20:36 +0300 |
commit | 67f245a48faf6e89989aca2ea571b657fd4c8888 (patch) | |
tree | 110c7f4f842d30ef1c79d916d40e143d30adec5a /src/components/Icons/GitHub.astro | |
parent | 16fa8a3b5de7dd7c4fa763fecbba0063f6b4369b (diff) | |
download | popov.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/Icons/GitHub.astro')
-rw-r--r-- | src/components/Icons/GitHub.astro | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/Icons/GitHub.astro b/src/components/Icons/GitHub.astro new file mode 100644 index 0000000..39a6c1f --- /dev/null +++ b/src/components/Icons/GitHub.astro @@ -0,0 +1,22 @@ +<style lang="scss"> + @use "../../scss/variables" as *; + + a { + color: $colorText; + display: inline-block; + margin: 0 0.5rem; + } + + svg { + vertical-align: middle; + } +</style> + +<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" 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" + > + </path> + </svg> +</a> |