From 4ac8ca62fbbb50254f5c6e1dffcd7937f4d83dae Mon Sep 17 00:00:00 2001 From: Leon Serfaty G Date: Fri, 18 Jul 2025 03:19:06 +0000 Subject: [PATCH] on the admin dashboard you remove the email SMPT tab, readded and inclu --- src/app/admin/layout.tsx | 11 +++- .../admin/settings/email-templates/page.tsx | 52 +++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 src/app/admin/settings/email-templates/page.tsx diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx index 71dd5a4..5f62f29 100644 --- a/src/app/admin/layout.tsx +++ b/src/app/admin/layout.tsx @@ -21,7 +21,8 @@ import { User, Settings, LogOut, - Code2 + Code2, + Mails } from "lucide-react" import { Button } from "@/components/ui/button"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; @@ -74,6 +75,14 @@ function AdminLayout({ + + + + + Email Templates + + + diff --git a/src/app/admin/settings/email-templates/page.tsx b/src/app/admin/settings/email-templates/page.tsx new file mode 100644 index 0000000..a7589ec --- /dev/null +++ b/src/app/admin/settings/email-templates/page.tsx @@ -0,0 +1,52 @@ + +import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; +import { Button } from '@/components/ui/button'; + +export default function EmailTemplatesPage() { + return ( +
+
+

Email Templates

+

+ Preview and manage the email sent to users after they complete an estimate. +

+
+ + +
+
+ Estimate Completion Email + This is the email users receive. +
+ +
+
+ +
+
+

Your Project Estimate is Ready!

+

Hello, [User Name],

+

Thank you for using EstimateFlow. We've prepared a rough estimate for your project based on your selections.

+ +
+
+

Custom Development Estimate

+

[Custom Hours]+ hours

+
+
+

Ready-Made Tools Estimate

+

[Ready-Made Hours]+ hours

+
+
+ +

Please note that this is a preliminary estimate. For a more detailed quote and to discuss your project further, please don't hesitate to contact us.

+ +

Best regards,

+

The EstimateFlow Team

+
+
+
+
+
+ ); +}