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:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user