2022-04-15 23:56:32 +00:00
|
|
|
import Bleed from 'nextra-theme-docs/bleed'
|
2022-04-21 20:46:37 +00:00
|
|
|
import Head from "next/head";
|
2022-05-09 20:56:23 +00:00
|
|
|
import IframeResizer from "iframe-resizer-react";
|
|
|
|
import {useWindowSize} from "../lib/useWindowSize";
|
|
|
|
|
2022-04-15 23:56:32 +00:00
|
|
|
|
|
|
|
<Bleed full>
|
2022-05-09 20:56:23 +00:00
|
|
|
<Head><title>Public API | Cal.com</title></Head>
|
|
|
|
<IframeResizer
|
|
|
|
autoResize
|
|
|
|
src={process.env.NEXT_PUBLIC_SWAGGER_DOCS_URL || "https://developer.cal.com"}
|
|
|
|
frameBorder="0"
|
|
|
|
style={{
|
|
|
|
width: useWindowSize().width > 768 ? "calc(100vw - 16rem)": "100vw",
|
|
|
|
minHeight: useWindowSize().width > 768 ? "100vh" : "200vh",
|
|
|
|
height: "auto",
|
|
|
|
border: 0,
|
|
|
|
}}
|
|
|
|
/>
|
2022-04-15 23:56:32 +00:00
|
|
|
</Bleed>
|