mirror of
https://github.com/immich-app/immich.git
synced 2025-11-19 13:03:20 -05:00
* refactor: version history repository * refactor: oauth repository * refactor: trash repository * refactor: telemetry repository * refactor: metadata repository * refactor: cron repository * refactor: map repository * refactor: server-info repository * refactor: album user repository * refactor: notification repository
26 lines
743 B
TypeScript
26 lines
743 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/repositories/notification.repository';
|
|
|
|
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;
|