'use client' import React, { useState } from 'react' import { motion, AnimatePresence } from 'framer-motion' import { X, Minus, Square, Info, UserCircle, Target } from '@phosphor-icons/react' interface HelpModalProps { isOpen: boolean onClose: () => void } export function HelpModal({ isOpen, onClose }: HelpModalProps) { const [windowPos, setWindowPos] = useState({ x: 100, y: 100 }) const [isDragging, setIsDragging] = useState(false) const [dragStart, setDragStart] = useState({ x: 0, y: 0 }) const handleMouseDown = (e: React.MouseEvent) => { if ((e.target as HTMLElement).closest('.window-controls')) return setIsDragging(true) setDragStart({ x: e.clientX - windowPos.x, y: e.clientY - windowPos.y }) } const handleMouseMove = (e: MouseEvent) => { if (isDragging) { setWindowPos({ x: e.clientX - dragStart.x, y: e.clientY - dragStart.y, }) } } const handleMouseUp = () => { setIsDragging(false) } React.useEffect(() => { if (isDragging) { window.addEventListener('mousemove', handleMouseMove) window.addEventListener('mouseup', handleMouseUp) return () => { window.removeEventListener('mousemove', handleMouseMove) window.removeEventListener('mouseup', handleMouseUp) } } }, [isDragging, dragStart, windowPos]) return ( {isOpen && ( <> {/* Backdrop */} {/* Modal */} {/* Ubuntu-style Window Header */}
About This Application
{/* Content */}
{/* Creator Info */}

Created By

Reuben Chagas Fernandes

{/* Purpose */}

Purpose

This application was created for sharing study material and making it easily accessible through Claude. Our goal is to provide a seamless platform for students to collaborate, share resources, and enhance their learning experience.

{/* Features */}

Key Features

  • Easy file upload and sharing
  • Integration with Claude AI
  • Public folder for community sharing
  • Exam calendar and organization tools
  • Web browser with CORS proxy support
  • Gemini AI chat assistant
{/* Footer Button */}
)}
) }