Add "Ayuda" page and update navigation to support new view

Introduced the `HelpPage` component to provide user guidance, troubleshooting tips, and quick-start instructions. Updated navigation and dynamic header title logic to include the new "help" view. Adjusted `App.js` to handle the new view state and display `HelpPage`.
This commit is contained in:
2025-11-22 22:22:20 -04:00
parent 48505fe3b5
commit c346e1ad53
2 changed files with 100 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ import ScheduledPage from './components/Scheduled/ScheduledPage';
import NewRequestPage from './components/Requests/NewRequestPage';
import HistoryPage from './components/History/HistoryPage';
import SettingsPage from './components/Settings/SettingsPage';
import HelpPage from './components/Help/HelpPage';
function App() {
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
@@ -60,6 +61,8 @@ function App() {
? 'Historial'
: activeView === 'settings'
? 'Configuración'
: activeView === 'help'
? 'Ayuda'
: 'Dashboard';
return (
@@ -80,6 +83,8 @@ function App() {
<HistoryPage />
) : activeView === 'settings' ? (
<SettingsPage />
) : activeView === 'help' ? (
<HelpPage />
) : (
<section className="content-wrapper">
<DashboardCards />