Spaces:
Build error
Build error
Upload pages/index.js with huggingface_hub
Browse files- pages/index.js +30 -0
pages/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import React from 'react';
|
| 2 |
+
import LocalDropZone from '../components/LocalDropZone';
|
| 3 |
+
|
| 4 |
+
function HomePage() {
|
| 5 |
+
return (
|
| 6 |
+
<div className="min-h-screen bg-gradient-to-br from-blue-50 to-indigo-100">
|
| 7 |
+
<div className="container mx-auto px-4 py-8">
|
| 8 |
+
<LocalDropZone />
|
| 9 |
+
</div>
|
| 10 |
+
|
| 11 |
+
<footer className="mt-12 py-6 bg-white border-t border-gray-200">
|
| 12 |
+
<div className="container mx-auto text-center">
|
| 13 |
+
<p className="text-gray-600">
|
| 14 |
+
Built with
|
| 15 |
+
<a
|
| 16 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 17 |
+
target="_blank"
|
| 18 |
+
rel="noopener noreferrer"
|
| 19 |
+
className="text-blue-600 font-bold hover:underline ml-1"
|
| 20 |
+
>
|
| 21 |
+
anycoder
|
| 22 |
+
</a>
|
| 23 |
+
</p>
|
| 24 |
+
</div>
|
| 25 |
+
</footer>
|
| 26 |
+
</div>
|
| 27 |
+
);
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
export default HomePage;
|