Skip to content

Commit b36bd65

Browse files
committed
academy section for devrel page
Signed-off-by: Wyllie Fang <wylliefang@gmail.com>
1 parent 14518cb commit b36bd65

7 files changed

Lines changed: 28 additions & 3 deletions

File tree

src/reusecore/Button/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Button = ({
1515

1616
const initalButton =
1717
<BtnStyle
18-
className={addClasses.join(" ")}{...props}
18+
className={addClasses.join(" ")} {...props}
1919
onClick={props.onClick}>
2020
{children}
2121
{props.icon ? <img src={props.icon} alt={props.title} /> : <> </>}

src/sections/Devrel-platform/content.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,22 @@ const DevrelContent = () => {
254254
<>
255255
<DevrelContentWrapper>
256256
<Container className="devrel-container">
257+
<Row className="devrel">
258+
<Col $md={6} className="devrel-detail">
259+
<h2 className="heading">
260+
Turn Knowledge into Credentials
261+
</h2>
262+
<ul className="caption">
263+
<li><b>Guided Learning Journeys:</b> Advance your cloud native skills through <a href="https://cloud.layer5.io/academy" target="_blank" rel="noopener noreferrer">Layer5 Academy</a>, offering structured paths that combine theory with hands-on labs.</li>
264+
<li><b>Interactive Challenges:</b> Strengthen your understanding in real-world scenarios with Academy challenges, powered by <a href="https://meshery.layer5.io/extension/meshmap" target="_blank" rel="noopener noreferrer">Meshery Playground</a>.</li>
265+
<li><b>Earn Recognition:</b> Achieve Layer5 Academy certifications and badges, and showcase them directly on your DevRel profile and leaderboards.</li>
266+
<li><b>Contribute Back:</b> Share your own tutorials or challenges into Academy, helping others learn while building your reputation.</li>
267+
</ul>
268+
</Col>
269+
<Col $md={6} className="devrel-image">
270+
<PictureSlider images="academy" />
271+
</Col>
272+
</Row>
257273
<Row className="devrel">
258274
<Col $md={6} className="devrel-image">
259275
<div className="image-wrapper">
30.1 KB
Loading
29.6 KB
Loading
33.4 KB
Loading
48.8 KB
Loading

src/sections/Devrel-platform/picture-slider.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ import ChallangePNG from "./images/challange_mac.png";
66
import DesignPNG from "./images/design_mac.png";
77
import TutorialPNG from "./images/tutorial_mac.png";
88

9+
import Academy1PNG from "./images/academy-1.png";
10+
import Academy2PNG from "./images/academy-2.png";
11+
import Academy3PNG from "./images/academy-3.png";
12+
import Academy4PNG from "./images/academy-4.png";
13+
14+
15+
916
const PictureSliderWrapper = styled.div`
1017
width: 100%;
1118
max-width: 900px;
@@ -51,8 +58,10 @@ const PictureSliderWrapper = styled.div`
5158
}
5259
`;
5360

54-
const PictureSlider = () => {
55-
const data = [ChallangePNG, TutorialPNG, DesignPNG];
61+
const PictureSlider = ({ images }) => {
62+
const defaultData = [ChallangePNG, TutorialPNG, DesignPNG];
63+
const academyData = [Academy1PNG, Academy2PNG, Academy3PNG, Academy4PNG];
64+
const data = images === "academy" ? academyData : (images || defaultData);
5665

5766
const settings = {
5867
dots: false,

0 commit comments

Comments
 (0)