@@ -5,6 +5,7 @@ import PageHeader from "../../../reusecore/PageHeader";
5
5
import Image from "../../../components/image" ;
6
6
import { ProgramsPageWrapper } from "./ProgramGrid.style" ;
7
7
import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode" ;
8
+ import { ProjectWrapper } from "../../Projects/Project-grid/projectGrid.style" ;
8
9
9
10
const ProgramsGrid = ( { hide_path, sub_section } ) => {
10
11
const data = useStaticQuery (
@@ -58,42 +59,53 @@ const ProgramsGrid = ({ hide_path, sub_section }) => {
58
59
59
60
return (
60
61
< 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 >
82
93
</ 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 >
91
100
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 >
93
102
94
- </ Container >
95
- </ div >
103
+ </ Container >
104
+ </ div >
105
+
106
+ </ ProjectWrapper >
96
107
</ ProgramsPageWrapper >
108
+
97
109
) ;
98
110
} ;
99
111
0 commit comments