Skip to content

Commit 1a86e27

Browse files
authored
Merge pull request #6817 from Vincamine/w-devrel
feat: Enhance DevRel Platform Academy section with interactive slider and navigation links
2 parents 41be388 + c4e7741 commit 1a86e27

7 files changed

Lines changed: 33 additions & 9 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: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,17 +318,22 @@ const DevrelContent = () => {
318318
image={RutkIkegahImg}/>
319319
</Row>
320320
<Row className="devrel">
321-
<Col $md={6} className="devrel-detail recognition-section">
321+
<Col $md={6} className="devrel-detail">
322322
<h2 className="heading">
323-
Recognition Program
323+
Turn Knowledge into Credentials
324324
</h2>
325325
<ul className="caption">
326-
<li><b>Achievement <a href="https://badges.layer5.io">Badges</a>:</b> Earn badges for key milestones, like streaming logs from a Kubernetes Pod for the first time.</li>
327-
<li><b>Leaderboard Visibility:</b> Participate in challenges, compete on leaderboards, and stand out in the community.</li>
328-
<li><b>Featured Mentions:</b> Get recognized when your content becomes popular, with shoutouts from the project.</li>
326+
<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>
327+
<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</a>.</li>
328+
<li><b>Earn Recognition:</b> Achieve Layer5 Academy certifications and badges, and showcase them directly on your DevRel profile and leaderboards.</li>
329+
<li><b>Community Contribution:</b> Contribute new tutorials, challenges, and courses to Academy, growing your professional influence in the cloud-native ecosystem.</li>
329330
</ul>
330331
</Col>
331-
332+
<Col $md={6} className="devrel-image">
333+
<PictureSlider images="academy" />
334+
</Col>
335+
</Row>
336+
<Row className="devrel">
332337
<div className="recognition-content">
333338
<div className="badges-section">
334339
<div className="badge-stack">
@@ -354,6 +359,16 @@ const DevrelContent = () => {
354359
</div>
355360
</div>
356361
</div>
362+
<Col $md={6} className="devrel-detail recognition-section">
363+
<h2 className="heading">
364+
Recognition Program
365+
</h2>
366+
<ul className="caption">
367+
<li><b>Achievement <a href="https://badges.layer5.io">Badges</a>:</b> Earn badges for key milestones, like streaming logs from a Kubernetes Pod for the first time.</li>
368+
<li><b>Leaderboard Visibility:</b> Participate in challenges, compete on leaderboards, and stand out in the community.</li>
369+
<li><b>Featured Mentions:</b> Get recognized when your content becomes popular, with shoutouts from the project.</li>
370+
</ul>
371+
</Col>
357372
</Row>
358373
<Row className="devrel">
359374
<InlineQuotes
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)