'use client'; import { Box, Typography, Grid, Card, CardContent, Button, Avatar, Chip } from '@mui/material'; import { PersonAdd, ContentCopy, People } from '@mui/icons-material'; import { useAuth } from '@/lib/auth/AuthContext'; import { AppShell } from '@/components/layouts/AppShell/AppShell'; import { ProtectedRoute } from '@/components/common/ProtectedRoute'; export default function FamilyPage() { const { user } = useAuth(); const handleInvite = () => { // Invite functionality to be implemented alert('Family invitation feature coming soon!'); }; const handleCopyCode = () => { // Copy share code to clipboard navigator.clipboard.writeText('FAMILY-CODE-123'); alert('Family code copied to clipboard!'); }; return ( Family Manage your family members and share access {/* Family Share Code */} Family Share Code Share this code with family members to give them access to your family's data {/* Family Members */} Family Members {/* Current User */} {user?.name?.charAt(0).toUpperCase()} {user?.name} {user?.email} {/* Empty State */} No other family members yet Invite family members to collaborate on child care ); }