Skip to content

Commit

Permalink
Page myTeam Button Added Seller 😡
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrogomes18 committed Feb 22, 2024
1 parent 64b8c79 commit d0d3b63
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/screens/MyTeam/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ const MyTeam = () => {
<SellersContainer search={search} />
)}
</S.Wrapper>
{user.job === 'Gerente' && (
<S.BtnAddColaborador>
<S.TextBtn>Adicionar COLABORADOres</S.TextBtn>
</S.BtnAddColaborador>
)}
<DivGradient />
</S.WrapperTela>
);
Expand Down
23 changes: 23 additions & 0 deletions src/screens/MyTeam/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,26 @@ export const Lupa = styled(Image)`
width: 18px;
height: 18px;
`;

export const BtnAddColaborador = styled(TouchableOpacity)`
width: 90%;
height: 40px;
position: fixed;
bottom: 24px;
background-color: ${theme.colors.secundary.main};
border: none;
padding: 8px 16px;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
border-radius: 8px;
`;

export const TextBtn = styled(Text)`
font-family: PoppinsBold;
color: #f8faff;
letter-spacing: 1.25px;
font-size: 14px;
text-transform: uppercase;
`;

0 comments on commit d0d3b63

Please sign in to comment.