Skip to content

Commit

Permalink
fixed issue by modifying css of wrapper and using h3 for subtitle
Browse files Browse the repository at this point in the history
Signed-off-by: faatima_abidi <[email protected]>
  • Loading branch information
FaatimaAbidi committed Nov 16, 2024
1 parent a237528 commit a199d8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions src/sections/Careers/Careers-Programs-grid/ProgramGrid.style.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import styled from "styled-components";
export const ProgramsPageWrapper = styled.div`
margin-top: -2rem;
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: 2 additions & 1 deletion src/sections/Careers/Careers-Programs-grid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const ProgramsGrid = ({ hide_path, sub_section }) => {

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

0 comments on commit a199d8c

Please sign in to comment.