feat(ocr): add whitelist presets and improve UI for OCR tool

refactor: format code and improve mobile menu accessibility
style: fix whitespace and formatting in multiple files
docs: update documentation with better formatting and examples
This commit is contained in:
abdullahalam123
2025-10-20 18:51:49 +05:30
parent 59b351eee4
commit 0e7c53560a
19 changed files with 755 additions and 363 deletions

View File

@@ -5,6 +5,7 @@ Simple Mode is designed for internal organizational use where you want to hide a
## What Simple Mode Does
When enabled, Simple Mode will:
- Hide the navigation bar
- Hide the hero section with marketing content
- Hide the features section
@@ -21,11 +22,13 @@ When enabled, Simple Mode will:
### Using Docker Compose
1. Create a `.env` file in your project root:
```bash
SIMPLE_MODE=true
```
2. Run with docker-compose:
```bash
docker-compose up -d
```
@@ -33,6 +36,7 @@ docker-compose up -d
### Using Docker Build
Build the image with the SIMPLE_MODE environment variable:
```bash
docker build --build-arg SIMPLE_MODE=true -t bentopdf-simple .
```
@@ -40,6 +44,7 @@ docker build --build-arg SIMPLE_MODE=true -t bentopdf-simple .
### Using Environment Variables
Set the environment variable before building:
```bash
export SIMPLE_MODE=true
npm run build
@@ -56,11 +61,13 @@ SIMPLE_MODE=true npm run build
# Serve the built files
npx serve dist -p 3000
```
Then open `http://localhost:3000` in your browser.
## 🔍 What to Look For
When Simple Mode is working correctly, you should see:
- ✅ Clean "PDF Tools" header (no marketing hero section)
- ✅ "Select a tool to get started" subtitle
- ✅ Search bar for tools
@@ -82,4 +89,3 @@ services:
environment:
- SIMPLE_MODE=true
```