diff --git a/frontend/src/components/Box.tsx b/frontend/src/components/Box.tsx
index 31a3872..03052be 100644
--- a/frontend/src/components/Box.tsx
+++ b/frontend/src/components/Box.tsx
@@ -1,4 +1,5 @@
import clsx from "clsx";
+import React from "react";
type Props = {
children: React.ReactNode;
@@ -6,7 +7,7 @@ type Props = {
};
const Box = ({ children, className }: Props) => (
-
+
{children}
);
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 1ed3bfb..1a8449b 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -10,6 +10,7 @@
--color-sidebar: #F2EEE6;
--color-card: #FDFBF7;
--color-fields: #F4F0E8;
+ --color-dropzone: #F9F6EF;
/* ── Ink ─────────────────────────────────────────────────────────────── */
--color-text-primary: #2B2620;
diff --git a/frontend/src/pages/ClipUpload.tsx b/frontend/src/pages/ClipUpload.tsx
index cf4cbb4..63ba4d5 100644
--- a/frontend/src/pages/ClipUpload.tsx
+++ b/frontend/src/pages/ClipUpload.tsx
@@ -1,12 +1,11 @@
import {useState} from "react";
import {useNavigate} from "react-router-dom";
-import BlueButton from "../components/buttons/BlueButton.tsx";
import Box from "../components/Box.tsx";
const ClipUpload = () => {
const [file, setFile] = useState
(null);
- const navigate = useNavigate();
const [error, setError] = useState(null);
+ const navigate = useNavigate();
const press = () => {
if (!file) {
@@ -17,23 +16,40 @@ const ClipUpload = () => {
};
return (
-
+
- Upload Clip
+
+
+ {file && (
+
{file.name}
+ )}
+
- {
- const selected = e.target.files?.[0] ?? null;
- setFile(selected);
- setError(null);
- }}
- className="h-36 cursor-pointer rounded-lg border-2 border-dashed border-gray-300 bg-gray-50 p-4 text-center text-sm text-gray-500 hover:bg-gray-100 hover:border-primary transition-colors duration-150"
- />
+
- Upload
-
- {error && {error}
}
+ {error && {error}
}
)