Skip to content

Commit 90c5491

Browse files
Revert "feature: drag and drop with dropzone"
This reverts commit 9943bef.
1 parent 9943bef commit 90c5491

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

src/app/page.tsx

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import { Github, Upload } from "lucide-react";
44
import Link from "next/link";
5-
import Dropzone from "react-dropzone";
65

76
export default function Home() {
87
return (
@@ -15,22 +14,13 @@ export default function Home() {
1514
</h2>
1615

1716
{/* Drop Zone */}
18-
<Dropzone onDrop={(acceptedFiles) => console.log(acceptedFiles)}>
19-
{({ getRootProps, getInputProps }) => (
20-
<div
21-
{...getRootProps()}
22-
className="border-2 px-1/2 py-30 flex flex-col gap-8 items-center justify-center w-1/2 border-dashed rounded-3xl mt-12 text-lg hover:cursor-pointer"
23-
>
24-
<input {...getInputProps()}></input>
25-
<Upload size={50}></Upload>
26-
Drag & drop your followers.json & following.json files here
27-
<span>or</span>
28-
<button className="border-1 px-4 py-2 text-lg rounded-xl hover:cursor-pointer transition hover:scale-105">
29-
Select Files
30-
</button>
31-
</div>
32-
)}
33-
</Dropzone>
17+
<div className="border-2 px-1/2 py-30 flex flex-col gap-8 items-center justify-center w-1/2 border-dashed rounded-3xl mt-12 text-lg hover:cursor-pointer">
18+
<Upload size={50}></Upload>
19+
Drag & drop your followers.json & following.json files here
20+
<span>or</span>
21+
<button className="border-1 px-4 py-2 text-lg rounded-xl hover:cursor-pointer transition hover:scale-105">Select Files</button>
22+
</div>
23+
3424
<Link href="/tutorial" className="underline">
3525
{" "}
3626
Don&apos;t have your files? Here&apos;s how to get them.

0 commit comments

Comments
 (0)