From c3dcb9c827df6d80ad1b0b1a7c6155561527b39d Mon Sep 17 00:00:00 2001
From: l3wdfut4pwr <l3wdfut4pwr@gmail.com>
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/page.tsx')

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 (
+        <div className="flex justify-between w-full">
+            <UploadMenu />
+            <form
+                className="flex flex-col grow max-w-[900px] gap-5"
+                onSubmit={(e) => {
+                    console.log('SUBMIT');
+                    e.preventDefault();
+
+                    const formData = new FormData(e.currentTarget);
+                    const data: any = Object.fromEntries(formData.entries());
+
+                    console.log(data.files);
+                }}
+            >
+                <FileDropzone />
+                <TagsInput />
+                <SourceInput />
+                <span className="text-center text-sm">
+                    {PUBLISH_DISCLAIMER}
+                </span>
+                <Button>Опубликовать</Button>
+            </form>
+        </div>
+    );
+}
-- 
cgit v1.3-3-g829e

