Overview
The dashboard is located atresources/views/dashboard.blade.php:1 and is accessible via the /dashboard route. It serves as the central hub for authenticated users to access all system features.
Route Configuration
Route:GET /dashboard
Route Name: dashboard
Middleware: auth, verified
Defined in: routes/web.php:13
Dashboard Layout
The dashboard uses a responsive grid layout with placeholder sections for future content:Layout Structure
Header Section
Three responsive cards in a grid layout on medium screens and larger
Main Content
Large flexible content area for primary dashboard widgets
Responsive Design
Adapts from single column on mobile to three columns on desktop
App Layout
Uses the application layout wrapper with navigation and settings
Navigation Structure
Primary Navigation
The application layout provides access to:- Dashboard - Home page (
/dashboard) - Clientes - Client management (
/clientes) - Vehiculos - Vehicle management (
/vehiculos) - Documentación - Documentation download (
/documentacion)
Settings Navigation
Accessible from the user profile menu:Profile Settings
Profile Settings
Route:
/settings/profileRoute Name: profile.editMiddleware: authEdit user profile information including name and email.Password Management
Password Management
Route:
/settings/passwordRoute Name: user-password.editMiddleware: auth, verifiedChange user password with current password confirmation.Two-Factor Authentication
Two-Factor Authentication
Route:
/settings/two-factorRoute Name: two-factor.showMiddleware: auth, verified, password.confirm (conditional)Enable and manage two-factor authentication settings.Appearance Settings
Appearance Settings
Route:
/settings/appearanceRoute Name: appearance.editMiddleware: auth, verifiedCustomize UI theme and display preferences.Protected Routes
All dashboard-accessible features require authentication and email verification:The middleware stack ensures users are logged in and have verified their email before accessing any dashboard features.
Home Path Configuration
The dashboard is configured as the home path for authenticated users inconfig/fortify.php:76:
- Successful login redirects to
/dashboard - Successful registration (after email verification) redirects to
/dashboard - Successful password reset redirects to
/dashboard
Welcome Page
Unauthenticated users see a welcome page instead: Route:GET /
Route Name: home
Defined in: routes/web.php:10
The welcome page is publicly accessible and typically includes login/register links.
Dashboard Features
Visual Elements
Grid Cards: Three aspect-ratio cards in the header section- Responsive grid layout (
md:grid-cols-3) - Aspect ratio maintained with
aspect-video - Rounded corners with
rounded-xl - Border styling with
border-neutral-200 dark:border-neutral-700
- Full height with
h-full flex-1 - Overflow handling with
overflow-hidden - Consistent rounded corners and borders
Dark Mode Support
The dashboard includes dark mode styling:- Border colors:
border-neutral-200 dark:border-neutral-700 - Pattern strokes:
stroke-gray-900/20 dark:stroke-neutral-100/20
Feature Access Map
From the dashboard, users can access:Client Management
View, create, edit, and delete client records
Vehicle Management
Manage vehicle inventory linked to clients
Documentation
Download system documentation and reports
Settings
Configure profile, password, 2FA, and appearance
Livewire Integration
Settings pages use Livewire components for reactive interfaces:Livewire provides a reactive, SPA-like experience without writing JavaScript.
Settings Route Group
Settings routes are organized in a separate file atroutes/settings.php:6:
/settings automatically redirects to /settings/profile
Page Title
The dashboard page title is set using the layout component:__('Dashboard') function provides translation support for internationalization.
Future Enhancements
The placeholder patterns in the dashboard suggest areas for future development:- Statistics Cards - Display key metrics (total clients, total vehicles, recent activity)
- Recent Activity - Show recent client or vehicle additions/updates
- Quick Actions - Shortcuts to frequently used features
- Charts and Graphs - Visual representation of data trends
- Notifications - System alerts and user notifications
The current layout provides a flexible foundation for adding dashboard widgets and analytics features.