Improve the landing page

This commit is contained in:
Urtzi Alfaro
2025-11-07 12:00:01 +01:00
parent 547292c89e
commit 980bbd4b61
15 changed files with 4277 additions and 2176 deletions

View File

@@ -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 />} />

View File

@@ -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,