Skip to content

Commit 805797f

Browse files
committed
Switch to nav element
1 parent 9289c0d commit 805797f

File tree

1 file changed

+2
-2
lines changed
  • 03-building-a-responsive-navbar/03-making-the-navbar-responsive/src/components

1 file changed

+2
-2
lines changed

03-building-a-responsive-navbar/03-making-the-navbar-responsive/src/components/Navbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
</button>
1414
</div>
1515
</div>
16-
<div :class="isOpen ? 'block' : 'hidden'" class="px-2 pt-2 pb-4 sm:flex sm:p-0">
16+
<nav :class="isOpen ? 'block' : 'hidden'" class="px-2 pt-2 pb-4 sm:flex sm:p-0">
1717
<a href="#" class="block px-2 py-1 text-white font-semibold rounded hover:bg-gray-800">List your property</a>
1818
<a href="#" class="mt-1 block px-2 py-1 text-white font-semibold rounded hover:bg-gray-800 sm:mt-0 sm:ml-2">Trips</a>
1919
<a href="#" class="mt-1 block px-2 py-1 text-white font-semibold rounded hover:bg-gray-800 sm:mt-0 sm:ml-2">Messages</a>
20-
</div>
20+
</nav>
2121
</header>
2222
</template>
2323

0 commit comments

Comments
 (0)