Header: ☰ menu where the links do not fit; famous people in the menus
- Logged out below 1240px and logged in below 1380px the link rows give way to a ☰ menu (with the "Ingyenes" group when logged out); on phones the account button is an icon and the package pill makes room. - "Híres emberek" in the free links of the header, among the free cards of the home page and in the menu of logged-in users. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -6,7 +6,7 @@ import { usePathname } from "next/navigation";
|
||||
export function NavLinks({ links }: { links: { href: string; label: string }[] }) {
|
||||
const pathname = usePathname();
|
||||
return (
|
||||
<nav className="nav" aria-label="Fő navigáció">
|
||||
<nav className="nav app-nav" aria-label="Fő navigáció">
|
||||
{links.map((l) => (
|
||||
<Link key={l.href} href={l.href} aria-current={pathname.startsWith(l.href) ? "page" : undefined}>
|
||||
{l.label}
|
||||
|
||||
Reference in New Issue
Block a user