diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-11 18:56:06 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-11 18:56:06 +0300 |
commit | 6fe5df4e32ce7e7e4a2709bef4c7c881f1cc717e (patch) | |
tree | 6b589d24e97cabb870a7551515e7a3bac37d4730 /src/components/Header.astro | |
parent | 26de615385876fbb91d7a52759cf98b5aa4da860 (diff) | |
download | popov.link-6fe5df4e32ce7e7e4a2709bef4c7c881f1cc717e.tar.xz popov.link-6fe5df4e32ce7e7e4a2709bef4c7c881f1cc717e.zip |
refactor: simplify Header component by removing site title and navigation wrapper
- Removed the site title and navigation links wrapper from the Header component for a cleaner structure.
- Updated styles to reflect these changes, streamlining the component's layout.
Diffstat (limited to 'src/components/Header.astro')
-rw-r--r-- | src/components/Header.astro | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/src/components/Header.astro b/src/components/Header.astro index 52c0ca8..f2089a7 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,24 +1,4 @@ <style lang="scss"> - @use "../scss/variables" as *; - - header { - padding-bottom: 1rem; - position: relative; - } - - .site-title { - color: $colorText; - font-weight: bold; - left: 0; - position: absolute; - text-decoration: none; - top: 0; - } - - .nav-links { - text-align: right; - } - a { margin-right: 1.5rem; text-decoration: none; @@ -30,9 +10,6 @@ </style> <header> - <a class="site-title" href="/">{import.meta.env.DEFAULT_TITLE}</a> - <div class="nav-links"> - <a href="/">Home</a> - <a href="/blog/">Blog</a> - </div> + <a href="/">Home</a> + <a href="/blog/">Blog</a> </header> |