File tree Expand file tree Collapse file tree 3 files changed +19
-14
lines changed Expand file tree Collapse file tree 3 files changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export async function sendEmail(
2525
2626 const emailHtml = await render ( template ) ;
2727
28- const appName = "Fossorial - Pangolin" ;
28+ const appName = "Pangolin" ;
2929
3030 await emailClient . sendMail ( {
3131 from : {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function ButtonLink({
1212 return (
1313 < a
1414 href = { href }
15- className = { `inline-block bg-primary hover:bg-primary/90 text-white font-semibold px-8 py-3 rounded-lg text-center no-underline transition-colors ${ className } ` }
15+ className = { `inline-block bg-primary text-white font-semibold px-8 py-3 rounded-lg text-center no-underline ${ className } ` }
1616 style = { {
1717 backgroundColor : "#F97316" ,
1818 textDecoration : "none"
Original file line number Diff line number Diff line change 11import React from "react" ;
22import { Container , Img } from "@react-email/components" ;
3+ import { build } from "@server/build" ;
34
45// EmailContainer: Wraps the entire email layout
56export function EmailContainer ( { children } : { children : React . ReactNode } ) {
@@ -81,18 +82,22 @@ export function EmailSection({
8182// EmailFooter: For closing or signature
8283export function EmailFooter ( { children } : { children : React . ReactNode } ) {
8384 return (
84- < div className = "px-6 py-6 border-t border-gray-100 bg-gray-50" >
85- { children }
86- < p className = "text-xs text-gray-400 mt-4" >
87- For any questions or support, please contact us at:
88- < br />
89- support@fossorial.io
90- </ p >
91- < p className = "text-xs text-gray-300 text-center mt-4" >
92- © { new Date ( ) . getFullYear ( ) } Fossorial, Inc. All rights
93- reserved.
94- </ p >
95- </ div >
85+ < >
86+ { build === "saas" && (
87+ < div className = "px-6 py-6 border-t border-gray-100 bg-gray-50" >
88+ { children }
89+ < p className = "text-xs text-gray-400 mt-4" >
90+ For any questions or support, please contact us at:
91+ < br />
92+ support@fossorial.io
93+ </ p >
94+ < p className = "text-xs text-gray-300 text-center mt-4" >
95+ © { new Date ( ) . getFullYear ( ) } Fossorial, Inc. All
96+ rights reserved.
97+ </ p >
98+ </ div >
99+ ) }
100+ </ >
96101 ) ;
97102}
98103
You can’t perform that action at this time.
0 commit comments