* 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
27 lines
555 B
TypeScript
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>
|
|
);
|
|
};
|