Port navigation.

This commit is contained in:
Paul
2021-06-19 15:29:04 +01:00
parent 5aa8f30e14
commit 5b77ed439f
25 changed files with 1341 additions and 42 deletions

View File

@@ -0,0 +1,32 @@
import styled, { css } from "styled-components";
interface Props {
background?: boolean;
placement: 'primary' | 'secondary'
}
export default styled.div<Props>`
height: 56px;
font-weight: 600;
user-select: none;
gap: 10px;
flex: 0 auto;
display: flex;
padding: 20px;
flex-shrink: 0;
align-items: center;
background-color: var(--primary-background);
background-size: cover !important;
background-position: center !important;
${ props => props.background && css`
height: 120px;
align-items: flex-end;
` }
${ props => props.placement === 'secondary' && css`
padding: 14px;
` }
`;