From c3dcb9c827df6d80ad1b0b1a7c6155561527b39d Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Tue, 30 Dec 2025 13:46:39 +0200 Subject: init --- src/app/upload/page.tsx | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/app/upload/page.tsx (limited to 'src/app/upload') diff --git a/src/app/upload/page.tsx b/src/app/upload/page.tsx new file mode 100644 index 0000000..d0f096f --- /dev/null +++ b/src/app/upload/page.tsx @@ -0,0 +1,38 @@ +'use client'; + +import { Button } from '@/components/ui'; +import { + UploadMenu, + FileDropzone, + TagsInput, + SourceInput, +} from '@/components/upload'; +import { PUBLISH_DISCLAIMER } from '@/lib/consts'; + +export default function Upload() { + return ( +
+ +
{ + console.log('SUBMIT'); + e.preventDefault(); + + const formData = new FormData(e.currentTarget); + const data: any = Object.fromEntries(formData.entries()); + + console.log(data.files); + }} + > + + + + + {PUBLISH_DISCLAIMER} + + + +
+ ); +} -- cgit v1.3-3-g829e