Files
outline/server/emails/templates/components/Header.tsx
Tom Moor 3c002f82cc chore: Centralize env parsing, validation, defaults, and deprecation notices (#3487)
* chore: Centralize env parsing, defaults, deprecation

* wip

* test

* test

* tsc

* docs, more validation

* fix: Allow empty REDIS_URL (defaults to localhost)

* test

* fix: SLACK_MESSAGE_ACTIONS not bool

* fix: Add SMTP port validation
2022-05-19 08:05:11 -07:00

27 lines
555 B
TypeScript

import { Table, TBody, TR, TD } from "oy-vey";
import * as React from "react";
import env from "@server/env";
import EmptySpace from "./EmptySpace";
const url = env.CDN_URL ?? env.URL;
export default () => {
return (
<Table width="100%">
<TBody>
<TR>
<TD>
<EmptySpace height={40} />
<img
alt="Outline"
src={`${url}/email/header-logo.png`}
height="48"
width="48"
/>
</TD>
</TR>
</TBody>
</Table>
);
};