Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpaige committed Jan 21, 2025
1 parent fa3b022 commit 9623dce
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 25 deletions.
25 changes: 25 additions & 0 deletions lib/libs/email/preview/InitialSubmissions/CMS/AppK.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { AppKCMSEmail } from "../../../content/newSubmission/emailTemplates";
import { emailTemplateValue } from "../../../mock-data/new-submission";
import * as attachments from "../../../mock-data/attachments";

const AppKCMSEmailPreview = () => {
return (
<AppKCMSEmail
variables={{
...emailTemplateValue,
event: "app-k",
id: "CO-1234.R21.00",
authority: "1915(c)",
actionType: "Amend",
territory: "CO",
title: "A Perfect Appendix K Amendment Title",
attachments: {
appk: attachments.appk,
other: attachments.other,
},
}}
/>
);
};

export default AppKCMSEmailPreview;
13 changes: 10 additions & 3 deletions lib/libs/email/preview/InitialSubmissions/CMS/Temp_Extension.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ import { emailTemplateValue } from "../../../mock-data/temp-extension";
const TempExtCMSPreview = () => {
return (
<TempExtCMSEmail
variables={{
...emailTemplateValue,
}}
variables={
{
...emailTemplateValue,
authority: "1915(b)",
actionType: "Extend",
emails: {
osgEmail: ["someone at osg <[email protected]>"],
},
} as any
}
/>
);
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import { emailTemplateValue } from "../../../mock-data/temp-extension";

import { TempExtStateEmail } from "../../../content/tempExtension/emailTemplates/TempExtState";
import { Events } from "lib/packages/shared-types";
import { CommonEmailVariables } from "lib/packages/shared-types";

const TempExtStatePreview = () => {
return (
<TempExtStateEmail
variables={{
...emailTemplateValue,
authority: "1915(b)",
actionType: "Extend",
} as Events["TemporaryExtension"] & CommonEmailVariables
variables={
{
...emailTemplateValue,
authority: "1915(b)",
actionType: "Extend",
} as any
}
/>
);
Expand Down
14 changes: 0 additions & 14 deletions lib/libs/email/preview/Initial_Submissions/CMS/Temp_Extension.tsx

This file was deleted.

0 comments on commit 9623dce

Please sign in to comment.