import React from 'react'; import { Book, File, Folder } from 'lucide-react'; import { Card } from '../../components/ui/card'; const mockResources = [ { id: '1', type: 'folder', name: 'Biology', itemCount: 12, }, { id: '2', type: 'folder', name: 'Physics', itemCount: 8, }, { id: '3', type: 'file', name: 'Math Notes.pdf', size: '2.4 MB', }, { id: '4', type: 'book', name: 'Chemistry Textbook', author: 'John Smith', }, ]; function StudyResources() { return (

Study Resources

{mockResources.map((resource) => (
{resource.type === 'folder' && } {resource.type === 'file' && } {resource.type === 'book' && }

{resource.name}

{resource.type === 'folder' && (

{resource.itemCount} items

)} {resource.type === 'file' && (

{resource.size}

)} {resource.type === 'book' && (

By {resource.author}

)}
))}
); } export default StudyResources;