mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-04 00:20:26 +03:00
feat: add header component and update blog layout
- Introduced a new Header component for site navigation. - Integrated Header into BaseLayout for consistent site structure. - Updated blog post layout to include the post title in a dedicated section. - Minor update to README for license clarity.
This commit is contained in:
22
src/components/Header.astro
Normal file
22
src/components/Header.astro
Normal file
@ -0,0 +1,22 @@
|
||||
<style lang="scss">
|
||||
@import "../scss/_variables.scss";
|
||||
|
||||
header {
|
||||
padding-bottom: 1rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
margin-right: 1.5rem;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<header>
|
||||
<a href="/">Home</a>
|
||||
<a href="/blog">Blog</a>
|
||||
</header>
|
Reference in New Issue
Block a user