From 4839c5342b5c6e95207e5a966580083210dff6bd Mon Sep 17 00:00:00 2001 From: eckartal Date: Tue, 29 Oct 2024 01:07:35 +0700 Subject: [PATCH] update: enterprise calendar to get in touch form --- docs/src/components/PartnerForm/index.tsx | 41 +++++++++++++---------- package.json | 5 +++ 2 files changed, 28 insertions(+), 18 deletions(-) create mode 100644 package.json diff --git a/docs/src/components/PartnerForm/index.tsx b/docs/src/components/PartnerForm/index.tsx index c6ca38704..b60ea6149 100644 --- a/docs/src/components/PartnerForm/index.tsx +++ b/docs/src/components/PartnerForm/index.tsx @@ -1,18 +1,23 @@ -import Cal, { getCalApi } from "@calcom/embed-react"; - import { useEffect } from "react"; - export default function MyApp() { - useEffect(()=>{ - (async function () { - const cal = await getCalApi({"namespace":"cortex"}); - cal("ui", {"styles":{"branding":{"brandColor":"#000000"}},"hideEventTypeDetails":false,"layout":"month_view"}); - })(); - }, []) - return ; - }; - \ No newline at end of file +import React from "react"; + +import { FilloutStandardEmbed } from "@fillout/react"; +import "@fillout/react/style.css"; + +const PartnerForm = () => { + return ( +
+
+ +
+
+ ); +}; + +export default PartnerForm; + + diff --git a/package.json b/package.json new file mode 100644 index 000000000..7006a094d --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "@fillout/react": "^1.1.2" + } +}