diff --git a/apps/dashboard/src/app/[locale]/@dashboard/(root)/vault/[[...folders]]/page.tsx b/apps/dashboard/src/app/[locale]/@dashboard/(root)/vault/[[...folders]]/page.tsx index 748680a502..b2eac9ca5f 100644 --- a/apps/dashboard/src/app/[locale]/@dashboard/(root)/vault/[[...folders]]/page.tsx +++ b/apps/dashboard/src/app/[locale]/@dashboard/(root)/vault/[[...folders]]/page.tsx @@ -1,7 +1,7 @@ import { Breadcrumbs } from "@/components/breadcrumbs"; import { Table } from "@/components/tables/vault"; -import { Button } from "@midday/ui/button"; -import { Icons } from "@midday/ui/icons"; +import { CreateFolderButton } from "@/components/tables/vault/create-folder-button"; +import { UploadButton } from "@/components/tables/vault/upload-button"; import { Metadata } from "next"; export const metadata: Metadata = { @@ -19,17 +19,8 @@ export default function Vault({ params }) {
- - + +
diff --git a/apps/dashboard/src/components/tables/vault/create-folder-button.tsx b/apps/dashboard/src/components/tables/vault/create-folder-button.tsx new file mode 100644 index 0000000000..f10d4f2daf --- /dev/null +++ b/apps/dashboard/src/components/tables/vault/create-folder-button.tsx @@ -0,0 +1,15 @@ +import { Button } from "@midday/ui/button"; +import { Icons } from "@midday/ui/icons"; + +export function CreateFolderButton({ disableActions }) { + return ( + + ); +} diff --git a/apps/dashboard/src/components/tables/vault/upload-button.tsx b/apps/dashboard/src/components/tables/vault/upload-button.tsx new file mode 100644 index 0000000000..88ab7bb9af --- /dev/null +++ b/apps/dashboard/src/components/tables/vault/upload-button.tsx @@ -0,0 +1,15 @@ +"use client"; + +import { Button } from "@midday/ui/button"; + +export function UploadButton({ disableActions }) { + return ( + + ); +} diff --git a/apps/dashboard/src/components/tables/vault/upload-zone.tsx b/apps/dashboard/src/components/tables/vault/upload-zone.tsx index 4533ce018a..4fddb2c967 100644 --- a/apps/dashboard/src/components/tables/vault/upload-zone.tsx +++ b/apps/dashboard/src/components/tables/vault/upload-zone.tsx @@ -78,7 +78,7 @@ export function UploadZone({ children }) { isDragActive && "visible" )} > - +

Drop your files here, to