Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Mobile Nav DropDown #177

Merged
merged 2 commits into from
Oct 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tailwind_components/navbars/collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import searchNav from "./search_navbar";
const navbarCollections = [
{componentName: "Animated Navbar", component: animated_navbar},
{componentName: "Mobile NavBar Icons", component: mobile_nav_icons},
{componentName: "Mobile Nav DropDown", component: mobile_nav_dropdown},
{componentName: "Mobile Nav DropDown ", component: mobile_nav_dropdown},
{componentName: "Standard Mobile Navbar", component: standard_mobile_navbar},
{componentName: "Search Navbar", component: searchNav},
];
Expand Down
10 changes: 5 additions & 5 deletions tailwind_components/navbars/mobile_nav_dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const mobile_nav_dropdown = stripIndent`
</svg>

<ul class="my-10 mx-8 flex flex-col gap-7 text-xl font-light tracking-wide text-gray-600">
<li class="font-bold hover:text-blue-700">Home</li>
<li class="font-bold hover:text-blue-700">Product</li>
<li class="font-bold hover:text-blue-700">Shop</li>
<li class="font-bold hover:text-blue-700">Pricing</li>
<li class="font-bold hover:text-blue-700">Contact</li>
<li class="font-bold hover:text-blue-700">Home </li>
<li class="font-bold hover:text-blue-700">Product </li>
<li class="font-bold hover:text-blue-700">Shop </li>
<li class="font-bold hover:text-blue-700">Pricing </li>
<li class="font-bold hover:text-blue-700">Contact </li>
<li>
<button id="dropdownDefault" data-dropdown-toggle="dropdown" class="inline-flex items-center text-center font-bold text-gray-600 hover:text-blue-700" type="button">
Dropdown button <svg class="ml-2 h-4 w-4" aria-hidden="true" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg>
Expand Down