Add RSS icon

This commit is contained in:
Jeremy Dormitzer 2020-12-10 14:46:17 -05:00
parent 2bede8ed64
commit 167fccb9de
3 changed files with 23 additions and 0 deletions

View File

@ -14,6 +14,11 @@
<span>Jeremy Dormitzer</span>
<a href="/">Home</a>
<a href="/blog">Blog</a>
<div class="social-icons">
<a href="/blog/feed.xml">
<img src="/images/rss.svg">
</a>
</div>
</nav>
</div>
</header>

View File

@ -34,12 +34,25 @@ header {
nav {
width: 100%;
display: flex;
margin-top: 8px;
}
nav > * + * {
margin-left: 24px;
}
.social-icons {
margin: auto;
display: flex;
align-items: center;
justify-content: flex-end;
flex-grow: 1;
}
.social-icons img {
margin-bottom: 0;
}
main {
margin-top: 60px;
}

View File

@ -16,6 +16,11 @@
<span>Jeremy Dormitzer</span>
<a href="/">Home</a>
<a href="/blog">Blog</a>
<div class="social-icons">
<a href="/blog/feed.xml">
<img src="/images/rss.svg">
</a>
</div>
</nav>
</div>
</header>