{# Global search removed duplicate header; primary header below handles search #} {% comment %} Enhanced Header Component - Matches React Frontend Design Includes: Browse menu, advanced search, theme toggle, user dropdown, mobile menu ACCESSIBILITY PATTERNS: - All dropdown menus use aria-expanded and aria-haspopup for screen readers - Menu items use role="menu" and role="menuitem" for proper ARIA semantics - Search inputs have associated labels (sr-only) for screen reader accessibility - Theme toggle uses aria-pressed state to announce current mode - Mobile menu uses role="dialog" with aria-modal for modal semantics - Focus management: Tab, Enter, Escape keys supported on all interactive elements - Keyboard navigation: Arrow keys for menu items (handled by Alpine.js) {% endcomment %} {% load static %}
{% if user.is_authenticated %}
{% else %}
{% include 'components/ui/button.html' with variant='outline' size='sm' text='Login' %}
{% include 'components/ui/button.html' with variant='default' size='sm' text='Join' %}
{% endif %}