Layout Module
The Layout module provides the core layout infrastructure for the APEX Portal. It defines the main application layout used across all pages and implements the navigation system.
Available Components
- MainLayout: The primary layout component for the APEX Portal application
Usage
The MainLayout component is automatically used by the application's router as the default layout for all pages. It provides:
- A responsive sidebar navigation
- Theme switching capabilities
- A consistent layout structure for all content
@using Apex.Portal.Layout
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
Core Features
- Sidebar Navigation: Dynamic navigation menu with support for hierarchical items
- Theme Switching: Support for light and dark themes with system preference detection
- Responsive Design: Adapts to different screen sizes and devices
- Consistent Branding: Displays the APEX logo and branding elements
Was this page useful?