Skip to content

Commit 4b800d4

Browse files
authored
feat: new tutorials nav (#298)
Signed-off-by: Jaime Silvela <[email protected]>
1 parent 5e73180 commit 4b800d4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

layouts/partials/nav.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--Navbar starts here-->
2-
<main>
2+
<nav>
33
<header>
44
<div class="md:flex md:flex-row md:px-16 md:justify-between py-5">
55
<div class="flex justify-between px-4 md:hidden">
@@ -22,6 +22,7 @@
2222
<div class="hidden md:block">
2323
<ul class="md:flex gap-14 text-2xl medium-gray my-5">
2424
<li><a href="/blog">Blog</a></li>
25+
<li><a href="/tags/tutorial">Tutorials</a></li>
2526
<li><a href="/releases">Releases</a></li>
2627
<li><a href="/docs">Documentation</a></li>
2728
<li><a href="/support">Support</a></li>
@@ -32,6 +33,7 @@
3233
<div class="py-4 bg-gray-1 mt-5 hidden" id="navi-list">
3334
<ul class="md:flex gap-14 text-2xl md:medium-gray charcoal">
3435
<li class="text-center py-4"><a href="/blog">Blog</a></li>
36+
<li class="text-center py-4"><a href="/tags/tutorial">Tutorials</a></li>
3537
<li class="text-center py-4"><a href="/releases">Releases</a></li>
3638
<li class="text-center py-4"><a href="/docs">Documentation</a></li>
3739
<li class="text-center py-4"><a href="/support">Support</a></li>
@@ -70,7 +72,7 @@
7072
</div>
7173
</div>
7274
</header>
73-
</main>
75+
</nav>
7476
<script>
7577
const toggleButton = document.getElementById('toggle-button')
7678
const naviList = document.getElementById('navi-list')

0 commit comments

Comments
 (0)