diff --git a/docs/package.json b/docs/package.json index 5d71b43f2..4e589714e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -26,6 +26,7 @@ "@docusaurus/theme-live-codeblock": "^3.5.2", "@docusaurus/theme-mermaid": "^3.5.2", "@excalidraw/excalidraw": "^0.17.6", + "@fillout/react": "^1.1.2", "@huggingface/hub": "^0.15.1", "@mdx-js/react": "3.0.1", "@radix-ui/react-select": "^2.1.1", 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/docs/src/containers/Homepage/SimpleHeroSection/index.tsx b/docs/src/containers/Homepage/SimpleHeroSection/index.tsx index 13d203169..5ee2cd6ec 100644 --- a/docs/src/containers/Homepage/SimpleHeroSection/index.tsx +++ b/docs/src/containers/Homepage/SimpleHeroSection/index.tsx @@ -29,7 +29,7 @@ const SimpleHeroSection = () => {
- +
diff --git a/docs/yarn.lock b/docs/yarn.lock index a79497c3c..9f4f14745 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2061,6 +2061,11 @@ resolved "https://registry.yarnpkg.com/@excalidraw/excalidraw/-/excalidraw-0.17.6.tgz#5fd208ce69d33ca712d1804b50d7d06d5c46ac4d" integrity sha512-fyCl+zG/Z5yhHDh5Fq2ZGmphcrALmuOdtITm8gN4d8w4ntnaopTXcTfnAAaU3VleDC6LhTkoLOTG6P5kgREiIg== +"@fillout/react@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@fillout/react/-/react-1.1.2.tgz#833c28aa53aa79a712b61e915e3fc710312f02f9" + integrity sha512-XyzLY74Zhxxwym3A9770Tb3NINwaaWyWwvaw1lMJ5sA/P6hgsdzvefUOqohzR3+KVyspvBOR4BoR0nBMPFd/Vw== + "@floating-ui/core@^1.0.0": version "1.6.2" resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.2.tgz#d37f3e0ac1f1c756c7de45db13303a266226851a" 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" + } +}