refactor: some name and styling changes

This commit is contained in:
Riccardo
2023-12-17 17:48:08 +01:00
parent 6245ee943d
commit 878e787ed0
17 changed files with 55 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
import Email from './template';
export default function ConfirmationEmail(code: string) {
export default function ConfirmationTemplate(code: string) {
return {
subject: 'Welcome!',
template: (

View File

@@ -3,7 +3,7 @@ import { Html } from '@react-email/html';
import { Section } from '@react-email/section';
import { Text } from '@react-email/text';
import { z } from 'zod';
import { NewsSchema } from '../../utils/types';
import { NewsSchema } from '../../utils/schemas';
export default function NewsletterTemplate(
stories: z.infer<typeof NewsSchema>[]