Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: enterprise calendar to get in touch form #1560

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
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;


2 changes: 1 addition & 1 deletion docs/src/containers/Homepage/SimpleHeroSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const SimpleHeroSection = () => {
<div className="mt-8 flex gap-8 justify-center items-center">
<DropdownDownload lastRelease={latestRelease} />
<Link href="/contact" target="_blank">
<Button theme="secondary">Schedule a Call</Button>
<Button theme="secondary">Get in Touch</Button>
</Link>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
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"
}
}
Loading