Add missing pages with AppShell layout integration

- Created /track, /insights, /children, /family, /settings, /logout pages
- Wrapped all authenticated pages with AppShell and ProtectedRoute
- Updated AI assistant page to use AppShell layout
- All pages now have proper header/navigation and footer/tabbar
- Added responsive mobile and desktop layouts
- Integrated with existing navigation system

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
andupetcu
2025-09-30 22:05:56 +03:00
parent b48aaded05
commit b62342fe2d
10 changed files with 899 additions and 9 deletions

View File

@@ -0,0 +1,34 @@
'use client';
import { useEffect } from 'react';
import { useAuth } from '@/lib/auth/AuthContext';
import { Box, CircularProgress, Typography } from '@mui/material';
export default function LogoutPage() {
const { logout } = useAuth();
useEffect(() => {
const performLogout = async () => {
await logout();
};
performLogout();
}, [logout]);
return (
<Box
sx={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
minHeight: '100vh',
gap: 2,
}}
>
<CircularProgress />
<Typography variant="body1" color="text.secondary">
Logging out...
</Typography>
</Box>
);
}