@php // App-style bottom tab bar shown on small screens only. The four primary // destinations plus a "More" tab that opens the full slide-in sidebar // (which carries every other link, including the super-admin section). $tabs = [ ['route' => 'dashboard', 'pattern' => 'dashboard', 'label' => __('Home'), 'icon' => 'home'], ['route' => 'invoices.index', 'pattern' => 'invoices.*', 'label' => __('Invoices'), 'icon' => 'document-currency-dollar'], ['route' => 'jobs.index', 'pattern' => 'jobs.*', 'label' => __('Jobs'), 'icon' => 'briefcase'], ['route' => 'quotes.index', 'pattern' => 'quotes.*', 'label' => __('Quotes'), 'icon' => 'document-text'], ]; // Household-only workspace: swap the business tabs for household ones. if (Auth::user()?->currentTeam?->settings?->household_enabled) { $tabs = [ ['route' => 'household.dashboard', 'pattern' => 'household.dashboard', 'label' => __('Home'), 'icon' => 'home'], ['route' => 'household.income.index', 'pattern' => 'household.income.*', 'label' => __('Income'), 'icon' => 'currency-dollar'], ['route' => 'household.expenses.index', 'pattern' => 'household.expenses.*', 'label' => __('Expenses'), 'icon' => 'receipt-percent'], ['route' => 'household.reports.index', 'pattern' => 'household.reports.*', 'label' => __('Insights'), 'icon' => 'chart-bar'], ]; } @endphp {{-- The dock sits on the same horizontal rhythm as the header bar and every page section (px-4 / sm:px-6), so the three read as one column rather than the bar running edge-to-edge under content that is inset. max-w-lg keeps it from stretching absurdly on a tablet held in portrait. --}}