aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-10 17:20:48 +0300
committerGitHub <noreply@github.com>2025-06-10 17:20:48 +0300
commitd74eec1c47a0d4da5c50b70da3fedbdef0cafcc6 (patch)
treeaffd620f3ea07a9054284b7baafbcd9bc33a1879 /src/components/Header.astro
parentd32248742050d59baf83c17a6c6566b3ecdf5614 (diff)
parent9ebcd40f60ffa393a56db850b6a6d0cf15ef4211 (diff)
downloadpopov.link-d74eec1c47a0d4da5c50b70da3fedbdef0cafcc6.tar.xz
popov.link-d74eec1c47a0d4da5c50b70da3fedbdef0cafcc6.zip
Merge pull request #48 from valentineus/header
New Header
Diffstat (limited to 'src/components/Header.astro')
-rw-r--r--src/components/Header.astro22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/Header.astro b/src/components/Header.astro
new file mode 100644
index 0000000..4571a5c
--- /dev/null
+++ b/src/components/Header.astro
@@ -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>