From 6c70e5adab31f6eb4fe446213976ebe78fa6d55e Mon Sep 17 00:00:00 2001 From: Kingsley Date: Tue, 30 Jul 2024 01:31:38 +0100 Subject: [PATCH 1/2] feat: develop the edit-email-template page --- .../email/_components/page-header/index.tsx | 5 +-- .../[templateId]/page.tsx | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx diff --git a/src/app/dashboard/(admin)/admin/email/_components/page-header/index.tsx b/src/app/dashboard/(admin)/admin/email/_components/page-header/index.tsx index fc0195c79..c6d7e7250 100644 --- a/src/app/dashboard/(admin)/admin/email/_components/page-header/index.tsx +++ b/src/app/dashboard/(admin)/admin/email/_components/page-header/index.tsx @@ -13,10 +13,7 @@ const PageHeader: FC = ({ title, description }) => { > {title} -

+

{description}

diff --git a/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx b/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx new file mode 100644 index 000000000..05f5ad360 --- /dev/null +++ b/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx @@ -0,0 +1,40 @@ +import { EllipsisVertical, Eye, Redo, Undo } from "lucide-react"; + +import { Button } from "~/components/common/common-button"; +import PageHeader from "../../_components/page-header"; + +export default function page() { + return ( +
+
+ +
+
+ + + + + +
+
+
+
+
+ {/* YOUR EDIT TEMPLATE COMPONENTS GOES HERE ACCORRDING */} + {/* CREATE A FLEX CONTAINER TO HOUSE THE TEMPLATE AREA AND THE SIDEBAR ICONS */} +
+
+
+ ); +} From e86f34b1e86c9d9c59e553bf6f21cb4b0f734876 Mon Sep 17 00:00:00 2001 From: Kingsley Date: Tue, 30 Jul 2024 01:38:59 +0100 Subject: [PATCH 2/2] fix: remove border color for template area --- .../admin/email/edit-in-buit-templates/[templateId]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx b/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx index 05f5ad360..1a807af4a 100644 --- a/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx +++ b/src/app/dashboard/(admin)/admin/email/edit-in-buit-templates/[templateId]/page.tsx @@ -30,7 +30,7 @@ export default function page() {
-
+
{/* YOUR EDIT TEMPLATE COMPONENTS GOES HERE ACCORRDING */} {/* CREATE A FLEX CONTAINER TO HOUSE THE TEMPLATE AREA AND THE SIDEBAR ICONS */}