Files
upload-gltf/app/page.tsx
T
2026-04-03 11:32:56 +02:00

27 lines
1.0 KiB
TypeScript

import UploadZone from '@/components/UploadZone'
export default function Home() {
return (
<main className="min-h-screen bg-black-900 flex flex-col items-center justify-center p-6">
<div className="w-full max-w-2xl mb-10 text-center">
<h1 className="text-4xl font-bold tracking-tight mb-3 text-white">
Upload GLTF
</h1>
<p className="text-gray-400 text-base leading-relaxed">
Drop your 3D files they will be automatically versioned
<br />and pushed to your GitHub repository via Git LFS.
</p>
</div>
<UploadZone />
<footer className="mt-10 text-gray-500 text-xs text-center">
Models: <span className="font-mono text-gray-400">.glb · .gltf</span>
<span className="mx-2">·</span>
Textures: <span className="font-mono text-gray-400">.png · .jpg · .webp</span>
<span className="mx-2">·</span>
Max size: <span className="font-mono text-gray-400">2 GB</span>
</footer>
</main>
)
}