Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 20c7579

Browse files
eckartalurmauur
authored andcommitted
update: enterprise calendar to get in touch form
1 parent ee41d48 commit 20c7579

File tree

2 files changed

+28
-18
lines changed

2 files changed

+28
-18
lines changed
Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
import Cal, { getCalApi } from "@calcom/embed-react";
2-
import { useEffect } from "react";
3-
export default function MyApp() {
4-
useEffect(()=>{
5-
(async function () {
6-
const cal = await getCalApi({"namespace":"cortex"});
7-
cal("ui", {"styles":{"branding":{"brandColor":"#000000"}},"hideEventTypeDetails":false,"layout":"month_view"});
8-
})();
9-
}, [])
10-
return <Cal namespace="cortex"
11-
calLink="team/homebrew/cortex"
12-
style={{width:"100%",height:"100%",overflow:"scroll"}}
13-
config={{"layout":"month_view"}}
14-
15-
16-
/>;
17-
};
18-
1+
import React from "react";
2+
3+
import { FilloutStandardEmbed } from "@fillout/react";
4+
import "@fillout/react/style.css";
5+
6+
const PartnerForm = () => {
7+
return (
8+
<div className="my-20 h-[1100px]">
9+
<div
10+
style={{
11+
width: "100%",
12+
height: "100%",
13+
}}
14+
>
15+
<FilloutStandardEmbed filloutId="38SqPFJU2tus" />
16+
</div>
17+
</div>
18+
);
19+
};
20+
21+
export default PartnerForm;
22+
23+

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"@fillout/react": "^1.1.2"
4+
}
5+
}

0 commit comments

Comments
 (0)