From 614b08311fbf9d0e1c4fc3df4d3f28ba6fbb63e1 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 24 Jun 2018 10:41:49 -0700 Subject: [PATCH] Updated FAQ Improved homepage mobile styling Minor fixes elsewhere closes #690 --- server/pages/About.js | 21 +++++------ server/pages/Home.js | 46 +++++++++++++++--------- server/pages/components/SigninButtons.js | 14 ++++++-- server/utils/prefetchTags.js | 14 ++++++-- shared/utils/routeHelpers.js | 4 +++ 5 files changed, 69 insertions(+), 30 deletions(-) diff --git a/server/pages/About.js b/server/pages/About.js index d635a0229..72cc646f5 100644 --- a/server/pages/About.js +++ b/server/pages/About.js @@ -57,8 +57,8 @@ export default function About() {

Outline is currently in public beta. The hosted service will stay - free during this period. After that we will offer Outline free for - teams up to 5 people and have reasonable plans for larger teams. + free during this period. After that we will offer Outline free to + get started and have reasonable plans for larger teams.

@@ -143,10 +143,10 @@ export default function About() { by supporting us financially.

-

Can I use Google/GitHub/etc to signup for Outline?

- We started with Slack as many teams are already using it and benefit - from the integrations. We’ll be adding more login methods soon. Please - let us know which one you would like to see next{' '} +

Can I use X to signup for Outline?

+ We started with Slack and Google as many teams are already using these + services for team identity. We’ll consider adding more login methods + soon. Please let us know which one you would like to see next{' '}

How can I export my data if you go away?

- We’re committed on making your data portable. We’ll soon add better - import and export options so you which will let you take your data and - view it in HTML form or upload to self-hosted Outline. Until then, you - can do this through our
API. + Outline includes the ability to export individual documents, + collections or your entire knowledge base to markdown with a single + click so you’re never locked in. We also have an extensive{' '} + API that can be used for accessing documents + programatically.

How can I get in touch with you?

diff --git a/server/pages/Home.js b/server/pages/Home.js index f937cfa6b..48f9d7b43 100644 --- a/server/pages/Home.js +++ b/server/pages/Home.js @@ -7,7 +7,11 @@ import breakpoint from 'styled-components-breakpoint'; import Notice from '../../shared/components/Notice'; import Hero from './components/Hero'; import SigninButtons from './components/SigninButtons'; -import { developers, githubUrl } from '../../shared/utils/routeHelpers'; +import { + developers, + githubUrl, + slackAppStoreUrl, +} from '../../shared/utils/routeHelpers'; type Props = { notice?: 'google-hd' | 'auth-error' | 'hd-not-allowed', @@ -20,7 +24,7 @@ function Home(props: Props) { return ( - Outline - Team wiki & documentation + Outline - Team wiki & knowledge base @@ -64,10 +68,10 @@ function Home(props: Props) {

# Markdown Support

- Outline stores, imports and exports all documents in plain - Markdown. Shortcuts are also built right into the editor so you - can easily format using **markdown syntax** if - you like. + Documents are stored in plain Markdown making editing, import + and export painless. Shortcuts are also built right into the + editor so you can easily format using{' '} + **markdown syntax** if you like.

@@ -81,20 +85,22 @@ function Home(props: Props) { -

Slack integration

+

Slack Integration

- Keep your team up to date and informed with Slack notifications - about newly published documents. You can also search Outline - directly within Slack using /outline <keyword>{' '} - command. + Get Slack notifications about newly updated documents. You can + also search Outline directly within Slack using{' '} + /outline <keyword> command. +

+

+ Slack App

Open Source

Outline is open source, so the community can help improve it too. - You get new features, interface improvements, and bug fixes for - free. + You get new features, interface improvements, bug fixes, and a + transparent roadmap for free.

GitHub @@ -138,7 +144,7 @@ const Screenshot = styled.img` `; const Highlights = styled(Grid)` - background: ${props => props.theme.yellow}; + background: ${props => props.theme.primary}; margin: 0 1em; padding: 0 1em; `; @@ -149,7 +155,7 @@ const Features = styled(Grid)` `; const Feature = styled(Grid.Unit)` - padding: 4em 3em; + padding: 3em 0; h2 { margin-top: 0; @@ -162,12 +168,20 @@ const Feature = styled(Grid.Unit)` font-weight: 500; font-size: 14px; } + + ${breakpoint('tablet')` + padding: 4em 3em; + `}; `; const Footer = styled.div` text-align: center; width: 100%; - padding: 6em 4em; + padding: 4em 2em; + + ${breakpoint('tablet')` + padding: 6em 4em; + `}; `; const FooterCTA = styled.p` diff --git a/server/pages/components/SigninButtons.js b/server/pages/components/SigninButtons.js index cefa6d22e..56903989f 100644 --- a/server/pages/components/SigninButtons.js +++ b/server/pages/components/SigninButtons.js @@ -5,6 +5,7 @@ import { signin } from '../../../shared/utils/routeHelpers'; import Flex from '../../../shared/components/Flex'; import GoogleLogo from '../../../shared/components/GoogleLogo'; import SlackLogo from '../../../shared/components/SlackLogo'; +import breakpoint from 'styled-components-breakpoint'; type Props = { lastSignedIn: string, @@ -18,7 +19,7 @@ const SigninButtons = ({ googleSigninEnabled, }: Props) => { return ( - + {slackSigninEnabled && (