File tree Expand file tree Collapse file tree 7 files changed +42
-13
lines changed
Expand file tree Collapse file tree 7 files changed +42
-13
lines changed Original file line number Diff line number Diff line change 1- import { defaultLoginLink , defaultLogoURL } from "./constants" ;
1+ import {
2+ defaultLoginLink ,
3+ defaultLogoHeight ,
4+ defaultLogoURL ,
5+ defaultLogoWidth ,
6+ } from "./constants" ;
27
38const adminInviteEmail = (
49 verifyEmailLink : string ,
@@ -30,7 +35,7 @@ const adminInviteEmail = (
3035 border-bottom: 2px solid #FFE6DD;
3136 background: #FCC4B1;
3237 ">
33- <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="height: 40px " />
38+ <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="width: ${ defaultLogoWidth } ; height: ${ defaultLogoHeight } " />
3439 </td>
3540 </tr>
3641
Original file line number Diff line number Diff line change 11export const defaultLoginLink = "https://eaf.jimmyliu.dev/welcome" ;
22
33export const defaultLogoURL =
4- "https://firebasestorage.googleapis.com/v0/b/extendafamily-7613e.appspot.com/o/eaf-email-banner-logo.png?alt=media&token=73fa0ff8-4122-45fa-9f12-5fd57039c7c6" ;
4+ "https://firebasestorage.googleapis.com/v0/b/extendafamily-7613e.appspot.com/o/eaf-logo.png?alt=media&token=0ac01306-c300-4557-944e-5ad9c748ac3e" ;
5+ export const defaultLogoWidth = "105px" ;
6+ export const defaultLogoHeight = "50px" ;
57
68export const defaultReplyToEmail = "pranol.mathan@eafwr.on.ca" ;
79
Original file line number Diff line number Diff line change 1- import { defaultLoginLink , defaultLogoURL } from "./constants" ;
1+ import {
2+ defaultLoginLink ,
3+ defaultLogoHeight ,
4+ defaultLogoURL ,
5+ defaultLogoWidth ,
6+ } from "./constants" ;
27
38const facilitatorApprovedEmail = (
49 loginLink : string = defaultLoginLink ,
@@ -28,7 +33,7 @@ const facilitatorApprovedEmail = (
2833 border-bottom: 2px solid #E5E7FF;
2934 background: #F2F3FF;
3035 ">
31- <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="height: 40px " />
36+ <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="width: ${ defaultLogoWidth } ; height: ${ defaultLogoHeight } " />
3237 </td>
3338 </tr>
3439
Original file line number Diff line number Diff line change 1- import { defaultLogoURL } from "./constants" ;
1+ import {
2+ defaultLogoHeight ,
3+ defaultLogoURL ,
4+ defaultLogoWidth ,
5+ } from "./constants" ;
26
37const facilitatorRejectedEmail = ( ) : string => `
48<html lang="en">
@@ -26,7 +30,7 @@ const facilitatorRejectedEmail = (): string => `
2630 border-bottom: 2px solid #E5E7FF;
2731 background: #F2F3FF;
2832 ">
29- <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="height: 40px " />
33+ <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="width: ${ defaultLogoWidth } ; height: ${ defaultLogoHeight } " />
3034 </td>
3135 </tr>
3236
Original file line number Diff line number Diff line change 1- import { defaultLogoURL } from "./constants" ;
1+ import {
2+ defaultLogoHeight ,
3+ defaultLogoURL ,
4+ defaultLogoWidth ,
5+ } from "./constants" ;
26
37const facilitatorVerificationEmail = ( verifyEmailLink : string ) : string => `
48<html lang="en">
@@ -26,7 +30,7 @@ const facilitatorVerificationEmail = (verifyEmailLink: string): string => `
2630 border-bottom: 2px solid #E5E7FF;
2731 background: #F2F3FF;
2832 ">
29- <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="height: 40px " />
33+ <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="width: ${ defaultLogoWidth } ; height: ${ defaultLogoHeight } " />
3034 </td>
3135 </tr>
3236
Original file line number Diff line number Diff line change 1- import { defaultLogoURL } from "./constants" ;
1+ import {
2+ defaultLogoHeight ,
3+ defaultLogoURL ,
4+ defaultLogoWidth ,
5+ } from "./constants" ;
26
37const forgotPasswordEmail = (
48 name : string ,
@@ -33,7 +37,7 @@ const forgotPasswordEmail = (
3337 border-bottom: 2px solid ${ bannerBorder } ;
3438 background: ${ bannerBackground } ;
3539 ">
36- <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="height: 40px " />
40+ <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="width: ${ defaultLogoWidth } ; height: ${ defaultLogoHeight } " />
3741 </td>
3842 </tr>
3943
Original file line number Diff line number Diff line change 1- import { defaultLoginLink , defaultLogoURL } from "./constants" ;
1+ import {
2+ defaultLoginLink ,
3+ defaultLogoHeight ,
4+ defaultLogoURL ,
5+ defaultLogoWidth ,
6+ } from "./constants" ;
27
38const learnerInviteEmail = (
49 learnerName : string ,
@@ -32,7 +37,7 @@ const learnerInviteEmail = (
3237 border-bottom: 2px solid #C8F3FA;
3338 background: #E3F9FC;
3439 ">
35- <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="height: 40px " />
40+ <img src="${ defaultLogoURL } " alt="Extend-A-Family logo" style="width: ${ defaultLogoWidth } ; height: ${ defaultLogoHeight } " />
3641 </td>
3742 </tr>
3843
You can’t perform that action at this time.
0 commit comments