2017-11-12 23:02:23 +00:00
|
|
|
// @flow
|
2018-05-05 23:16:08 +00:00
|
|
|
import * as React from 'react';
|
2017-11-12 23:02:23 +00:00
|
|
|
import EmailTemplate from './components/EmailLayout';
|
|
|
|
import Body from './components/Body';
|
|
|
|
import Button from './components/Button';
|
2018-03-05 07:30:23 +00:00
|
|
|
import Heading from './components/Heading';
|
2018-03-05 07:18:39 +00:00
|
|
|
import Header from './components/Header';
|
2017-11-12 23:02:23 +00:00
|
|
|
import Footer from './components/Footer';
|
|
|
|
import EmptySpace from './components/EmptySpace';
|
|
|
|
|
2019-01-27 12:30:53 +00:00
|
|
|
export type Props = {
|
|
|
|
teamUrl: string,
|
|
|
|
};
|
|
|
|
|
|
|
|
export const welcomeEmailText = ({ teamUrl }: Props) => `
|
2017-11-12 23:02:23 +00:00
|
|
|
Welcome to Outline!
|
|
|
|
|
|
|
|
Outline is a place for your team to build and share knowledge.
|
|
|
|
|
|
|
|
To get started, head to your dashboard and try creating a collection to help document your workflow, create playbooks or help with team onboarding.
|
|
|
|
|
2018-09-28 04:22:29 +00:00
|
|
|
You can also import existing Markdown documents by dragging and dropping them to your collections.
|
2017-11-12 23:02:23 +00:00
|
|
|
|
2019-01-27 12:30:53 +00:00
|
|
|
${teamUrl}/dashboard
|
2017-11-12 23:02:23 +00:00
|
|
|
`;
|
|
|
|
|
2019-01-27 12:30:53 +00:00
|
|
|
export const WelcomeEmail = ({ teamUrl }: Props) => {
|
2017-11-12 23:02:23 +00:00
|
|
|
return (
|
|
|
|
<EmailTemplate>
|
2018-03-05 07:18:39 +00:00
|
|
|
<Header />
|
|
|
|
|
2017-11-12 23:02:23 +00:00
|
|
|
<Body>
|
2018-03-05 07:30:23 +00:00
|
|
|
<Heading>Welcome to Outline!</Heading>
|
2017-11-12 23:02:23 +00:00
|
|
|
<p>Outline is a place for your team to build and share knowledge.</p>
|
|
|
|
<p>
|
|
|
|
To get started, head to your dashboard and try creating a collection
|
|
|
|
to help document your workflow, create playbooks or help with team
|
|
|
|
onboarding.
|
|
|
|
</p>
|
|
|
|
<p>
|
2018-09-30 05:24:52 +00:00
|
|
|
You can also import existing Markdown documents by dragging and
|
|
|
|
dropping them to your collections.
|
2017-11-12 23:02:23 +00:00
|
|
|
</p>
|
|
|
|
<EmptySpace height={10} />
|
|
|
|
<p>
|
2019-01-27 12:30:53 +00:00
|
|
|
<Button href={`${teamUrl}/dashboard`}>View my dashboard</Button>
|
2017-11-12 23:02:23 +00:00
|
|
|
</p>
|
|
|
|
</Body>
|
|
|
|
|
|
|
|
<Footer />
|
|
|
|
</EmailTemplate>
|
|
|
|
);
|
|
|
|
};
|