Improve the landing page
This commit is contained in:
@@ -6,6 +6,7 @@ import { AppShell } from '../components/layout';
|
||||
|
||||
// Lazy load the pages we actually have
|
||||
const LandingPage = React.lazy(() => import('../pages/public/LandingPage'));
|
||||
const FeaturesPage = React.lazy(() => import('../pages/public/FeaturesPage'));
|
||||
const LoginPage = React.lazy(() => import('../pages/public/LoginPage'));
|
||||
const RegisterPage = React.lazy(() => import('../pages/public/RegisterPage'));
|
||||
const DemoPage = React.lazy(() => import('../pages/public/DemoPage'));
|
||||
@@ -66,6 +67,7 @@ export const AppRouter: React.FC = () => {
|
||||
<Routes>
|
||||
{/* Public Routes */}
|
||||
<Route path="/" element={<LandingPage />} />
|
||||
<Route path="/features" element={<FeaturesPage />} />
|
||||
<Route path="/login" element={<LoginPage />} />
|
||||
<Route path="/register" element={<RegisterPage />} />
|
||||
<Route path="/demo" element={<DemoPage />} />
|
||||
|
||||
@@ -36,6 +36,7 @@ export interface RouteConfig {
|
||||
export const ROUTES = {
|
||||
// Public routes
|
||||
HOME: '/',
|
||||
FEATURES: '/features',
|
||||
LOGIN: '/login',
|
||||
REGISTER: '/register',
|
||||
FORGOT_PASSWORD: '/forgot-password',
|
||||
@@ -216,7 +217,19 @@ export const routesConfig: RouteConfig[] = [
|
||||
hideSidebar: true,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
path: ROUTES.FEATURES,
|
||||
name: 'Features',
|
||||
component: 'FeaturesPage',
|
||||
title: 'Funcionalidades - Bakery-IA',
|
||||
requiresAuth: false,
|
||||
showInNavigation: false,
|
||||
meta: {
|
||||
layout: 'minimal',
|
||||
scrollToTop: true,
|
||||
},
|
||||
},
|
||||
|
||||
// Dashboard
|
||||
{
|
||||
path: ROUTES.DASHBOARD,
|
||||
|
||||
Reference in New Issue
Block a user