Skip to content

Commit

Permalink
Merge pull request #382 from marleypm16/#374
Browse files Browse the repository at this point in the history
feat : adicionando botão de indicar vaga
  • Loading branch information
Marcelo8173 authored Sep 12, 2024
2 parents 8ecd1c4 + 2b539f3 commit 07a2cd2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
9 changes: 9 additions & 0 deletions src/components/FooterDefault/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ const FooterDefault = () => {
>
Site SouJunior
</a>
<li>
<a
href='/'
rel='noreferrer'
target='_blank'
>
Indique uma vaga
</a>
</li>
<li>
<a
href="https://blog.soujunior.tech/"
Expand Down
14 changes: 14 additions & 0 deletions src/components/HeaderDefault/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ const HeaderDefault: React.FC<HeaderProps> = ({ isActive }) => {
Faça parte
</a>
</li>
<li>
<a href="https://www.soujunior.tech/?#about"
rel="noreferrer"
target="_blank"
>
Indique uma vaga
</a>
</li>
<hr />
</ul>
</div>
Expand Down Expand Up @@ -165,6 +173,12 @@ const HeaderDefault: React.FC<HeaderProps> = ({ isActive }) => {
{shouldShowJobFilter && <JobFilter />}

<S.HeaderBtns>
<S.IndicateButton
isActive={isActive}
isMobileOpen={isMobileOpen}
>
Indique uma vaga
</S.IndicateButton>
<S.LoginButton
onClick={handleLoginClick}
isActive={isActive}
Expand Down
13 changes: 8 additions & 5 deletions src/components/HeaderDefault/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const Header = styled.header<HeaderProps>`
position: fixed;
top: 0;
width: 100vw;
font-family: 'Radio Canada', sans-serif;
height: 132px;
border: 1px solid rgba(0, 0, 0, 0.05);
background-color: #fff;
Expand Down Expand Up @@ -135,6 +136,10 @@ export const RegisterButton = styled.button<ButtonsProps>`
`}
`;

export const IndicateButton = styled.button<ButtonsProps>`
color: ${({ theme }) => theme.colors.primary};
`

export const LoginButton = styled(RegisterButton)<ButtonsProps>`
display: flex;
justify-content: center;
Expand Down Expand Up @@ -227,12 +232,12 @@ export const MobileHeader = styled.nav`
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 80%;
width: 100%;
margin-top: 24px;
li {
text-transform: capitalize;
font-size: 22pt;
font-size: 18px;
font-weight: 600;
cursor: pointer;
padding: 5px 15px;
Expand All @@ -253,9 +258,7 @@ export const MobileHeader = styled.nav`
background-size: 100% 3px;
}
@media (max-width: 768px) {
font-size: 18pt;
}
}
}
Expand Down

0 comments on commit 07a2cd2

Please sign in to comment.