From 957058d512ddf4da38dd5c06db3cdd336634b2c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckirukib=E2=80=9D?= <“kirubeljkl679@gmail.com”> Date: Thu, 2 Apr 2026 11:38:31 +0300 Subject: [PATCH] footer like reference Made-with: Cursor --- src/email/EmailShell.tsx | 143 ++++++++++++++++++++------------------- 1 file changed, 75 insertions(+), 68 deletions(-) diff --git a/src/email/EmailShell.tsx b/src/email/EmailShell.tsx index fdfd4ee..f28b6b8 100644 --- a/src/email/EmailShell.tsx +++ b/src/email/EmailShell.tsx @@ -7,7 +7,6 @@ import { Section, Text, Heading, - Hr, Img, Preview, Link, @@ -116,82 +115,69 @@ export function EmailShell({ brand, title, previewText, children }: EmailShellPr
{children}
-
-
-
- - Contact - +
+ + Need Help? + - - - {brand.footer.address ? ( - } iconColor={brand.primaryColor}> - - {brand.footer.address} - - - ) : null} - +
+ {brand.footer.email ? ( + } iconColor={brand.primaryColor}> + + {brand.footer.email} + + + ) : null} - - {brand.footer.email ? ( - } iconColor={brand.primaryColor}> + {brand.footer.phone1 || brand.footer.phone2 ? ( + } iconColor={brand.primaryColor}> + + {brand.footer.phone1 ? ( - {brand.footer.email} + {brand.footer.phone1} - - ) : null} + ) : null} + {brand.footer.phone1 && brand.footer.phone2 ? ' · ' : ''} + {brand.footer.phone2 ? ( + + {brand.footer.phone2} + + ) : null} + + + ) : null} - {brand.footer.phone1 || brand.footer.phone2 ? ( - } iconColor={brand.primaryColor}> - - {brand.footer.phone1 ? ( - - {brand.footer.phone1} - - ) : null} - {brand.footer.phone1 && brand.footer.phone2 ? ' · ' : ''} - {brand.footer.phone2 ? ( - - {brand.footer.phone2} - - ) : null} - - - ) : null} - - + {brand.footer.address ? ( + } iconColor={brand.primaryColor}> + + {brand.footer.address} + + + ) : null}
-
+
- Follow us + Social +
+
- +
+ © {new Date().getFullYear()} {brand.hotelName}. All rights reserved. + {brand.footer.address ? ( + + {brand.footer.address} + + ) : null} + + + + Unsubscribe + + {' '}|{' '} + + Privacy Policy + + {' '}|{' '} + + Terms of Service + +