From f32d032b38633266add9a87e3b068824e8dd46b3 Mon Sep 17 00:00:00 2001 From: mehedi-hasan Date: Sat, 20 Apr 2024 02:30:54 +0600 Subject: [PATCH] feat: create api communication form --- .../dashboard/api-communications/add/page.tsx | 26 ++ src/components/add-account-form.tsx | 2 +- src/components/add-api-communication-form.tsx | 241 ++++++++++++++++++ .../api-communication-table/tools-table.tsx | 7 +- 4 files changed, 269 insertions(+), 7 deletions(-) create mode 100644 src/app/(dashboard)/dashboard/api-communications/add/page.tsx create mode 100644 src/components/add-api-communication-form.tsx diff --git a/src/app/(dashboard)/dashboard/api-communications/add/page.tsx b/src/app/(dashboard)/dashboard/api-communications/add/page.tsx new file mode 100644 index 0000000..324814c --- /dev/null +++ b/src/app/(dashboard)/dashboard/api-communications/add/page.tsx @@ -0,0 +1,26 @@ +import AddAPICommunicationForm from "@/components/add-api-communication-form"; +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; +import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area"; +import { Separator } from "@/components/ui/separator"; + +export default function SettingsDisplayPage() { + return ( + +
+ + + + Create API Communication + + + + + + + + +
+ +
+ ); +} diff --git a/src/components/add-account-form.tsx b/src/components/add-account-form.tsx index 60bb61e..c310355 100644 --- a/src/components/add-account-form.tsx +++ b/src/components/add-account-form.tsx @@ -115,7 +115,7 @@ export default function AddAccountForm() { name="organization" render={({ field }) => ( - User + Organization + + + + )} + /> + + ( + + Messages + +