* Add new package * Add twenty-emails package * Use generated files from twenty-emails in twenty-server * Fix deleted file * Import emails templates properly
22 lines
585 B
TypeScript
22 lines
585 B
TypeScript
import * as React from 'react';
|
|
import { Font, Head } from '@react-email/components';
|
|
import { emailTheme } from 'src/common-style';
|
|
|
|
export const BaseHead = () => {
|
|
return (
|
|
<Head>
|
|
<title>Twenty email</title>
|
|
<Font
|
|
fontFamily="Inter"
|
|
fallbackFontFamily="sans-serif"
|
|
webFont={{
|
|
url: 'https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap',
|
|
format: 'woff2',
|
|
}}
|
|
fontStyle="normal"
|
|
fontWeight={emailTheme.font.weight.regular}
|
|
/>
|
|
</Head>
|
|
);
|
|
};
|