Scheduling infrastructure for absolutely everyone.
Hide Branding in Embed. (#5975)
Hariom Balhara56c07ec3512d
diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsxindex 431d11bc7fd..dc0a2e5e5e7 100644--- a/apps/web/components/booking/pages/AvailabilityPage.tsx+++ b/apps/web/components/booking/pages/AvailabilityPage.tsx@@ -436,7 +436,8 @@ const AvailabilityPage = ({ profile, eventType, ...restProps }: Props) => {/></div></div>- {(!restProps.isBrandingHidden || isEmbed) && <PoweredByCal />}+ {/* FIXME: We don't show branding in Embed yet because we need to place branding on top of the main content. Keeping it outside the main content would have visibility issues because outside main content background is transparent */}+ {!restProps.isBrandingHidden && !isEmbed && <PoweredByCal />}</div></main></div>