Seth commited on
Commit ·
f0ec480
1
Parent(s): 3d5a179
update
Browse files
frontend/src/components/ocr/UpgradeModal.jsx
CHANGED
|
@@ -85,7 +85,7 @@ export default function UpgradeModal({ open, onClose }) {
|
|
| 85 |
<Sparkles className="h-4 w-4" />
|
| 86 |
<span className="text-sm font-medium">Trial Limit Reached</span>
|
| 87 |
</div>
|
| 88 |
-
<h2 className="text-3xl font-bold mb-2">You've processed
|
| 89 |
<p className="text-white/80 text-lg">Continue with production-ready document intelligence</p>
|
| 90 |
</motion.div>
|
| 91 |
</div>
|
|
|
|
| 85 |
<Sparkles className="h-4 w-4" />
|
| 86 |
<span className="text-sm font-medium">Trial Limit Reached</span>
|
| 87 |
</div>
|
| 88 |
+
<h2 className="text-3xl font-bold mb-2">You've processed 5 documents</h2>
|
| 89 |
<p className="text-white/80 text-lg">Continue with production-ready document intelligence</p>
|
| 90 |
</motion.div>
|
| 91 |
</div>
|
frontend/src/pages/Dashboard.jsx
CHANGED
|
@@ -26,7 +26,7 @@ export default function Dashboard() {
|
|
| 26 |
const [isLoadingFromHistory, setIsLoadingFromHistory] = useState(false);
|
| 27 |
const [showUpgradeModal, setShowUpgradeModal] = useState(false);
|
| 28 |
|
| 29 |
-
const TRIAL_LIMIT =
|
| 30 |
|
| 31 |
const handleFileSelect = (file) => {
|
| 32 |
// Check if user has reached trial limit
|
|
|
|
| 26 |
const [isLoadingFromHistory, setIsLoadingFromHistory] = useState(false);
|
| 27 |
const [showUpgradeModal, setShowUpgradeModal] = useState(false);
|
| 28 |
|
| 29 |
+
const TRIAL_LIMIT = 5; // Maximum number of extractions allowed in trial
|
| 30 |
|
| 31 |
const handleFileSelect = (file) => {
|
| 32 |
// Check if user has reached trial limit
|