Updated FAQ

Improved homepage mobile styling
Minor fixes elsewhere
closes #690
This commit is contained in:
Tom Moor
2018-06-24 10:41:49 -07:00
parent 4ed2b4b475
commit 614b08311f
5 changed files with 69 additions and 30 deletions

View File

@ -57,8 +57,8 @@ export default function About() {
<p> <p>
<i> <i>
Outline is currently in public beta. The hosted service will stay Outline is currently in public beta. The hosted service will stay
free during this period. After that we will offer Outline free for free during this period. After that we will offer Outline free to
teams up to 5 people and have reasonable plans for larger teams. get started and have reasonable plans for larger teams.
</i> </i>
</p> </p>
<Authors> <Authors>
@ -143,10 +143,10 @@ export default function About() {
by supporting us financially. by supporting us financially.
</p> </p>
<p> <p>
<h3>Can I use Google/GitHub/etc to signup for Outline?</h3> <h3>Can I use X to signup for Outline?</h3>
We started with Slack as many teams are already using it and benefit We started with Slack and Google as many teams are already using these
from the integrations. Well be adding more login methods soon. Please services for team identity. Well consider adding more login methods
let us know which one you would like to see next{' '} soon. Please let us know which one you would like to see next{' '}
<a <a
href="https://spectrum.chat/outline/feature-requests?thread=a851c20d-251a-4c7b-8977-e1438894db51" href="https://spectrum.chat/outline/feature-requests?thread=a851c20d-251a-4c7b-8977-e1438894db51"
target="_blank" target="_blank"
@ -157,10 +157,11 @@ export default function About() {
</p> </p>
<p> <p>
<h3>How can I export my data if you go away?</h3> <h3>How can I export my data if you go away?</h3>
Were committed on making your data portable. Well soon add better Outline includes the ability to export individual documents,
import and export options so you which will let you take your data and collections or your entire knowledge base to markdown with a single
view it in HTML form or upload to self-hosted Outline. Until then, you click so youre never locked in. We also have an extensive{' '}
can do this through our <a href="/developers">API</a>. <a href="/developers">API</a> that can be used for accessing documents
programatically.
</p> </p>
<p> <p>
<h3>How can I get in touch with you?</h3> <h3>How can I get in touch with you?</h3>

View File

@ -7,7 +7,11 @@ import breakpoint from 'styled-components-breakpoint';
import Notice from '../../shared/components/Notice'; import Notice from '../../shared/components/Notice';
import Hero from './components/Hero'; import Hero from './components/Hero';
import SigninButtons from './components/SigninButtons'; import SigninButtons from './components/SigninButtons';
import { developers, githubUrl } from '../../shared/utils/routeHelpers'; import {
developers,
githubUrl,
slackAppStoreUrl,
} from '../../shared/utils/routeHelpers';
type Props = { type Props = {
notice?: 'google-hd' | 'auth-error' | 'hd-not-allowed', notice?: 'google-hd' | 'auth-error' | 'hd-not-allowed',
@ -20,7 +24,7 @@ function Home(props: Props) {
return ( return (
<span> <span>
<Helmet> <Helmet>
<title>Outline - Team wiki & documentation</title> <title>Outline - Team wiki & knowledge base</title>
</Helmet> </Helmet>
<Grid> <Grid>
<Hero> <Hero>
@ -64,10 +68,10 @@ function Home(props: Props) {
<Feature> <Feature>
<h2># Markdown Support</h2> <h2># Markdown Support</h2>
<p> <p>
Outline stores, imports and exports all documents in plain Documents are stored in plain Markdown making editing, import
Markdown. Shortcuts are also built right into the editor so you and export painless. Shortcuts are also built right into the
can easily format using <strong>**markdown syntax**</strong> if editor so you can easily format using{' '}
you like. <strong>**markdown syntax**</strong> if you like.
</p> </p>
</Feature> </Feature>
</Grid.Unit> </Grid.Unit>
@ -81,20 +85,22 @@ function Home(props: Props) {
</Features> </Features>
<Highlights id="features"> <Highlights id="features">
<Feature size={{ desktop: 1 / 3 }}> <Feature size={{ desktop: 1 / 3 }}>
<h2>Slack integration</h2> <h2>Slack Integration</h2>
<p> <p>
Keep your team up to date and informed with Slack notifications Get Slack notifications about newly updated documents. You can
about newly published documents. You can also search Outline also search Outline directly within Slack using{' '}
directly within Slack using <code>/outline &lt;keyword&gt;</code>{' '} <code>/outline &lt;keyword&gt;</code> command.
command. </p>
<p>
<a href={slackAppStoreUrl()}>Slack App</a>
</p> </p>
</Feature> </Feature>
<Feature size={{ desktop: 1 / 3 }}> <Feature size={{ desktop: 1 / 3 }}>
<h2>Open Source</h2> <h2>Open Source</h2>
<p> <p>
Outline is open source, so the community can help improve it too. Outline is open source, so the community can help improve it too.
You get new features, interface improvements, and bug fixes for You get new features, interface improvements, bug fixes, and a
free. transparent roadmap for free.
</p> </p>
<p> <p>
<a href={githubUrl()}>GitHub</a> <a href={githubUrl()}>GitHub</a>
@ -138,7 +144,7 @@ const Screenshot = styled.img`
`; `;
const Highlights = styled(Grid)` const Highlights = styled(Grid)`
background: ${props => props.theme.yellow}; background: ${props => props.theme.primary};
margin: 0 1em; margin: 0 1em;
padding: 0 1em; padding: 0 1em;
`; `;
@ -149,7 +155,7 @@ const Features = styled(Grid)`
`; `;
const Feature = styled(Grid.Unit)` const Feature = styled(Grid.Unit)`
padding: 4em 3em; padding: 3em 0;
h2 { h2 {
margin-top: 0; margin-top: 0;
@ -162,12 +168,20 @@ const Feature = styled(Grid.Unit)`
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
} }
${breakpoint('tablet')`
padding: 4em 3em;
`};
`; `;
const Footer = styled.div` const Footer = styled.div`
text-align: center; text-align: center;
width: 100%; width: 100%;
padding: 6em 4em; padding: 4em 2em;
${breakpoint('tablet')`
padding: 6em 4em;
`};
`; `;
const FooterCTA = styled.p` const FooterCTA = styled.p`

View File

@ -5,6 +5,7 @@ import { signin } from '../../../shared/utils/routeHelpers';
import Flex from '../../../shared/components/Flex'; import Flex from '../../../shared/components/Flex';
import GoogleLogo from '../../../shared/components/GoogleLogo'; import GoogleLogo from '../../../shared/components/GoogleLogo';
import SlackLogo from '../../../shared/components/SlackLogo'; import SlackLogo from '../../../shared/components/SlackLogo';
import breakpoint from 'styled-components-breakpoint';
type Props = { type Props = {
lastSignedIn: string, lastSignedIn: string,
@ -18,7 +19,7 @@ const SigninButtons = ({
googleSigninEnabled, googleSigninEnabled,
}: Props) => { }: Props) => {
return ( return (
<Flex justify="center"> <Wrapper>
{slackSigninEnabled && ( {slackSigninEnabled && (
<Flex column> <Flex column>
<Button href={signin('slack')}> <Button href={signin('slack')}>
@ -43,10 +44,19 @@ const SigninButtons = ({
</LastLogin> </LastLogin>
</Flex> </Flex>
)} )}
</Flex> </Wrapper>
); );
}; };
const Wrapper = styled(Flex)`
display: block;
justify-content: center;
${breakpoint('tablet')`
display: flex;
`};
`;
const Spacer = styled.span` const Spacer = styled.span`
padding-left: 10px; padding-left: 10px;
`; `;

View File

@ -20,11 +20,21 @@ try {
if (typeof filename !== 'string') return; if (typeof filename !== 'string') return;
if (filename.endsWith('.js')) { if (filename.endsWith('.js')) {
prefetchTags.push( prefetchTags.push(
<link rel="prefetch" href={`${PUBLIC_PATH}${filename}`} as="script" /> <link
rel="prefetch"
href={`${PUBLIC_PATH}${filename}`}
key={filename}
as="script"
/>
); );
} else if (filename.endsWith('.css')) { } else if (filename.endsWith('.css')) {
prefetchTags.push( prefetchTags.push(
<link rel="prefetch" href={`${PUBLIC_PATH}${filename}`} as="style" /> <link
rel="prefetch"
href={`${PUBLIC_PATH}${filename}`}
key={filename}
as="style"
/>
); );
} }
}); });

View File

@ -33,6 +33,10 @@ export function githubIssuesUrl(): string {
return 'https://www.github.com/outline/outline/issues'; return 'https://www.github.com/outline/outline/issues';
} }
export function slackAppStoreUrl(): string {
return 'https://goabstract.slack.com/apps/A0W3UMKBQ-outline';
}
export function blogUrl(): string { export function blogUrl(): string {
return 'https://medium.com/getoutline'; return 'https://medium.com/getoutline';
} }