Upload files (images, PDF, documents, sheets, markdown)
diff --git a/apps/web/components/add-document/index.tsx b/apps/web/components/add-document/index.tsx
index fe74f61af..cc308f906 100644
--- a/apps/web/components/add-document/index.tsx
+++ b/apps/web/components/add-document/index.tsx
@@ -3,9 +3,10 @@
import { useState, useEffect, useCallback, useRef } from "react"
import { useQueryState } from "nuqs"
import { Dialog, DialogContent, DialogTitle } from "@repo/ui/components/dialog"
+import { Drawer, DrawerContent, DrawerTitle } from "@repo/ui/components/drawer"
import { cn } from "@lib/utils"
import { dmSansClassName } from "@/lib/fonts"
-import { FileTextIcon, GlobeIcon, ZapIcon, Loader2, XIcon } from "lucide-react"
+import { FileTextIcon, GlobeIcon, ZapIcon, Loader2 } from "lucide-react"
import { Button } from "@ui/components/button"
import { ConnectContent } from "./connections"
import { NoteContent } from "./note"
@@ -31,14 +32,36 @@ interface AddDocumentModalProps {
export function AddDocumentModal({ isOpen, onClose }: AddDocumentModalProps) {
const isMobile = useIsMobile()
+ if (isMobile) {
+ return (
+ !open && onClose()}
+ shouldScaleBackground
+ >
+ div:first-child]:bg-[#3A4252] [&>div:first-child]:h-1 [&>div:first-child]:w-9 [&>div:first-child]:mt-2.5 [&>div:first-child]:mb-1",
+ dmSansClassName(),
+ )}
+ >
+ Add Document
+
+
+
+ )
+ }
+
return (