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

Navbar menu bug #6

Open
renatoml98 opened this issue Aug 28, 2022 · 1 comment
Open

Navbar menu bug #6

renatoml98 opened this issue Aug 28, 2022 · 1 comment

Comments

@renatoml98
Copy link

If you open the menu on a small screen and then maximize the screen you end up with both menus open.

image

You can fix this by adding "sm:hidden" to the div classname.

menuBug

@eddiemaximchen
Copy link

I can not see any thing on http://localhost:5173/ when editing Navbar.jsx
these are what I wrote so far.
Thanks for the help.

import {useState } from 'react'
import { close,logo,menu } from '../assets';
import { navLinks } from '../constants';

const Navbar = () => {
return (


hoobank



    {navLinks.map((nav,index) => (
    <li
    key={nav.id}
    className={font-poppins font-normal cursor-pointer text-[16px] text-white}

          >
            <a href={`#${nav.id}`}>
                {nav.title}
            </a>
          </li>  
        ))}
    </nav>
    

    )
    }

    export default Navbar

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants