import React from 'react'; import { Row, Col } from 'joyent-react-styled-flexboxgrid'; import { Margin, Padding } from 'styled-components-spacing'; import Flex from 'styled-flex-component'; import styled from 'styled-components'; import remcalc from 'remcalc'; import { Anchor, CloseIcon as Close, H3, Textarea, Input, P, SectionList, SectionListAnchor, SectionListItem, StickyFooter, ViewContainer } from 'joyent-ui-toolkit'; import { generateTerraform, generateCLI } from './cli-details'; export default class CLIFooter extends React.Component { state = { active: 'triton' }; render() { const { active } = this.state; const { getData, onCloseCli } = this.props; return ( CLI details Below you can find the command line instructions to deploy this exact instance, or a copy of it, directly from either the Triton CLI or Terraform. this.setState({ active: 'triton' })} > Triton CLI this.setState({ active: 'terraform' })} > Terraform {active === 'triton' ? ( ) : ( )} {`Learn how to configure ${ active === 'triton' ? 'Triton CLI' : 'Terraform' }`} ); } } const Frame = styled.div` border-radius: 50%; border: ${remcalc(1)} solid ${props => props.theme.white}; height: ${remcalc(30)}; width: ${remcalc(30)}; background: none; cursor: pointer; z-index: 1; display: flex; justify-content: center; align-items: center; float: right; `; const CloseIcon = props => ( );
Below you can find the command line instructions to deploy this exact instance, or a copy of it, directly from either the Triton CLI or Terraform.