2017-05-16 16:46:04 +03:00
|
|
|
import React from 'react';
|
|
|
|
import styled from 'styled-components';
|
2017-05-18 21:21:33 +03:00
|
|
|
import remcalc from 'remcalc';
|
2017-05-16 16:46:04 +03:00
|
|
|
|
|
|
|
import { LayoutContainer } from '@components/layout';
|
2017-05-18 21:21:33 +03:00
|
|
|
import { Col, Row } from 'react-styled-flexboxgrid';
|
|
|
|
import { Button, P, H2, H3 } from 'joyent-ui-toolkit';
|
2017-05-16 16:46:04 +03:00
|
|
|
|
|
|
|
const StyledBox = styled.div`
|
|
|
|
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.05);
|
|
|
|
border: solid 1px #d8d8d8;
|
|
|
|
padding: ${remcalc('6 18 24')};
|
|
|
|
|
|
|
|
& + & {
|
|
|
|
margin-top: ${remcalc(24)};
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
2017-06-09 07:26:25 +03:00
|
|
|
export default () =>
|
2017-05-16 16:46:04 +03:00
|
|
|
<LayoutContainer>
|
|
|
|
<Row>
|
2017-05-18 21:21:33 +03:00
|
|
|
<Col>
|
2017-05-16 16:46:04 +03:00
|
|
|
<H2>Services</H2>
|
|
|
|
<Row>
|
2017-05-18 21:21:33 +03:00
|
|
|
<Col>
|
2017-05-16 16:46:04 +03:00
|
|
|
<StyledBox>
|
|
|
|
<Row>
|
2017-05-18 21:21:33 +03:00
|
|
|
<Col md={10}>
|
2017-05-16 16:46:04 +03:00
|
|
|
<H3>Import your services</H3>
|
2017-05-18 21:21:33 +03:00
|
|
|
<P>
|
2017-06-09 07:26:25 +03:00
|
|
|
You can import your services from a Git repository hosting
|
|
|
|
service. Learn more.
|
2017-05-18 21:21:33 +03:00
|
|
|
</P>
|
2017-05-16 16:46:04 +03:00
|
|
|
<Button secondary>from GitHub</Button>
|
|
|
|
<Button secondary>from GitLab</Button>
|
|
|
|
<Button secondary>from BitBucket</Button>
|
2017-05-18 21:21:33 +03:00
|
|
|
</Col>
|
2017-05-16 16:46:04 +03:00
|
|
|
</Row>
|
|
|
|
</StyledBox>
|
|
|
|
|
|
|
|
<StyledBox>
|
|
|
|
<Row>
|
2017-05-18 21:21:33 +03:00
|
|
|
<Col md={9}>
|
2017-05-16 16:46:04 +03:00
|
|
|
<H3>Alternatively, you can upload or edit manifest file.</H3>
|
2017-05-18 21:21:33 +03:00
|
|
|
<P>
|
2017-06-09 07:26:25 +03:00
|
|
|
Manifest is a file describing your services. It is similar
|
|
|
|
to Docker Compose file. You can upload a file from you local
|
|
|
|
machine or edit it manually. Learn more.
|
2017-05-18 21:21:33 +03:00
|
|
|
</P>
|
2017-05-16 16:46:04 +03:00
|
|
|
<Button secondary>Upload manifest</Button>
|
|
|
|
<Button secondary>Edit manifest</Button>
|
2017-05-18 21:21:33 +03:00
|
|
|
</Col>
|
2017-05-16 16:46:04 +03:00
|
|
|
</Row>
|
|
|
|
</StyledBox>
|
2017-05-18 21:21:33 +03:00
|
|
|
</Col>
|
2017-05-16 16:46:04 +03:00
|
|
|
</Row>
|
2017-05-18 21:21:33 +03:00
|
|
|
</Col>
|
2017-05-16 16:46:04 +03:00
|
|
|
</Row>
|
2017-06-09 07:26:25 +03:00
|
|
|
</LayoutContainer>;
|