Skip to content

Commit 1d4e7fa

Browse files
committed
Refactor header navigation for improved structure and styling
1 parent 5d29071 commit 1d4e7fa

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

_includes/header.html

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,26 @@
1212
{% endfor %}
1313
</span>
1414
</div>
15-
<!-- DEBUG: Navigation should appear here -->
16-
<nav class="site-nav" style="display: block !important; background: red; padding: 10px;">
17-
<a href="/about/" style="color: white; margin-right: 20px;">About</a>
18-
<a href="/archive/" style="color: white; margin-right: 20px;">Archive</a>
19-
<a href="/tags/" style="color: white; margin-right: 20px;">Tags</a>
15+
<div class="site-header">
16+
<div class="wrapper">
17+
<div class="header-top">
18+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}<b class="command_prompt"></b><b class="blinking_cursor">_</b></a>
19+
<span class="social_links">
20+
{% for link in site.dash.social_links %}
21+
{% if link.fa == true %}
22+
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"{% if link.rel %} rel="{{ link.rel }}"{% endif %}><i class="fa fa-{{ link.icon }}"></i></a>
23+
{% else %}
24+
<a class="color-{{ link.color }}-hover" href="{{ link.url }}"{% if link.rel %} rel="{{ link.rel }}"{% endif %}><i class="fab fa-{{ link.icon }}"></i></a>
25+
{% endif %}
26+
{% endfor %}
27+
</span>
28+
</div>
29+
<nav class="site-nav" style="display: block; border-top: 1px solid rgba(255, 167, 196, 0.3); padding-top: 0.75em; margin-top: 0.5em; width: 100%;">
30+
<a href="/about/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em; font-weight: 500;">About</a>
31+
<a href="/archive/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em; font-weight: 500;">Archive</a>
32+
<a href="/tags/" style="display: inline-block; margin-right: 2em; color: #ffa7c4; text-decoration: none; font-size: 1em; font-weight: 500;">Tags</a>
2033
</nav>
21-
<!-- DEBUG: End navigation -->
34+
</div>
35+
</div>
2236
</div>
2337
</div>

0 commit comments

Comments
 (0)