fix: add missing title (#13307)
* add missing title * add * update * update * update * fix lint * Update AppsLayout.tsx * update * Update bookings-listing-view.tsx * update --------- Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
20 files changed
+81
-60
No files matched your search
@@ -363,7 +363,11 @@ export default function RoutingForms({
|
||||
|
||||
RoutingForms.getLayout = (page: React.ReactElement) => {
|
||||
return (
|
||||
<Shell withoutMain={true} hideHeadingOnMobile>
|
||||
<Shell
|
||||
title="Routing Forms"
|
||||
description="Create forms to direct attendees to the correct destinations."
|
||||
withoutMain={true}
|
||||
hideHeadingOnMobile>
|
||||
{page}
|
||||
</Shell>
|
||||
);
|
||||
|
||||
@@ -5,8 +5,7 @@ import { useRouter } from "next/navigation";
|
||||
import type { Dispatch, SetStateAction } from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
import { getLayout } from "@calcom/features/MainLayout";
|
||||
import { ShellMain } from "@calcom/features/shell/Shell";
|
||||
import Shell from "@calcom/features/shell/Shell";
|
||||
import { classNames } from "@calcom/lib";
|
||||
import { WEBAPP_URL } from "@calcom/lib/constants";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
@@ -52,10 +51,12 @@ function WorkflowsPage() {
|
||||
});
|
||||
|
||||
return (
|
||||
<ShellMain
|
||||
<Shell
|
||||
withoutMain={false}
|
||||
heading={t("workflows")}
|
||||
title={t("workflows")}
|
||||
subtitle={t("workflows_to_automate_notifications")}
|
||||
title="Workflows"
|
||||
description="Create workflows to automate notifications and reminders."
|
||||
hideHeadingOnMobile
|
||||
CTA={
|
||||
session.data?.hasValidLicense ? (
|
||||
@@ -95,7 +96,7 @@ function WorkflowsPage() {
|
||||
</FilterResults>
|
||||
</>
|
||||
</LicenseRequired>
|
||||
</ShellMain>
|
||||
</Shell>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -222,6 +223,4 @@ const Filter = (props: {
|
||||
);
|
||||
};
|
||||
|
||||
WorkflowsPage.getLayout = getLayout;
|
||||
|
||||
export default WorkflowsPage;
|
||||
@@ -245,7 +245,7 @@ const Layout = (props: LayoutProps) => {
|
||||
{!props.withoutSeo && (
|
||||
<HeadSeo
|
||||
title={pageTitle ?? APP_NAME}
|
||||
description={props.subtitle ? props.subtitle?.toString() : ""}
|
||||
description={props.description ?? props.subtitle?.toString() ?? ""}
|
||||
/>
|
||||
)}
|
||||
<div>
|
||||
@@ -302,6 +302,7 @@ type DrawerState = [isOpen: boolean, setDrawerOpen: Dispatch<SetStateAction<bool
|
||||
type LayoutProps = {
|
||||
centered?: boolean;
|
||||
title?: string;
|
||||
description?: string;
|
||||
heading?: ReactNode;
|
||||
subtitle?: ReactNode;
|
||||
headerClassName?: string;
|
||||
|
||||
Reference in new issue
Block a user