diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..d5cdbe5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,6 @@
+*.glb filter=lfs diff=lfs merge=lfs -text
+*.gltf filter=lfs diff=lfs merge=lfs -text
+*.png filter=lfs diff=lfs merge=lfs -text
+*.jpg filter=lfs diff=lfs merge=lfs -text
+*.jpeg filter=lfs diff=lfs merge=lfs -text
+*.webp filter=lfs diff=lfs merge=lfs -text
\ No newline at end of file
diff --git a/components/ModelViewer.tsx b/components/ModelViewer.tsx
index 00fda58..a347e5a 100644
--- a/components/ModelViewer.tsx
+++ b/components/ModelViewer.tsx
@@ -1,21 +1,6 @@
'use client'
-import { Suspense } from 'react'
-import { Canvas } from '@react-three/fiber'
-import { Stage, OrbitControls, useGLTF } from '@react-three/drei'
-
-function Model({ url }: { url: string }) {
- const { scene } = useGLTF(url)
- return
Unsupported format
+ ) : isDragActive ? ( +Release to add
+ ) : ( + <> ++ Drag files here + or click to browse +
++ Models: .glb, .gltf · Textures: .png, .jpg, .webp +
+ > + )}Unsupported format
- ) : isDragActive ? ( -Release to add
- ) : ( - <> -- Drag files here - or click to browse -
-- Models: .glb, .gltf · Textures: .png, .jpg, .webp -
- > - )} -{globalError}
@@ -300,7 +302,7 @@ export default function UploadZone() { const type = getFileType(entry.file.name) return (