diff --git a/app/components/InvoiceEmail/DetailTable.tsx b/app/components/EmailSubRenewal/InvoiceEmail/DetailTable.tsx similarity index 100% rename from app/components/InvoiceEmail/DetailTable.tsx rename to app/components/EmailSubRenewal/InvoiceEmail/DetailTable.tsx diff --git a/app/components/InvoiceEmail/EmailFooter.tsx b/app/components/EmailSubRenewal/InvoiceEmail/EmailFooter.tsx similarity index 100% rename from app/components/InvoiceEmail/EmailFooter.tsx rename to app/components/EmailSubRenewal/InvoiceEmail/EmailFooter.tsx diff --git a/app/components/InvoiceEmail/OrderSummaryTable.tsx b/app/components/EmailSubRenewal/InvoiceEmail/OrderSummaryTable.tsx similarity index 100% rename from app/components/InvoiceEmail/OrderSummaryTable.tsx rename to app/components/EmailSubRenewal/InvoiceEmail/OrderSummaryTable.tsx diff --git a/app/email/templates/invoice-email-temp/InvoiceEmail.tsx b/app/email/templates/invoice-email-temp/InvoiceEmail.tsx index 199b8cbf..9d1ab2f6 100644 --- a/app/email/templates/invoice-email-temp/InvoiceEmail.tsx +++ b/app/email/templates/invoice-email-temp/InvoiceEmail.tsx @@ -12,9 +12,9 @@ import { Text, } from "@react-email/components"; -import DetailTable from "~/components/InvoiceEmail/DetailTable"; -import EmailFooter from "~/components/InvoiceEmail/EmailFooter"; -import OrderSummaryTable from "~/components/InvoiceEmail/OrderSummaryTable"; +import DetailTable from "~/components/EmailSubRenewal/InvoiceEmail/DetailTable"; +import EmailFooter from "~/components/EmailSubRenewal/InvoiceEmail/EmailFooter"; +import OrderSummaryTable from "~/components/EmailSubRenewal/InvoiceEmail/OrderSummaryTable"; import { invoiceDetails, orderSummary, paymentDetails } from "./data"; interface infoProperties { diff --git a/app/routes/admin.email.edit-template.tsx b/app/routes/admin.email.edit-template.tsx index 5a30e845..7e0421d1 100644 --- a/app/routes/admin.email.edit-template.tsx +++ b/app/routes/admin.email.edit-template.tsx @@ -1,5 +1,112 @@ +import { useNavigate } from "@remix-run/react"; +import { useState } from "react"; + +import Button from "~/components/customButton/customButton"; +import accordian from "../../public/icons/accordion.png"; + const EditTemplate = () => { - return
+ Review the layout and look of your email template generated + generated from the pasted HTML code to ensure you have pasted the + right template. +
+{content}
+{BrandContent}
+