Tweaked email layout

This commit is contained in:
Jori Lallo 2018-03-04 23:18:39 -08:00
parent 7272b24eaf
commit 189c592a44
4 changed files with 28 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -3,6 +3,7 @@ import React from 'react';
import EmailTemplate from './components/EmailLayout';
import Body from './components/Body';
import Button from './components/Button';
import Header from './components/Header';
import Footer from './components/Footer';
import EmptySpace from './components/EmptySpace';
@ -21,6 +22,8 @@ ${process.env.URL}/dashboard
export const WelcomeEmail = () => {
return (
<EmailTemplate>
<Header />
<Body>
<p>
<strong>Welcome to Outline!</strong>

View File

@ -14,7 +14,7 @@ export default ({ children }: Props) => {
<TBody>
<TR>
<TD>
<EmptySpace height={40} />
<EmptySpace height={20} />
{children}
<EmptySpace height={40} />
</TD>

View File

@ -0,0 +1,24 @@
// @flow
import React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import EmptySpace from './EmptySpace';
import { color } from '../../../shared/styles/constants';
export default () => {
return (
<Table width="100%">
<TBody>
<TR>
<TD>
<EmptySpace height={40} />
<img
src={`${process.env.URL}/email/header-logo.png`}
height="55"
width="32"
/>
</TD>
</TR>
</TBody>
</Table>
);
};