// @flow import * as React from 'react'; import { map, groupBy } from 'lodash'; import styled from 'styled-components'; import Grid from 'styled-components-grid'; import PageTitle from '../components/PageTitle'; import Header from '../components/Header'; import Content from '../components/Content'; import integrations from './content'; const categories = groupBy(integrations, i => i.category); function Integrations() { return (

Integrations

Outline is designed to integrate with your existing workflow and tools.

{map(categories, (integrations, category) => (

{category}

{integrations.map(i => (

{i.name}

{i.description}

))}
))}
); } const Logo = styled.img` height: 60px; border-radius: 4px; `; const Category = styled(Grid)` margin: 0 -1em; `; const Integration = styled.a` display: block; padding: 2em 2em 1em; margin: 1em; border-radius: 4px; border: 2px solid ${props => props.theme.slateLight}; color: ${props => props.theme.text}; font-size: 16px; transition: background 200ms ease-in-out; h3, p { margin: 0.5em 0; } &:hover { background: ${props => props.theme.slateLight}; } `; export default Integrations;