Spaces:
Sleeping
Sleeping
Commit
·
1e2a2f3
1
Parent(s):
4857315
add button to upload
Browse files
frontend/src/components/Homepage.jsx
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
|
|
|
|
|
| 1 |
function Homepage() {
|
| 2 |
return (
|
| 3 |
<div className="min-h-screen bg-gray-50 flex items-center justify-center">
|
| 4 |
<div className="text-center">
|
| 5 |
<h1 className="text-4xl font-bold text-gray-900 mb-4">
|
| 6 |
-
|
| 7 |
</h1>
|
| 8 |
-
<p className="text-lg text-gray-600">
|
| 9 |
-
PDF
|
| 10 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
</div>
|
| 12 |
</div>
|
| 13 |
);
|
|
|
|
| 1 |
+
import { Link } from 'react-router-dom';
|
| 2 |
+
|
| 3 |
function Homepage() {
|
| 4 |
return (
|
| 5 |
<div className="min-h-screen bg-gray-50 flex items-center justify-center">
|
| 6 |
<div className="text-center">
|
| 7 |
<h1 className="text-4xl font-bold text-gray-900 mb-4">
|
| 8 |
+
PDF Interrogation App
|
| 9 |
</h1>
|
| 10 |
+
<p className="text-lg text-gray-600 mb-8">
|
| 11 |
+
Upload a PDF and engage in interactive learning through AI-powered Socratic questioning
|
| 12 |
</p>
|
| 13 |
+
<Link
|
| 14 |
+
to="/upload"
|
| 15 |
+
className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition-colors duration-200 inline-block"
|
| 16 |
+
>
|
| 17 |
+
Get Started
|
| 18 |
+
</Link>
|
| 19 |
</div>
|
| 20 |
</div>
|
| 21 |
);
|