Skip to content

High performance self-hosted photo and video management solution.

chore(server): email template minor styling (#11387)

Alex3330885bcc88
diff --git a/server/src/emails/album-invite.email.tsx b/server/src/emails/album-invite.email.tsx
index 8ea6007eba..b804be0898 100644
--- a/server/src/emails/album-invite.email.tsx
+++ b/server/src/emails/album-invite.email.tsx
@@ -13,7 +13,7 @@ export const AlbumInviteEmail = ({
cid,
}: AlbumInviteEmailProps) => (
<ImmichLayout preview="You have been added to a shared album.">
- <Text className="m-0 text-2xl">
+ <Text className="m-0">
Hey <strong>{recipientName}</strong>!
</Text>
diff --git a/server/src/emails/album-update.email.tsx b/server/src/emails/album-update.email.tsx
index 87d7558c8d..d05631a772 100644
--- a/server/src/emails/album-update.email.tsx
+++ b/server/src/emails/album-update.email.tsx
@@ -6,7 +6,7 @@ import ImmichLayout from './components/immich.layout';
export const AlbumUpdateEmail = ({ baseUrl, albumName, recipientName, albumId, cid }: AlbumUpdateEmailProps) => (
<ImmichLayout preview="New media has been added to a shared album.">
- <Text className="m-0 text-2xl">
+ <Text className="m-0">
Hey <strong>{recipientName}</strong>!
</Text>
diff --git a/server/src/emails/components/futo.layout.tsx b/server/src/emails/components/futo.layout.tsx
index 54da77b8af..c531201411 100644
--- a/server/src/emails/components/futo.layout.tsx
+++ b/server/src/emails/components/futo.layout.tsx
@@ -72,16 +72,7 @@ export const FutoLayout = ({ children, preview }: FutoLayoutProps) => (
<Section className="flex justify-center my-6">
<Link href="https://futo.org">
- <Img
- className="h-6"
- src="https://futo.org/images/FutoMainLogo.svg"
- alt="FUTO"
- // style={{
- // height: '24px',
- // marginTop: '25px',
- // marginBottom: '25px',
- // }}
- />
+ <Img className="h-6" src="https://futo.org/images/FutoMainLogo.svg" alt="FUTO" />
</Link>
</Section>
diff --git a/server/src/emails/components/immich.layout.tsx b/server/src/emails/components/immich.layout.tsx
index 30e4b552fd..8e6de2eebc 100644
--- a/server/src/emails/components/immich.layout.tsx
+++ b/server/src/emails/components/immich.layout.tsx
@@ -43,9 +43,9 @@ export const ImmichLayout = ({ children, preview }: ImmichLayoutProps) => (
/>
</Head>
<Preview>{preview}</Preview>
- <Body className="my-auto mx-auto px-2 font-sans text-base text-immich-primary">
+ <Body className="bg-[#F4F4f4] my-auto mx-auto px-2 font-sans text-base text-gray-800">
<Container className="my-[40px] mx-auto max-w-[465px]">
- <Section className="my-6 p-12 border border-red-400 rounded-[50px] bg-slate-200">
+ <Section className="my-6 p-12 border border-red-400 rounded-[50px] bg-gray-50">
<Section className="flex justify-center mb-12">
<Img
src="https://immich.app/img/immich-logo-inline-light.png"
diff --git a/server/src/emails/license.email.tsx b/server/src/emails/license.email.tsx
index 69eb6d9045..40f4e9cc5b 100644
--- a/server/src/emails/license.email.tsx
+++ b/server/src/emails/license.email.tsx
@@ -27,14 +27,14 @@ export const LicenseEmail = () => (
<Text>Thank you for supporting Immich and open-source software</Text>
<Text>
- Your <strong>Immich</strong> license key is
+ Your <strong>Immich</strong> key is
</Text>
<Section className="my-2 bg-gray-200 rounded-2xl text-center p-4">
<Text className="m-0 text-monospace font-bold text-immich-primary">{'{{LICENSEKEY}}'}</Text>
</Section>
- {/* <Text>
+ <Text>
To activate your instance, you can click the following button or copy and paste the link below to your browser.
</Text>
@@ -55,7 +55,7 @@ export const LicenseEmail = () => (
https://my.immich.app/link?target=activate_license&licenseKey={'{{LICENSEKEY}}'}&activationKey=
{'{{ACTIVATIONKEY}}'}
</Link>
- </Text> */}
+ </Text>
</FutoLayout>
);
diff --git a/server/src/emails/test.email.tsx b/server/src/emails/test.email.tsx
index ba596ef797..3b6dc0f940 100644
--- a/server/src/emails/test.email.tsx
+++ b/server/src/emails/test.email.tsx
@@ -5,7 +5,7 @@ import ImmichLayout from './components/immich.layout';
export const TestEmail = ({ baseUrl, displayName }: TestEmailProps) => (
<ImmichLayout preview="This is a test email from Immich.">
- <Text className="m-0 text-2xl">
+ <Text className="m-0">
Hey <strong>{displayName}</strong>!
</Text>
diff --git a/server/src/emails/welcome.email.tsx b/server/src/emails/welcome.email.tsx
index 90e55b1f49..d6b3fc13e7 100644
--- a/server/src/emails/welcome.email.tsx
+++ b/server/src/emails/welcome.email.tsx
@@ -6,7 +6,7 @@ import ImmichLayout from './components/immich.layout';
export const WelcomeEmail = ({ baseUrl, displayName, username, password }: WelcomeEmailProps) => (
<ImmichLayout preview="You have been invited to a new Immich instance.">
- <Text className="m-0 text-2xl">
+ <Text className="m-0">
Hey <strong>{displayName}</strong>!
</Text>