Files
immich/server/src/emails/test.email.tsx
renovate[bot] cc4e5298ff fix(deps): update typescript-projects (#11927)
* fix(deps): update typescript-projects

* chore: clean up

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-28 12:00:10 -04:00

26 lines
740 B
TypeScript

import { Link, Row, Text } from '@react-email/components';
import * as React from 'react';
import ImmichLayout from 'src/emails/components/immich.layout';
import { TestEmailProps } from 'src/interfaces/notification.interface';
export const TestEmail = ({ baseUrl, displayName }: TestEmailProps) => (
<ImmichLayout preview="This is a test email from Immich.">
<Text className="m-0">
Hey <strong>{displayName}</strong>!
</Text>
<Text>This is a test email from your Immich Instance!</Text>
<Row>
<Link href={baseUrl}>{baseUrl}</Link>
</Row>
</ImmichLayout>
);
TestEmail.PreviewProps = {
baseUrl: 'https://demo.immich.app',
displayName: 'Alan Turing',
} as TestEmailProps;
export default TestEmail;