This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/emails/components/Header.js

27 lines
549 B
JavaScript
Raw Normal View History

2018-03-05 07:18:39 +00:00
// @flow
import { Table, TBody, TR, TD } from "oy-vey";
import * as React from "react";
import EmptySpace from "./EmptySpace";
2018-03-05 07:18:39 +00:00
const url = process.env.CDN_URL || process.env.URL;
2018-03-05 07:18:39 +00:00
export default () => {
return (
<Table width="100%">
<TBody>
<TR>
<TD>
<EmptySpace height={40} />
<img
2018-05-05 23:16:08 +00:00
alt="Outline"
src={`${url}/email/header-logo.png`}
height="48"
width="48"
2018-03-05 07:18:39 +00:00
/>
</TD>
</TR>
</TBody>
</Table>
);
};