aboutsummaryrefslogblamecommitdiffstats
path: root/packages/website/ts/@next/components/heroImage.tsx
blob: 33195f42b70c250b3ba6d21021f1aa62dea1e183 (plain) (tree)
1
2
3
4
5
6
7





                                                                          
                           








                                                   
















                               
import * as React from 'react';
import styled from 'styled-components';

import LogoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg';

interface Props {
    image: React.ReactNode;
}

export const LandingAnimation = (props: Props) => (
    <Wrap>
        {props.image}
    </Wrap>
);

const Wrap = styled.figure`
    display: inline-block;

    svg {
        width: 100%;
        height: auto;
    }

    @media (min-width: 768px) {
        width: 100%;
        max-width: 400px;
    }

    @media (max-width: 768px) {
        width: 180px;
        margin-bottom: 40px;
    }
`;