cleanup: remove-headseo-from-migrated-app-router-components (#18576)

This commit is contained in:
Benny Joo
2025-01-10 10:35:37 +01:00
committed by GitHub
parent 65828545b9
commit 0a08680084
15 changed files with 40 additions and 12 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export default function EnterprisePage() {
];
return (
<div>
<Shell heading={t("enterprise")} subtitle={t("enterprise_description")}>
<Shell heading={t("enterprise")} subtitle={t("enterprise_description")} withoutSeo={true}>
<UpgradeTip
plan="enterprise"
title={t("create_your_org")}
@@ -237,6 +237,7 @@ export default function AvailabilityPage({ currentOrg }: PageProps) {
title={t("availability")}
description={t("configure_availability")}
hideHeadingOnMobile
withoutSeo={true}
withoutMain={false}
CTA={
<div className="flex gap-2">
@@ -246,6 +246,7 @@ function BookingsStatusLayout({ children }: { children: React.ReactNode }) {
return (
<Shell
withoutMain={false}
withoutSeo={true}
hideHeadingOnMobile
heading={t("bookings")}
subtitle={t("bookings_description")}
+1
View File
@@ -36,6 +36,7 @@ export default function InsightsLayout({ children }: { children: React.ReactNode
<div>
<Shell
withoutMain={false}
withoutSeo={true}
heading={t("insights")}
subtitle={t("insights_subtitle")}
title={t("insights")}
+1 -1
View File
@@ -7,7 +7,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
export default function MorePage() {
const { t } = useLocale();
return (
<Shell hideHeadingOnMobile>
<Shell hideHeadingOnMobile withoutSeo={true}>
<div className="max-w-screen-lg">
<MobileNavigationMoreItems />
<p className="text-subtle mt-6 text-xs leading-tight md:hidden">{t("more_page_footer")}</p>
@@ -46,7 +46,12 @@ export default function PlatformBillingUpgrade() {
if (!isPlatformUser)
return (
<div>
<Shell isPlatformUser={true} hideHeadingOnMobile withoutMain={false} SidebarContainer={<></>}>
<Shell
withoutSeo={true}
isPlatformUser={true}
hideHeadingOnMobile
withoutMain={false}
SidebarContainer={<></>}>
<NoPlatformPlan />
</Shell>
</div>
@@ -59,6 +64,7 @@ export default function PlatformBillingUpgrade() {
title={t("platform_billing")}
hideHeadingOnMobile
withoutMain={false}
withoutSeo={true}
subtitle={t("manage_billing_description")}
isPlatformUser={true}>
<>
@@ -80,7 +80,7 @@ export default function EditOAuthClient() {
if (isPlatformUser && isPaidUser) {
return (
<div>
<Shell title={t("oAuth_client_updation_form")} isPlatformUser={true}>
<Shell withoutSeo={true} title={t("oAuth_client_updation_form")} isPlatformUser={true}>
<div className="m-2 md:mx-14 md:mx-5">
<div className="border-subtle mx-auto block justify-between rounded-t-lg border px-4 py-6 sm:flex sm:px-6">
<div className="flex w-full flex-col">
@@ -127,7 +127,12 @@ export default function EditOAuthClient() {
return (
<div>
<Shell isPlatformUser={true} hideHeadingOnMobile withoutMain={false} SidebarContainer={<></>}>
<Shell
withoutSeo={true}
isPlatformUser={true}
hideHeadingOnMobile
withoutMain={false}
SidebarContainer={<></>}>
<NoPlatformPlan />
</Shell>
</div>
@@ -42,7 +42,7 @@ export default function EditOAuthClientWebhooks() {
if (isPlatformUser && isPaidUser) {
return (
<div>
<Shell title={t("webhook_update_form")} isPlatformUser={true}>
<Shell withoutSeo={true} title={t("webhook_update_form")} isPlatformUser={true}>
<div className="m-2 md:mx-5">
<div className="border-subtle mx-auto block justify-between rounded-t-lg border px-4 py-6 sm:flex sm:px-6">
<div className="flex w-full flex-col">
@@ -126,7 +126,12 @@ export default function EditOAuthClientWebhooks() {
return (
<div>
<Shell isPlatformUser={true} hideHeadingOnMobile withoutMain={false} SidebarContainer={<></>}>
<Shell
withoutSeo={true}
isPlatformUser={true}
hideHeadingOnMobile
withoutMain={false}
SidebarContainer={<></>}>
<NoPlatformPlan />
</Shell>
</div>
@@ -64,7 +64,7 @@ export default function CreateOAuthClient() {
if (isPlatformUser && isPaidUser) {
return (
<div>
<Shell title={t("oAuth_client_creation_form")} isPlatformUser={true}>
<Shell title={t("oAuth_client_creation_form")} isPlatformUser={true} withoutSeo={true}>
<div className="m-2 md:mx-5">
<div className="border-subtle mx-auto block justify-between rounded-t-lg border px-4 py-6 sm:flex sm:px-6">
<div className="flex w-full flex-col">
@@ -85,7 +85,12 @@ export default function CreateOAuthClient() {
return (
<div>
<Shell isPlatformUser={true} hideHeadingOnMobile withoutMain={false} SidebarContainer={<></>}>
<Shell
withoutSeo={true}
isPlatformUser={true}
hideHeadingOnMobile
withoutMain={false}
SidebarContainer={<></>}>
<NoPlatformPlan />
</Shell>
</div>
@@ -20,6 +20,7 @@ export default function PlatformPlans() {
<div>
<Shell
backPath
withoutSeo={true}
isPlatformUser={true}
heading={
<h1 className="mx-2 mt-4 text-center text-xl md:text-2xl">
@@ -82,6 +82,7 @@ export default function Platform() {
title={t("platform")}
description={t("platform_description")}
hideHeadingOnMobile
withoutSeo={true}
withoutMain={false}
isPlatformUser={true}>
<HelpCards />
@@ -112,6 +113,7 @@ export default function Platform() {
isPlatformUser={true}
hideHeadingOnMobile
withoutMain={false}
withoutSeo={true}
SidebarContainer={<></>}>
<NoPlatformPlan />
</Shell>
+1
View File
@@ -18,6 +18,7 @@ function Teams(props: PageProps) {
return (
<Shell
withoutMain={false}
withoutSeo={true}
heading={t("teams")}
subtitle={t("create_manage_teams_collaborative")}
title={t("teams")}
+1 -1
View File
@@ -29,7 +29,7 @@ export default function UpgradePage() {
const doesUserHaveOrgToUpgrade = trpc.viewer.organizations.checkIfOrgNeedsUpgrade.useQuery();
return (
<Shell hideHeadingOnMobile>
<Shell hideHeadingOnMobile withoutSeo={true}>
<div className="max-w-screen-lg">
{doesUserHaveOrgToUpgrade.data ? (
<EmptyScreen
@@ -63,7 +63,7 @@ function WorkflowsPage({ filteredList }: PageProps) {
});
return (
<Shell withoutMain>
<Shell withoutMain withoutSeo={true}>
<LicenseRequired>
<ShellMain
heading={t("workflows")}
@@ -226,7 +226,7 @@ function WorkflowPage({
});
return session.data ? (
<Shell withoutMain backPath="/workflows">
<Shell withoutSeo={true} withoutMain backPath="/workflows">
<LicenseRequired>
<Form
form={form}