-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from thisisobate/uche/training-page
Feat: Add new training page
- Loading branch information
Showing
8 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Certified GitOps Associate Certification (CGOA) | ||
description: "Become a professional by getting certified in GitOps" | ||
thumbnail: LFX-Gitops-certification-1.0.png | ||
site: https://training.linuxfoundation.org/certification/certified-gitops-associate-cgoa/ | ||
--- | ||
|
||
{/* Note: To generate "thumbnail_url", visit https://embed.ly/docs/explore/extract | ||
and enter the link to the resource. Once you do that, select any thumbnail url of choice to use and download.*/} |
9 changes: 9 additions & 0 deletions
9
content/trainings/codefresh-gitops-at-scale/gitops-at-scale.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: GitOps At Scale course by Codefresh | ||
description: "Become a professional by getting certified in GitOps" | ||
thumbnail: gitops-at-scale.png | ||
site: https://learning.codefresh.io/course/gitops-scale | ||
--- | ||
|
||
{/* Note: To generate "thumbnail_url", visit https://embed.ly/docs/explore/extract | ||
and enter the link to the resource. Once you do that, select any thumbnail url of choice to use and download.*/} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.3 KB
content/trainings/codefresh-gitops-fundamentals/codefresh-gitops-fundamental.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
content/trainings/codefresh-gitops-fundamentals/codefresh.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: GitOps Fundamentals course by Codefresh | ||
description: "Become a professional by getting certified in GitOps" | ||
thumbnail: codefresh-gitops-fundamental.png | ||
site: https://learning.codefresh.io/course/gitops-fundamentals | ||
--- | ||
|
||
{/* Note: To generate "thumbnail_url", visit https://embed.ly/docs/explore/extract | ||
and enter the link to the resource. Once you do that, select any thumbnail url of choice to use and download.*/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import * as React from "react" | ||
import { useStaticQuery, graphql } from "gatsby" | ||
import Layout from "../components/layout" | ||
import Seo from "../components/seo" | ||
import thumbnail from "../images/thumbnail-default.png" | ||
import { Container } from "../components/ui/grid" | ||
import { Grid } from "../components/ui/grid" | ||
import CardPost from "../components/ui/card-post" | ||
|
||
export default function TrainingPage({ location }) { | ||
const query = useStaticQuery( | ||
graphql` | ||
query { | ||
allMdx( | ||
filter: { fileAbsolutePath: { regex: "/(content/trainings)/" } } | ||
sort: { order: ASC, fields: frontmatter___title } | ||
limit: 6 | ||
) { | ||
edges { | ||
node { | ||
frontmatter { | ||
title | ||
site | ||
description | ||
thumbnail { | ||
childImageSharp { | ||
gatsbyImageData( | ||
width: 400 | ||
placeholder: BLURRED | ||
formats: [AUTO, WEBP, AVIF] | ||
) | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
` | ||
) | ||
return ( | ||
<Layout location={location}> | ||
<Seo | ||
title="training and certification" | ||
description="Become a professional by getting certified in GitOps" | ||
url={location.href} | ||
image={thumbnail} | ||
/> | ||
<Container className="pt-28 lg:pt-48"> | ||
<h1 className="mb-8 lg:mb-12 text-center lg:text-left"> | ||
Training & Certification | ||
</h1> | ||
<Grid md={2} lg={3}> | ||
{query.allMdx.edges.map((item, index) => { | ||
return ( | ||
<CardPost | ||
key={index} | ||
title={item.node.frontmatter.title} | ||
date={item.node.frontmatter.date} | ||
to={item.node.frontmatter.site} | ||
img={ | ||
item.node.frontmatter.thumbnail?.childImageSharp | ||
.gatsbyImageData | ||
} | ||
/> | ||
) | ||
})} | ||
</Grid> | ||
</Container> | ||
</Layout> | ||
) | ||
} |