* esm * wip * wip * wip * wip * wip * wip * subscription notice * wip * wip * wip * fix envs * fix: update docker build * fix * esm/types * delete dashboard :D * add patches to dockerfiles * update packages + catalogs + ts * wip * remove native libs * ts * improvements * fix redirects and fetching session * try fix favicon * fixes * fix * order and resize reportds within a dashboard * improvements * wip * added userjot to dashboard * fix * add op * wip * different cache key * improve date picker * fix table * event details loading * redo onboarding completely * fix login * fix * fix * extend session, billing and improve bars * fix * reduce price on 10M
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
import { Button, Link, Text } from '@react-email/components';
|
|
import React from 'react';
|
|
import { z } from 'zod';
|
|
import { Layout } from '../components/layout';
|
|
|
|
export const zEmailResetPassword = z.object({
|
|
url: z.string(),
|
|
});
|
|
|
|
export type Props = z.infer<typeof zEmailResetPassword>;
|
|
export default EmailResetPassword;
|
|
export function EmailResetPassword({ url = 'https://openpanel.dev' }: Props) {
|
|
return (
|
|
<Layout>
|
|
<Text>
|
|
You have requested to reset your password. Follow the link below to
|
|
reset your password:
|
|
</Text>
|
|
<Button
|
|
href={url}
|
|
style={{
|
|
backgroundColor: '#000',
|
|
borderRadius: '6px',
|
|
color: '#fff',
|
|
padding: '12px 20px',
|
|
textDecoration: 'none',
|
|
}}
|
|
>
|
|
Reset password
|
|
</Button>
|
|
<Text>
|
|
Reset password link: <Link href={url}>{url}</Link>
|
|
</Text>
|
|
<Text style={{ color: '#666' }}>
|
|
Have you not requested this? Please ignore this email and contact
|
|
support if you believe this was a mistake.
|
|
</Text>
|
|
</Layout>
|
|
);
|
|
}
|