Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : adicionando botão de indicar vaga #382

Merged
merged 2 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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