AppNav

App

Yatay navigasyon çubuğu. Masaüstünde inline linkler, mobilde hamburger drawer açar. logoContent, navItems ve children slotları. sticky ve bordered seçenekleri.

Marketing bar (logo + links + CTA)

Preview
Acme
Code
<%- include('modules/app/AppNav', {
  logoContent: 'Acme',
  navItems: [
    { label: 'Home',     href: '/',         active: currentPath === '/' },
    { label: 'Features', href: '/features', active: currentPath === '/features' },
    { label: 'Pricing',  href: '/pricing',  active: currentPath === '/pricing' },
    { label: 'Docs',     href: '/docs',     active: currentPath === '/docs' },
  ],
  children: `
    <%- include('modules/ui/Button', { variant: 'outline', children: 'Sign in', href: '/login' }) %>
    <%- include('modules/ui/Button', { children: 'Get started', href: '/register' }) %>
  `
}) %>

App bar (links + UserMenu)

Preview
Code
<%- include('modules/app/AppNav', {
  logoContent: 'Dashboard',
  navItems: [
    { label: 'Overview',  href: '/dashboard',           active: true },
    { label: 'Analytics', href: '/dashboard/analytics'  },
    { label: 'Projects',  href: '/dashboard/projects'   },
    { label: 'Team',      href: '/dashboard/team'       },
  ],
  children: `
    <%- include('modules/domain/common/user/UserMenu', { name: user.name, role: user.role }) %>
  `
}) %>
Source modules/app/AppNav.ejs