Skip to content

Commit 34e575f

Browse files
appleapple
authored andcommitted
add spacing
Signed-off-by: apple <[email protected]>
1 parent 33b781f commit 34e575f

File tree

1 file changed

+44
-32
lines changed
  • src/sections/Careers/Careers-Programs-grid

1 file changed

+44
-32
lines changed

src/sections/Careers/Careers-Programs-grid/index.js

Lines changed: 44 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import PageHeader from "../../../reusecore/PageHeader";
55
import Image from "../../../components/image";
66
import { ProgramsPageWrapper } from "./ProgramGrid.style";
77
import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode";
8+
import { ProjectWrapper } from "../../Projects/Project-grid/projectGrid.style";
89

910
const ProgramsGrid = ({ hide_path, sub_section }) => {
1011
const data = useStaticQuery(
@@ -58,42 +59,53 @@ const ProgramsGrid = ({ hide_path, sub_section }) => {
5859

5960
return (
6061
<ProgramsPageWrapper>
61-
<PageHeader title="Open Source Internship Programs" subtitle="Build Your Career at Layer5" path={path} />
62-
<div className={sub_section ? "sub-header_wrapper" : "programs-page-wrapper"}>
63-
<Container>
64-
<div className="program-grid-wrapper">
65-
<Row Hcenter>
66-
{programs.reverse().map(({ id, frontmatter, fields }) => (
67-
<Col key={id} className="programs-col">
68-
<Link
69-
to={
70-
frontmatter.program === "Layer5"
71-
? fields.slug
72-
: `/programs/${frontmatter.programSlug}`
73-
}
74-
>
75-
<div className={`program ${sub_section ? "sub-section_program" : ""}`}>
76-
<div className={`icon ${sub_section ? "sub-section_icon" : ""}`}>
77-
<Image
78-
{...(frontmatter.darkthumbnail !== null && (isDark && frontmatter.darkthumbnail.publicURL !== frontmatter.thumbnail.publicURL) ? frontmatter.darkthumbnail : frontmatter.thumbnail)}
79-
imgStyle={{ objectFit: "contain" }}
80-
alt={frontmatter.title}
81-
/>
62+
<ProjectWrapper>
63+
<PageHeader
64+
className="title"
65+
title="Open Source Internship Programs"
66+
path={path}
67+
/>
68+
<h3>
69+
Build Your Career at Layer5
70+
</h3>
71+
<div className={sub_section ? "sub-header_wrapper" : "programs-page-wrapper"}>
72+
<Container>
73+
<div className="program-grid-wrapper">
74+
<Row Hcenter>
75+
{programs.reverse().map(({ id, frontmatter, fields }) => (
76+
<Col key={id} className="programs-col">
77+
<Link
78+
to={
79+
frontmatter.program === "Layer5"
80+
? fields.slug
81+
: `/programs/${frontmatter.programSlug}`
82+
}
83+
>
84+
<div className={`program ${sub_section ? "sub-section_program" : ""}`}>
85+
<div className={`icon ${sub_section ? "sub-section_icon" : ""}`}>
86+
<Image
87+
{...(frontmatter.darkthumbnail !== null && (isDark && frontmatter.darkthumbnail.publicURL !== frontmatter.thumbnail.publicURL) ? frontmatter.darkthumbnail : frontmatter.thumbnail)}
88+
imgStyle={{ objectFit: "contain" }}
89+
alt={frontmatter.title}
90+
/>
91+
</div>
92+
<h5>{frontmatter.program}</h5>
8293
</div>
83-
<h5>{frontmatter.program}</h5>
84-
</div>
85-
</Link>
86-
</Col>
87-
))}
88-
</Row>
89-
</div>
90-
<p>
94+
</Link>
95+
</Col>
96+
))}
97+
</Row>
98+
</div>
99+
<p>
91100
Layer5 is driven by its people, who are the stewards of our culture and principles. Join us on the journey to enabling the world's most innovative companies make the transition to cloud native and multi-cloud through engineering-empowered automation.
92-
</p>
101+
</p>
93102

94-
</Container>
95-
</div>
103+
</Container>
104+
</div>
105+
106+
</ProjectWrapper>
96107
</ProgramsPageWrapper>
108+
97109
);
98110
};
99111

0 commit comments

Comments
 (0)