'use client';
import {
Dialog,
DialogTitle,
DialogContent,
DialogActions,
Button,
Typography,
Box,
IconButton,
} from '@mui/material';
import { Close } from '@mui/icons-material';
import { TermsContent } from './TermsContent';
import { PrivacyContent } from './PrivacyContent';
import { EULAContent } from './EULAContent';
interface LegalDocumentViewerProps {
open: boolean;
onClose: () => void;
documentType: 'terms' | 'privacy' | 'eula' | 'cookies';
title: string;
}
export function LegalDocumentViewer({ open, onClose, documentType, title }: LegalDocumentViewerProps) {
const lastUpdated = 'October 4, 2025';
const getContent = () => {
switch (documentType) {
case 'terms':
return ;
case 'privacy':
return ;
case 'eula':
return ;
default:
return (
Document content not available. Please visit the{' '}
full page
.
);
}
};
return (
);
}