From 838e8b9e89e9eafcfca0b2b4efe4a08b36730b04 Mon Sep 17 00:00:00 2001
From: Rajiv Sahal
Date: Mon, 11 Nov 2024 13:58:02 +0530
Subject: [PATCH] fix: iframe issue for atoms documentation (#17570)
* fix syntax for code examples
* update iframe styling
---
.../developing/guides/automation/webhooks.mdx | 2 +-
.../platform/atoms/apple-calendar-connect.mdx | 19 +++++++++++++------
docs/platform/atoms/availability-settings.mdx | 8 ++++----
docs/platform/atoms/booker.mdx | 8 ++++----
docs/platform/atoms/calendar-settings.mdx | 6 +++---
docs/platform/atoms/event-type.mdx | 10 +++++-----
.../atoms/google-calendar-connect.mdx | 12 ++++++------
.../atoms/outlook-calendar-connect.mdx | 12 ++++++------
docs/platform/atoms/payment-form.mdx | 4 ++--
docs/platform/booking-redirects.mdx | 1 +
10 files changed, 45 insertions(+), 37 deletions(-)
diff --git a/docs/developing/guides/automation/webhooks.mdx b/docs/developing/guides/automation/webhooks.mdx
index 21893a4368..10a6d65c81 100644
--- a/docs/developing/guides/automation/webhooks.mdx
+++ b/docs/developing/guides/automation/webhooks.mdx
@@ -4,7 +4,7 @@ title: "Webhooks"
Webhooks offer a great way to automate the flow with other apps when invitees schedule, cancel or reschedule events, or when the meeting ends.
-
+
The webhook subscription allows you to listen to specific trigger events, such as when a booking has been scheduled, for example. You can always listen to the webhook by providing a custom subscriber URL with your own development work. However, if you wish to trigger automations without any development work, you can use the integration with Zapier which connects Cal.com to your apps.
diff --git a/docs/platform/atoms/apple-calendar-connect.mdx b/docs/platform/atoms/apple-calendar-connect.mdx
index 5840298b5b..ece2d7098f 100644
--- a/docs/platform/atoms/apple-calendar-connect.mdx
+++ b/docs/platform/atoms/apple-calendar-connect.mdx
@@ -11,9 +11,9 @@ import { Connect } from "@calcom/atoms";
export default function ConnectCalendar() {
return (
-
+ <>
-
+ >
);
}
```
@@ -22,7 +22,14 @@ For a demonstration of the Apple calendar connect integration, please refer to t
-
+
@@ -37,9 +44,9 @@ import { Connect } from "@calcom/atoms";
export default function ConnectCalendar() {
return (
-
+ <>
-
+ >
);
}
```
@@ -49,8 +56,8 @@ For a demonstration of the Apple calendar connect integration for multiple users
- <>
+ >
)
}
```
@@ -35,8 +35,8 @@ For a demonstration of the availability settings atom, please refer to the video
- <>
+ >
)
}
```
@@ -74,8 +74,8 @@ For a demonstration of the availability settings atom with date overrides, pleas
- <>
+ >
)
}
```
@@ -29,8 +29,8 @@ For a demonstration of the booker atom, please refer to the video below.
- <>
+ >
)
}
```
@@ -67,8 +67,8 @@ For a demonstration of the booker atom along with calendar overlay, please refer
+ <>
-
+ >
)
}
```
@@ -23,8 +23,8 @@ For a demonstration of the Google calendar connect integration, please refer to
+ <>
-
+ >
)
}
```
@@ -54,8 +54,8 @@ For a demonstration of the Google calendar connect integration for multiple user
+ <>
-
+ >
)
}
```
@@ -23,8 +23,8 @@ For a demonstration of the Google calendar connect integration, please refer to
+ <>
-
+ >
)
}
```
@@ -54,8 +54,8 @@ For a demonstration of the Outlook calendar connect integration for multiple use
{booking.title}
)
+};
```
An example implementation can be found [here](https://github.com/calcom/cal.com/blob/main/packages/platform/examples/base/src/pages/%5BbookingUid%5D.tsx).