chore: removed props.hideHeadingOnMobile (#19208)
* removed props.hideHeadingOnMobile * made sure CTA works
This commit is contained in:
1 parent
52775dd27c
commit
111f292c0d
20 files changed
+23
-67
No files matched your search
@@ -15,13 +15,7 @@ export default function Apps({ categories }: PageProps) {
|
||||
const { t, isLocaleReady } = useLocale();
|
||||
|
||||
return (
|
||||
<Shell
|
||||
isPublic
|
||||
large
|
||||
hideHeadingOnMobile
|
||||
title={t("app_store")}
|
||||
description={t("app_store_description")}
|
||||
withoutSeo>
|
||||
<Shell isPublic large title={t("app_store")} description={t("app_store_description")} withoutSeo>
|
||||
<div className="text-md flex items-center gap-1 px-4 pb-3 pt-3 font-normal md:px-8 lg:px-0 lg:pt-0">
|
||||
<Link
|
||||
href="/apps"
|
||||
|
||||
@@ -7,7 +7,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
export default function MorePage() {
|
||||
const { t } = useLocale();
|
||||
return (
|
||||
<Shell hideHeadingOnMobile withoutSeo={true}>
|
||||
<Shell 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>
|
||||
|
||||
@@ -56,12 +56,7 @@ export default function PlatformBillingUpgrade() {
|
||||
if (!isPlatformUser)
|
||||
return (
|
||||
<div>
|
||||
<Shell
|
||||
withoutSeo={true}
|
||||
isPlatformUser={true}
|
||||
hideHeadingOnMobile
|
||||
withoutMain={false}
|
||||
SidebarContainer={<></>}>
|
||||
<Shell withoutSeo={true} isPlatformUser={true} withoutMain={false} SidebarContainer={<></>}>
|
||||
<NoPlatformPlan />
|
||||
</Shell>
|
||||
</div>
|
||||
@@ -72,7 +67,6 @@ export default function PlatformBillingUpgrade() {
|
||||
<Shell
|
||||
heading={t("platform_billing")}
|
||||
title={t("platform_billing")}
|
||||
hideHeadingOnMobile
|
||||
withoutMain={false}
|
||||
withoutSeo={true}
|
||||
subtitle={t("manage_billing_description")}
|
||||
|
||||
@@ -74,7 +74,6 @@ const ManagedUsersView = () => {
|
||||
subtitle={t("managed_users_description")}
|
||||
title={t("managed_users")}
|
||||
description={t("managed_users_description")}
|
||||
hideHeadingOnMobile
|
||||
withoutMain={false}
|
||||
isPlatformUser={true}>
|
||||
<Skeleton as={Label} loadingClassName="w-16" title={t("select_oAuth_client")}>
|
||||
|
||||
@@ -127,12 +127,7 @@ export default function EditOAuthClient() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Shell
|
||||
withoutSeo={true}
|
||||
isPlatformUser={true}
|
||||
hideHeadingOnMobile
|
||||
withoutMain={false}
|
||||
SidebarContainer={<></>}>
|
||||
<Shell withoutSeo={true} isPlatformUser={true} withoutMain={false} SidebarContainer={<></>}>
|
||||
<NoPlatformPlan />
|
||||
</Shell>
|
||||
</div>
|
||||
|
||||
+1
-6
@@ -126,12 +126,7 @@ export default function EditOAuthClientWebhooks() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Shell
|
||||
withoutSeo={true}
|
||||
isPlatformUser={true}
|
||||
hideHeadingOnMobile
|
||||
withoutMain={false}
|
||||
SidebarContainer={<></>}>
|
||||
<Shell withoutSeo={true} isPlatformUser={true} withoutMain={false} SidebarContainer={<></>}>
|
||||
<NoPlatformPlan />
|
||||
</Shell>
|
||||
</div>
|
||||
|
||||
@@ -85,12 +85,7 @@ export default function CreateOAuthClient() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Shell
|
||||
withoutSeo={true}
|
||||
isPlatformUser={true}
|
||||
hideHeadingOnMobile
|
||||
withoutMain={false}
|
||||
SidebarContainer={<></>}>
|
||||
<Shell withoutSeo={true} isPlatformUser={true} withoutMain={false} SidebarContainer={<></>}>
|
||||
<NoPlatformPlan />
|
||||
</Shell>
|
||||
</div>
|
||||
|
||||
@@ -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={<></>}>
|
||||
|
||||
@@ -29,7 +29,7 @@ export default function UpgradePage() {
|
||||
const doesUserHaveOrgToUpgrade = trpc.viewer.organizations.checkIfOrgNeedsUpgrade.useQuery();
|
||||
|
||||
return (
|
||||
<Shell hideHeadingOnMobile withoutSeo={true}>
|
||||
<Shell withoutSeo={true}>
|
||||
<div className="max-w-screen-lg">
|
||||
{doesUserHaveOrgToUpgrade.data ? (
|
||||
<EmptyScreen
|
||||
|
||||
Reference in new issue
Block a user