Skip to content

Commit

Permalink
Fixed the issue by adding the h3 css to the pageHeader component and …
Browse files Browse the repository at this point in the history
…fixed the header margin issue on the open source internship programs page.

Signed-off-by: faatima_abidi <[email protected]>
  • Loading branch information
FaatimaAbidi committed Dec 19, 2024
1 parent a199d8c commit 860d443
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
9 changes: 9 additions & 0 deletions src/reusecore/PageHeader/pageHeader.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ const PageHeaderWrapper = styled.div`
}
}
h3 {
color: ${(props) => props.theme.whiteSixToGreen3C494F};
margin-top: 2rem;
padding: 0;
font-weight: 500;
text-align: center;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
}
.feature-image{
Expand Down
11 changes: 1 addition & 10 deletions src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import styled from "styled-components";
export const ProgramsPageWrapper = styled.div`
h3 {
color: ${(props) => props.theme.whiteSixToGreen3C494F};
margin: 0;
padding: 0;
font-weight: 500;
text-align: center;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
h1{
color: ${props => props.theme.text};
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
Expand Down
3 changes: 1 addition & 2 deletions src/sections/Careers/Careers-Programs-grid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ const ProgramsGrid = ({ hide_path, sub_section }) => {

return (
<ProgramsPageWrapper>
<PageHeader className="title" title="Open Source Internship Programs" path={path} />
<h3>Build Your Career at Layer5</h3>
<PageHeader title="Open Source Internship Programs" subtitle="Build Your Career at Layer5" path={path} />
<div className={sub_section ? "sub-header_wrapper" : "programs-page-wrapper"}>
<Container>
<div className="program-grid-wrapper">
Expand Down

0 comments on commit 860d443

Please sign in to comment.