diff --git a/frontend/public/images/logos/motovaultpro-logo-only.png b/frontend/public/images/logos/motovaultpro-logo-only.png index b299fe5..0b6aaa9 100644 Binary files a/frontend/public/images/logos/motovaultpro-logo-only.png and b/frontend/public/images/logos/motovaultpro-logo-only.png differ diff --git a/frontend/public/images/logos/motovaultpro-logo-title.png b/frontend/public/images/logos/motovaultpro-logo-title.png new file mode 100644 index 0000000..13f1bef Binary files /dev/null and b/frontend/public/images/logos/motovaultpro-logo-title.png differ diff --git a/frontend/public/images/logos/motovaultpro-title-slogan.png b/frontend/public/images/logos/motovaultpro-title-slogan.png new file mode 100644 index 0000000..e830b06 Binary files /dev/null and b/frontend/public/images/logos/motovaultpro-title-slogan.png differ diff --git a/frontend/public/images/logos/motovaultpro-title.png b/frontend/public/images/logos/motovaultpro-title.png deleted file mode 100644 index 3b29d76..0000000 Binary files a/frontend/public/images/logos/motovaultpro-title.png and /dev/null differ diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index ccee9ea..8bb21b1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -8,9 +8,7 @@ import { Routes, Route, Navigate, useLocation } from 'react-router-dom'; import { useAuth0 } from '@auth0/auth0-react'; import { useIsAuthInitialized } from './core/auth/auth-gate'; import { motion, AnimatePresence } from 'framer-motion'; -import { ThemeProvider } from '@mui/material/styles'; -import CssBaseline from '@mui/material/CssBaseline'; -import { md3Theme } from './shared-minimal/theme/md3Theme'; +import { ThemeProvider } from './shared-minimal/theme/ThemeContext'; import { Layout } from './components/Layout'; import { UnitsProvider } from './core/units/UnitsContext'; @@ -451,8 +449,7 @@ function App() { if (isLoading) { if (mobileMode) { return ( - - +
Loading...
@@ -462,8 +459,7 @@ function App() { ); } return ( - - +
Loading...
@@ -474,8 +470,7 @@ function App() { // Callback route requires authentication - handled by CallbackPage component if (isCallbackRoute && isAuthenticated) { return ( - - +
Processing login...
@@ -490,8 +485,7 @@ function App() { if (shouldShowHomePage) { return ( - - + @@ -501,8 +495,7 @@ function App() { // Signup route is public - no authentication required if (isSignupRoute) { return ( - - +
Loading...
@@ -519,8 +512,7 @@ function App() { // (Auth0 blocks unverified users from logging in) if (isVerifyEmailRoute) { return ( - - +
Loading...
@@ -539,8 +531,7 @@ function App() { if (isOnboardingRoute) { return ( - - +
Loading...
@@ -559,8 +550,7 @@ function App() { console.log('[DEBUG App] Auth gate not ready yet, showing loading state'); if (mobileMode) { return ( - - +
Initializing session...
@@ -570,8 +560,7 @@ function App() { ); } return ( - - +
Initializing session...
@@ -582,8 +571,7 @@ function App() { // Mobile app rendering if (mobileMode) { return ( - - + @@ -881,8 +869,7 @@ function App() { // Desktop app rendering (fallback) return ( - - + diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index d7043ec..472809f 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -6,7 +6,6 @@ import React from 'react'; import { useAuth0 } from '@auth0/auth0-react'; import { Link, useLocation } from 'react-router-dom'; import { Container, Paper, Typography, Box, IconButton, Avatar } from '@mui/material'; -import { useTheme } from '@mui/material/styles'; import DirectionsCarRoundedIcon from '@mui/icons-material/DirectionsCarRounded'; import LocalGasStationRoundedIcon from '@mui/icons-material/LocalGasStationRounded'; import BuildRoundedIcon from '@mui/icons-material/BuildRounded'; @@ -28,7 +27,6 @@ export const Layout: React.FC = ({ children, mobileMode = false }) const { user, logout } = useAuth0(); const { sidebarOpen, toggleSidebar, setSidebarOpen } = useAppStore(); const location = useLocation(); - const theme = useTheme(); // Ensure desktop has a visible navigation by default (only on mount) React.useEffect(() => { @@ -67,7 +65,11 @@ export const Layout: React.FC = ({ children, mobileMode = false }) {/* App header */}
-
MotoVaultPro
+ MotoVaultPro
v1.0
@@ -107,31 +109,31 @@ export const Layout: React.FC = ({ children, mobileMode = false }) flexDirection: 'column' }} > - - - MotoVaultPro - + MotoVaultPro - + {navigation.map((item) => { @@ -151,15 +153,15 @@ export const Layout: React.FC = ({ children, mobileMode = false }) mb: 0.5, borderRadius: 2, transition: 'all 0.2s', - backgroundColor: isActive - ? theme.palette.primary.main + '12' + backgroundColor: isActive + ? 'primary.main' : 'transparent', - color: isActive - ? 'primary.main' + color: isActive + ? '#FFFFFF' : 'text.primary', '&:hover': { - backgroundColor: isActive - ? theme.palette.primary.main + '18' + backgroundColor: isActive + ? 'primary.dark' : 'action.hover', } }} diff --git a/frontend/src/features/documents/components/DocumentForm.tsx b/frontend/src/features/documents/components/DocumentForm.tsx index b756b22..252f8aa 100644 --- a/frontend/src/features/documents/components/DocumentForm.tsx +++ b/frontend/src/features/documents/components/DocumentForm.tsx @@ -160,7 +160,7 @@ export const DocumentForm: React.FC = ({ onSuccess, onCancel
setDocumentType(e.target.value as DocumentType)} > @@ -188,7 +188,7 @@ export const DocumentForm: React.FC = ({ onSuccess, onCancel
= ({ onSuccess, onCancel
setInsuranceCompany(e.target.value)} @@ -215,7 +215,7 @@ export const DocumentForm: React.FC = ({ onSuccess, onCancel
setPolicyNumber(e.target.value)} @@ -262,7 +262,7 @@ export const DocumentForm: React.FC = ({ onSuccess, onCancel
= ({ onSuccess, onCancel
= ({ onSuccess, onCancel
= ({ onSuccess, onCancel
= ({ onSuccess, onCancel
setLicensePlate(e.target.value)} @@ -336,7 +336,7 @@ export const DocumentForm: React.FC = ({ onSuccess, onCancel
= ({ onSuccess, onCancel type="checkbox" checked={scanForMaintenance} onChange={(e) => setScanForMaintenance(e.target.checked)} - className="w-5 h-5 rounded border-slate-300 text-primary-600 focus:ring-primary-500" + className="w-5 h-5 rounded border-slate-300 text-primary-600 focus:ring-primary-500 dark:border-silverstone dark:focus:ring-abudhabi" /> Scan for Maintenance Schedule @@ -367,7 +367,7 @@ export const DocumentForm: React.FC = ({ onSuccess, onCancel