feat: update triton logo

This commit is contained in:
Sérgio Ramos 2017-10-13 20:45:58 +01:00 committed by Sérgio Ramos
parent 6f10428b0f
commit 1a3593c9ca
4 changed files with 8 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,22 +1,19 @@
import React from 'react'; import React from 'react';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import { Img } from 'normalized-styled-components';
import remcalc from 'remcalc';
import Logo from '@assets/triton_logo.png'; import {
import { Header, HeaderBrand, ViewContainer } from 'joyent-ui-toolkit'; Header,
HeaderBrand,
const StyledLogo = Img.extend` ViewContainer,
width: ${remcalc(87)}; TritonIcon
height: ${remcalc(25)}; } from 'joyent-ui-toolkit';
`;
export default () => ( export default () => (
<Header> <Header>
<ViewContainer> <ViewContainer>
<HeaderBrand> <HeaderBrand>
<Link to="/"> <Link to="/">
<StyledLogo src={Logo} alt="Triton" /> <TritonIcon alt="Triton" />
</Link> </Link>
</HeaderBrand> </HeaderBrand>
</ViewContainer> </ViewContainer>

View File

@ -16,7 +16,7 @@ const Box = styled.div`
align-self: stretch; align-self: stretch;
order: 0; order: 0;
padding: ${remcalc(13.5)} 0; padding: ${remcalc(11)} 0;
`; `;
export default ({ children, ...rest }) => ( export default ({ children, ...rest }) => (