Feedback
This commit is contained in:
@ -4,8 +4,8 @@ import styled from 'styled-components';
|
|||||||
import Grid from 'styled-components-grid';
|
import Grid from 'styled-components-grid';
|
||||||
import Hero from './components/Hero';
|
import Hero from './components/Hero';
|
||||||
import SignupButton from './components/SignupButton';
|
import SignupButton from './components/SignupButton';
|
||||||
|
import { developers, githubUrl } from '../utils/routeHelpers';
|
||||||
import { color } from '../../shared/styles/constants';
|
import { color } from '../../shared/styles/constants';
|
||||||
import { pulsate } from '../../shared/styles/animations';
|
|
||||||
|
|
||||||
function Home() {
|
function Home() {
|
||||||
return (
|
return (
|
||||||
@ -20,24 +20,23 @@ function Home() {
|
|||||||
<p>
|
<p>
|
||||||
<SignupButton />
|
<SignupButton />
|
||||||
</p>
|
</p>
|
||||||
<ScrollCTA>Scroll for more…</ScrollCTA>
|
|
||||||
</Hero>
|
</Hero>
|
||||||
<Features>
|
<Features>
|
||||||
<Grid.Unit size={{ desktop: 1 / 3 }}>
|
<Grid.Unit size={{ desktop: 1 / 3 }}>
|
||||||
<Feature>
|
<Feature>
|
||||||
<h2>Blazing Fast</h2>
|
<h2>Blazing Fast</h2>
|
||||||
<p>
|
<p>
|
||||||
Atlas is fast, really fast. We’ve trimmed 100ms and 50ms there
|
Outline is fast, really fast. We’ve trimmed 100ms and 50ms there
|
||||||
to make sure that documents load instantly, search is speedy and
|
to make sure that documents load instantly, search is speedy and
|
||||||
navigating the UI is fluid.
|
navigating the UI is delightful.
|
||||||
</p>
|
</p>
|
||||||
</Feature>
|
</Feature>
|
||||||
<Feature>
|
<Feature>
|
||||||
<h2># Markdown Support</h2>
|
<h2># Markdown Support</h2>
|
||||||
<p>
|
<p>
|
||||||
Outline stores all documents in plain Markdown. Shortcuts are
|
Outline stores all documents in plain Markdown. Shortcuts are
|
||||||
also built right into the editor so you can easily format using
|
also built right into the editor so you can easily format using{' '}
|
||||||
**markdown syntax** if you like.
|
<strong>**markdown syntax**</strong> if you like.
|
||||||
</p>
|
</p>
|
||||||
</Feature>
|
</Feature>
|
||||||
</Grid.Unit>
|
</Grid.Unit>
|
||||||
@ -57,6 +56,9 @@ function Home() {
|
|||||||
You get new features, interface improvements, and bug fixes for
|
You get new features, interface improvements, and bug fixes for
|
||||||
free.
|
free.
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href={githubUrl()}>GitHub</a>
|
||||||
|
</p>
|
||||||
</Feature>
|
</Feature>
|
||||||
<Feature size={{ desktop: 1 / 3 }}>
|
<Feature size={{ desktop: 1 / 3 }}>
|
||||||
<h2>Integrations & API</h2>
|
<h2>Integrations & API</h2>
|
||||||
@ -65,19 +67,23 @@ function Home() {
|
|||||||
editor itself is built on React and we’re working on making it
|
editor itself is built on React and we’re working on making it
|
||||||
pluggable and extensible.
|
pluggable and extensible.
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href={developers()}>Documentation</a>
|
||||||
|
</p>
|
||||||
</Feature>
|
</Feature>
|
||||||
<Feature size={{ desktop: 1 / 3 }}>
|
<Feature size={{ desktop: 1 / 3 }}>
|
||||||
<h2>Powerful Search</h2>
|
<h2>Powerful Search</h2>
|
||||||
<p>
|
<p>
|
||||||
Search is the best way to find what you’re looking for once your
|
Outline includes a super fast search that’s the best way to find
|
||||||
knowledgebase starts to grow in size.
|
what you’re looking for once your knowledge base starts to grow in
|
||||||
|
size.
|
||||||
</p>
|
</p>
|
||||||
</Feature>
|
</Feature>
|
||||||
</Highlights>
|
</Highlights>
|
||||||
<Footer>
|
<Footer>
|
||||||
<h2>Create an account</h2>
|
<h2>Create an account</h2>
|
||||||
<p>
|
<p>
|
||||||
On the same page as us? Create a free account to give Outline a try.
|
On the same page as us? Create a beta account to give Outline a try.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<SignupButton />
|
<SignupButton />
|
||||||
@ -88,17 +94,6 @@ function Home() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ScrollCTA = styled.div`
|
|
||||||
animation: ${pulsate} 1.3s infinite;
|
|
||||||
|
|
||||||
position: absolute;
|
|
||||||
bottom: 20px;
|
|
||||||
color: ${color.slate};
|
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
left: 0;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const Screenshot = styled.img`
|
const Screenshot = styled.img`
|
||||||
width: 150%;
|
width: 150%;
|
||||||
box-shadow: 0 0 80px 0 rgba(124, 124, 124, 0.5),
|
box-shadow: 0 0 80px 0 rgba(124, 124, 124, 0.5),
|
||||||
@ -107,7 +102,7 @@ const Screenshot = styled.img`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const Highlights = styled(Grid)`
|
const Highlights = styled(Grid)`
|
||||||
background: #ffd95c;
|
background: ${color.yellow};
|
||||||
margin: 0 1em;
|
margin: 0 1em;
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
`;
|
`;
|
||||||
@ -118,11 +113,19 @@ const Features = styled(Grid)`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const Feature = styled(Grid.Unit)`
|
const Feature = styled(Grid.Unit)`
|
||||||
padding: 6em 3em;
|
padding: 4em 3em;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: ${color.black};
|
||||||
|
text-decoration: underline;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Footer = styled.div`
|
const Footer = styled.div`
|
||||||
|
@ -3,7 +3,7 @@ import styled from 'styled-components';
|
|||||||
|
|
||||||
const Hero = styled.div`
|
const Hero = styled.div`
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 90vh;
|
height: 70vh;
|
||||||
padding: 6em 2em 0;
|
padding: 6em 2em 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// @flow
|
// @flow
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { signin, githubOrganization } from '../../utils/routeHelpers';
|
import { signin, developers, blogUrl } from '../../utils/routeHelpers';
|
||||||
import { color } from '../../../shared/styles/constants';
|
import { color } from '../../../shared/styles/constants';
|
||||||
|
|
||||||
function Navigation() {
|
function Navigation() {
|
||||||
@ -13,7 +13,10 @@ function Navigation() {
|
|||||||
<a href="/#features">Features</a>
|
<a href="/#features">Features</a>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<a href={githubOrganization()}>Open Source</a>
|
<a href={blogUrl()}>Blog</a>
|
||||||
|
</MenuItem>
|
||||||
|
<MenuItem>
|
||||||
|
<a href={developers()}>API</a>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem>
|
<MenuItem>
|
||||||
<a href={signin()}>Sign In</a>
|
<a href={signin()}>Sign In</a>
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
export function githubOrganization(): string {
|
export function githubUrl(): string {
|
||||||
return 'https://www.github.com/outline';
|
return 'https://www.github.com/outline';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function blogUrl(): string {
|
||||||
|
return 'https://medium.com/getoutline';
|
||||||
|
}
|
||||||
|
|
||||||
|
export function developers(): string {
|
||||||
|
return '/developers';
|
||||||
|
}
|
||||||
|
|
||||||
export function signin(): string {
|
export function signin(): string {
|
||||||
return '/auth/slack';
|
return '/auth/slack';
|
||||||
}
|
}
|
||||||
|
@ -66,4 +66,5 @@ export const color = {
|
|||||||
white: '#FFFFFF',
|
white: '#FFFFFF',
|
||||||
black: '#000000',
|
black: '#000000',
|
||||||
blue: '#16B3FF',
|
blue: '#16B3FF',
|
||||||
|
yellow: '#FFD95C',
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user