diff --git a/apps/web/app/(use-page-wrapper)/(main-nav)/ShellMainAppDir.tsx b/apps/web/app/(use-page-wrapper)/(main-nav)/ShellMainAppDir.tsx index 8aedfe510b..cc9c5bb3c9 100644 --- a/apps/web/app/(use-page-wrapper)/(main-nav)/ShellMainAppDir.tsx +++ b/apps/web/app/(use-page-wrapper)/(main-nav)/ShellMainAppDir.tsx @@ -12,8 +12,7 @@ export function ShellMainAppDir(props: LayoutProps) {
{!!props.backPath && } {props.heading && ( @@ -21,13 +20,15 @@ export function ShellMainAppDir(props: LayoutProps) { className={classNames(props.large && "py-8", "flex w-full max-w-full items-center truncate")}> {props.HeadingLeftIcon &&
{props.HeadingLeftIcon}
}
+ className={classNames( + "hidden w-full truncate ltr:mr-4 rtl:ml-4 md:block", + props.headerClassName + )}> {props.heading && (

{props.heading}

diff --git a/apps/web/app/(use-page-wrapper)/(main-nav)/layout.tsx b/apps/web/app/(use-page-wrapper)/(main-nav)/layout.tsx index fb0a113186..a394e76b29 100644 --- a/apps/web/app/(use-page-wrapper)/(main-nav)/layout.tsx +++ b/apps/web/app/(use-page-wrapper)/(main-nav)/layout.tsx @@ -2,7 +2,7 @@ import Shell from "@calcom/features/shell/Shell"; const Layout = ({ children }: { children: React.ReactNode }) => { return ( - + {children} ); diff --git a/apps/web/app/settings/(settings-layout)/SettingsLayoutAppDirClient.tsx b/apps/web/app/settings/(settings-layout)/SettingsLayoutAppDirClient.tsx index 6f7ab24f6e..b49815908f 100644 --- a/apps/web/app/settings/(settings-layout)/SettingsLayoutAppDirClient.tsx +++ b/apps/web/app/settings/(settings-layout)/SettingsLayoutAppDirClient.tsx @@ -722,7 +722,6 @@ export default function SettingsLayoutAppDirClient({ { export default function WrappedApp(props: AppPageProps) { return ( - } backPath="/apps" withoutSeo> + } backPath="/apps" withoutSeo> {props.licenseRequired ? ( diff --git a/apps/web/components/apps/layouts/AppsLayout.tsx b/apps/web/components/apps/layouts/AppsLayout.tsx index 55586a2297..26ace3353e 100644 --- a/apps/web/components/apps/layouts/AppsLayout.tsx +++ b/apps/web/components/apps/layouts/AppsLayout.tsx @@ -21,7 +21,7 @@ export default function AppsLayout({ children, actions, emptyStore, ...rest }: A if (session.status === "loading") return <>; return ( - +
{emptyStore ? ( diff --git a/apps/web/components/apps/layouts/InstalledAppsLayout.tsx b/apps/web/components/apps/layouts/InstalledAppsLayout.tsx index 4a42082d4c..cb8ff9b5c3 100644 --- a/apps/web/components/apps/layouts/InstalledAppsLayout.tsx +++ b/apps/web/components/apps/layouts/InstalledAppsLayout.tsx @@ -9,11 +9,7 @@ export default function InstalledAppsLayout({ ...rest }: { children: React.ReactNode } & ComponentProps) { return ( - + {children} diff --git a/apps/web/modules/apps/categories/categories-view.tsx b/apps/web/modules/apps/categories/categories-view.tsx index 952859d8d3..88ab7b9c18 100644 --- a/apps/web/modules/apps/categories/categories-view.tsx +++ b/apps/web/modules/apps/categories/categories-view.tsx @@ -15,13 +15,7 @@ export default function Apps({ categories }: PageProps) { const { t, isLocaleReady } = useLocale(); return ( - +
+

{t("more_page_footer")}

diff --git a/apps/web/modules/settings/platform/billing/billing-view.tsx b/apps/web/modules/settings/platform/billing/billing-view.tsx index 5506597f96..1b4596f6b9 100644 --- a/apps/web/modules/settings/platform/billing/billing-view.tsx +++ b/apps/web/modules/settings/platform/billing/billing-view.tsx @@ -56,12 +56,7 @@ export default function PlatformBillingUpgrade() { if (!isPlatformUser) return (
- }> + }>
@@ -72,7 +67,6 @@ export default function PlatformBillingUpgrade() { { subtitle={t("managed_users_description")} title={t("managed_users")} description={t("managed_users_description")} - hideHeadingOnMobile withoutMain={false} isPlatformUser={true}> diff --git a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx index b1d36f0d84..9ba0282f28 100644 --- a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx +++ b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx @@ -127,12 +127,7 @@ export default function EditOAuthClient() { return (
- }> + }>
diff --git a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx index 748d1e66e2..ebaf123698 100644 --- a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx +++ b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx @@ -126,12 +126,7 @@ export default function EditOAuthClientWebhooks() { return (
- }> + }>
diff --git a/apps/web/modules/settings/platform/oauth-clients/create-new-view.tsx b/apps/web/modules/settings/platform/oauth-clients/create-new-view.tsx index bbab98b32d..40865a2bad 100644 --- a/apps/web/modules/settings/platform/oauth-clients/create-new-view.tsx +++ b/apps/web/modules/settings/platform/oauth-clients/create-new-view.tsx @@ -85,12 +85,7 @@ export default function CreateOAuthClient() { return (
- }> + }>
diff --git a/apps/web/modules/settings/platform/platform-view.tsx b/apps/web/modules/settings/platform/platform-view.tsx index 5a8465d5d5..e58946d37f 100644 --- a/apps/web/modules/settings/platform/platform-view.tsx +++ b/apps/web/modules/settings/platform/platform-view.tsx @@ -71,7 +71,6 @@ export default function Platform() { subtitle={t("platform_description")} title={t("platform")} description={t("platform_description")} - hideHeadingOnMobile withoutSeo={true} withoutMain={false} isPlatformUser={true}> @@ -89,7 +88,6 @@ export default function Platform() { // we want to hide org banner and have different sidebar tabs for platform clients // hence we pass isPlatformUser boolean as prop isPlatformUser={true} - hideHeadingOnMobile withoutMain={false} withoutSeo={true} SidebarContainer={<>}> diff --git a/apps/web/modules/upgrade/upgrade-view.tsx b/apps/web/modules/upgrade/upgrade-view.tsx index bb31978ba3..d698e1c2b0 100644 --- a/apps/web/modules/upgrade/upgrade-view.tsx +++ b/apps/web/modules/upgrade/upgrade-view.tsx @@ -29,7 +29,7 @@ export default function UpgradePage() { const doesUserHaveOrgToUpgrade = trpc.viewer.organizations.checkIfOrgNeedsUpgrade.useQuery(); return ( - +
{doesUserHaveOrgToUpgrade.data ? ( { const { t } = useLocale(); return ( - + {page} ); diff --git a/packages/features/ee/platform/pages/settings/members.tsx b/packages/features/ee/platform/pages/settings/members.tsx index 81437aed90..e9fa67fda1 100644 --- a/packages/features/ee/platform/pages/settings/members.tsx +++ b/packages/features/ee/platform/pages/settings/members.tsx @@ -42,7 +42,7 @@ const PlatformMembersView = () => { if (!isPlatformUser) return (
- }> + }>
@@ -65,7 +65,6 @@ const PlatformMembersView = () => { } title={t("platform_members")} subtitle={t("platform_members_description")} - hideHeadingOnMobile withoutMain={false} isPlatformUser={true}>
{!isPending && canLoggedInUserSeeMembers && }
diff --git a/packages/features/ee/workflows/pages/index.tsx b/packages/features/ee/workflows/pages/index.tsx index cf1605adf4..6bd9d37b59 100644 --- a/packages/features/ee/workflows/pages/index.tsx +++ b/packages/features/ee/workflows/pages/index.tsx @@ -70,7 +70,6 @@ function WorkflowsPage({ filteredList }: PageProps) { subtitle={t("workflows_to_automate_notifications")} title={t("workflows")} description={t("workflows_to_automate_notifications")} - hideHeadingOnMobile CTA={ session.data?.hasValidLicense ? ( ) } - hideHeadingOnMobile heading={ isAllDataLoaded && (
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index 42da319075..c8426ac4df 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -96,7 +96,6 @@ export type LayoutProps = { beforeCTAactions?: JSX.Element; afterHeading?: ReactNode; smallHeading?: boolean; - hideHeadingOnMobile?: boolean; isPlatformUser?: boolean; }; @@ -145,9 +144,8 @@ export function ShellMain(props: LayoutProps) { {(props.heading || !!props.backPath) && (
{!!props.backPath && (