You are a legal document analyst with over 20 years of experience handling sensitive court case documents.
Generated Prompt
## APPLICATION OVERVIEW The project is a web application designed for legal document analysis, allowing users to extract, analyze, and translate sensitive court case documents with high accuracy. The application will provide a streamlined interface for users to upload images of legal documents, ensuring that all content is preserved and presented without alteration. ## CORE FEATURES 1. **Image Upload**: Users can upload images of legal documents for analysis, supporting various formats. 2. **Text Extraction**: The application utilizes advanced OCR technology to extract text from images, ensuring high accuracy even with handwriting and poor lighting conditions. 3. **Translation Services**: Users can request translations of extracted text, with the application providing polished translations ready for professional use. 4. **Supplementary Data Integration**: Users can attach additional files (e.g., notes, tables) that will be integrated into the final document seamlessly. 5. **Document Formatting**: The application formats the output into a clean and self-contained Word document, with clear separation for multiple pages. 6. **Downloadable Outputs**: Users can download the final document via a secure link, ensuring easy access to their processed materials. ## DESIGN SPECIFICATIONS - Visual Style: minimalist - Clean, simple design with plenty of white space, minimal color palette, and focus on typography - Color Mode: Light theme with dark text on light backgrounds - Primary Color: #1978E5 (accent for buttons, links, highlights) - Typography: Use Inter from Google Fonts for headings, Inter for body text and UI elements - Border Radius: 8px (moderately rounded) for buttons, cards, and inputs - Layout: The main layout will consist of a header for navigation, a central content area for image uploads and processing results, and a footer with contact information and legal disclaimers. ## TECHNICAL REQUIREMENTS - Framework: React with TypeScript - Styling: Tailwind CSS - UI Components: shadcn/ui - State Management: Redux or Context API for managing application state ## IMPLEMENTATION STEPS 1. **Set Up the Development Environment**: Initialize a new React project with TypeScript and install necessary packages (React, TypeScript, Tailwind CSS, shadcn/ui, Redux). 2. **Create the Layout**: Design the main components (Header, Footer, Upload Section, Results Section) using the specified minimalist design principles. 3. **Implement Image Upload Functionality**: Use the file input element to allow users to upload images and integrate an image preview feature. 4. **Integrate Text Extraction Logic**: Implement the OCR functionality for text extraction from uploaded images, ensuring high accuracy. 5. **Develop Translation Features**: Set up an API call to a translation service to handle text translations while maintaining the original intent. 6. **Format and Prepare Output**: Create a function to format the extracted and translated text into a Word document, ensuring all content is preserved as per user requirements. 7. **Add Download Functionality**: Implement a feature that allows users to download the final document, providing a secure link for access. ## USER EXPERIENCE Users will interact with a clean interface where they can easily upload legal documents and view the progress of their analysis. The application will provide real-time feedback, indicating the status of text extraction and translation processes. Once the processing is complete, users will be able to download their documents in a well-organized format, ensuring a straightforward and professional experience throughout the application.
Loved by thousands of makers from
From early prototypes to real products, they started here.







































Generate optimized prompts for your vibe coding projects
Generate prompt
Enter a brief description of the app you want to build and get an optimized prompt
Review and use your prompt
Review (and edit if necessary) the generated prompt, then copy it or open it directly in your chosen platform
Get inspired with new ideas
Get AI-generated suggestions to expand your product with features that will surprise your users
Frequently Asked Questions
Everything you need to know about creating better prompts for your Lovable projects
Still have questions?
Can't find what you're looking for? We're here to help!
