diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index 90d683ac3a..c39d7bf3d5 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -382,6 +382,10 @@ const AvailabilityPage = ({ profile, eventType }: Props) => { description={`${rescheduleUid ? t("reschedule") : ""} ${eventType.title}`} name={profile.name || undefined} username={slug || undefined} + nextSeoProps={{ + nofollow: eventType.hidden, + noindex: eventType.hidden, + }} />
diff --git a/apps/web/pages/[user]/[type].tsx b/apps/web/pages/[user]/[type].tsx index b4ef61afb9..8e10993163 100644 --- a/apps/web/pages/[user]/[type].tsx +++ b/apps/web/pages/[user]/[type].tsx @@ -112,6 +112,7 @@ async function getUserPageProps(context: GetStaticPropsContext) { select: { title: true, slug: true, + hidden: true, recurringEvent: true, length: true, locations: true, diff --git a/apps/web/pages/team/[slug]/[type].tsx b/apps/web/pages/team/[slug]/[type].tsx index d972286576..cde2bc8706 100644 --- a/apps/web/pages/team/[slug]/[type].tsx +++ b/apps/web/pages/team/[slug]/[type].tsx @@ -48,6 +48,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) => select: { id: true, slug: true, + hidden: true, users: { select: { id: true,