Skip to content

Commit

Permalink
update: enterprise calendar to get in touch form
Browse files Browse the repository at this point in the history
  • Loading branch information
eckartal authored and urmauur committed Oct 30, 2024
1 parent ee41d48 commit 20c7579
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
41 changes: 23 additions & 18 deletions docs/src/components/PartnerForm/index.tsx
Original file line number Diff line number Diff line change
@@ -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 <Cal namespace="cortex"
calLink="team/homebrew/cortex"
style={{width:"100%",height:"100%",overflow:"scroll"}}
config={{"layout":"month_view"}}


/>;
};

import React from "react";

import { FilloutStandardEmbed } from "@fillout/react";
import "@fillout/react/style.css";

const PartnerForm = () => {
return (
<div className="my-20 h-[1100px]">
<div
style={{
width: "100%",
height: "100%",
}}
>
<FilloutStandardEmbed filloutId="38SqPFJU2tus" />
</div>
</div>
);
};

export default PartnerForm;


5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"@fillout/react": "^1.1.2"
}
}

0 comments on commit 20c7579

Please sign in to comment.