refactor(principal): remove legenda global do AppShell
This commit is contained in:
@@ -2,14 +2,13 @@ import { useEffect, useMemo, useState } from 'react'
|
||||
|
||||
import { profileRepository } from '../repositories/profileRepository.js'
|
||||
import { BrandLogo } from './Brand.jsx'
|
||||
import { FeatureLegend } from './FeatureState.jsx'
|
||||
|
||||
const navItems = [
|
||||
{ href: '/inicio', label: 'Painel', icon: 'pulse', activePaths: ['/inicio', '/home', '/dashboard'] },
|
||||
{ href: '/agenda', label: 'Agenda', icon: 'calendar' },
|
||||
{ href: '/pacientes', label: 'Pacientes', icon: 'users', exact: true },
|
||||
{ href: '/prontuario', label: 'Prontuario', icon: 'file' },
|
||||
{ href: '/laudos', label: 'Laudos', icon: 'clipboard' },
|
||||
{ href: '/laudos', label: 'Relatorios medicos', icon: 'clipboard' },
|
||||
{
|
||||
href: '/camunicacao',
|
||||
label: 'Comunicacao',
|
||||
@@ -26,7 +25,7 @@ const titles = {
|
||||
'/dashboard': 'Painel',
|
||||
'/agenda': 'Agenda',
|
||||
'/consultas': 'Consultas',
|
||||
'/laudos': 'Laudos',
|
||||
'/laudos': 'Relatorios medicos',
|
||||
'/pacientes': 'Pacientes',
|
||||
'/prontuario': 'Prontuario',
|
||||
'/camunicacao': 'Comunicacao',
|
||||
@@ -198,9 +197,6 @@ export function AppShell({ children, currentPath, navigate, routeTitle }) {
|
||||
</header>
|
||||
|
||||
<main className="w-full px-4 py-6 md:px-8 md:py-8" id="app-content">
|
||||
<div className="mb-6">
|
||||
<FeatureLegend />
|
||||
</div>
|
||||
<div className="sr-only" aria-live="polite">
|
||||
{pageTitle}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user