Added email templating, and user welcome email
This commit is contained in:
17
server/emails/components/Button.js
Normal file
17
server/emails/components/Button.js
Normal file
@ -0,0 +1,17 @@
|
||||
// @flow
|
||||
import React from 'react';
|
||||
|
||||
export default (props: { href: string, children: React.Element<*> }) => {
|
||||
const style = {
|
||||
display: 'inline-block',
|
||||
padding: '10px 20px',
|
||||
color: '#FFFFFF',
|
||||
background: '#000000',
|
||||
borderRadius: '4px',
|
||||
fontWeight: 500,
|
||||
textDecoration: 'none',
|
||||
cursor: 'pointer',
|
||||
};
|
||||
|
||||
return <a {...props} style={style} />;
|
||||
};
|
Reference in New Issue
Block a user