diff --git a/apps/contact/email-templates/components/Layout.tsx b/apps/contact/email-templates/components/Layout.tsx new file mode 100644 index 00000000..31503f84 --- /dev/null +++ b/apps/contact/email-templates/components/Layout.tsx @@ -0,0 +1,95 @@ +import { + Html, + Img, + Body, + Section, + Column, + Tailwind, + pixelBasedPreset, + Row, + Link, + Container, + Hr, + Text, +} from "@react-email/components"; + +const baseUrl = + "https://company-website-git-feat-email-layout-crocoder.vercel.app"; + +const Layout = ({ children }: { children: React.ReactNode }) => { + return ( + + + + + + + + + + Crocoder logo + + + + + + + {children} + +
+ + + + + + + Crocoder logo + + + + + + +
+
+ + {`© ${new Date().getFullYear()} CroCoder, Inc. All rights reserved`} + + + + This email and its contents are provided for informational + and promotional purposes only. It represents the interests + of both CroCoder, Inc. and Abram d.o.o. The information + shared is intended to highlight the products, services, and + initiatives of these companies. + + +
+
+
+ + +
+ ); +}; +export default Layout; diff --git a/apps/contact/email-templates/contact.tsx b/apps/contact/email-templates/contact.tsx index 57fec146..0656e72e 100644 --- a/apps/contact/email-templates/contact.tsx +++ b/apps/contact/email-templates/contact.tsx @@ -1,10 +1,31 @@ -import { Heading, Html } from "@react-email/components"; +import { Text, Section } from "@react-email/components"; +import Layout from "./components/Layout"; const ContactTemplate = () => { return ( - - Thank you for contacting us! - + +
+ + Hi,
+ Thank you for getting in touch! +
+
+ Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque + faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi + pretium tellus duis convallis. Tempus leo eu aenean sed diam urna + tempor. +
+ Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque + faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi + pretium tellus duis convallis. Tempus leo eu aenean sed diam urna + tempor. +
+
+ Best regards,
+ The CroCoder team +
+
+
); }; diff --git a/apps/contact/package.json b/apps/contact/package.json index 8a32558d..c68fa790 100644 --- a/apps/contact/package.json +++ b/apps/contact/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "emails": "email dev --dir app/\\(email-templates\\)" + "emails": "email dev --dir email-templates" }, "dependencies": { "@aws-sdk/client-sesv2": "^3.888.0", @@ -29,4 +29,4 @@ "react-email": "4.2.11", "typescript": "^5" } -} \ No newline at end of file +} diff --git a/apps/website/public/email_light.png b/apps/website/public/email_light.png new file mode 100644 index 00000000..cc716c33 Binary files /dev/null and b/apps/website/public/email_light.png differ diff --git a/apps/website/public/pattern_light.png b/apps/website/public/pattern_light.png new file mode 100644 index 00000000..202cddc1 Binary files /dev/null and b/apps/website/public/pattern_light.png differ