Implemented issue create modal, further polish

This commit is contained in:
ireic
2019-12-23 00:30:00 +01:00
parent 6809ec494a
commit 4941261251
67 changed files with 684 additions and 237 deletions

View File

@@ -0,0 +1,34 @@
import React from 'react';
import { Link, useRouteMatch } from 'react-router-dom';
import { Icon } from 'shared/components';
import { NavLeft, LogoLink, StyledLogo, Bottom, Item, ItemText } from './Styles';
const ProjectNavbarLeft = () => {
const match = useRouteMatch();
return (
<NavLeft>
<LogoLink to="/">
<StyledLogo color="#fff" />
</LogoLink>
<Item>
<Icon type="search" size={22} top={1} left={3} />
<ItemText>Search issues</ItemText>
</Item>
<Link to={`${match.path}/board/create-issue`}>
<Item>
<Icon type="plus" size={27} />
<ItemText>Create Issue</ItemText>
</Item>
</Link>
<Bottom>
<Item>
<Icon type="help" size={25} />
<ItemText>Help</ItemText>
</Item>
</Bottom>
</NavLeft>
);
};
export default ProjectNavbarLeft;