-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [WIP] Courses page * Add images * Updated author avatars * Style tweak * Support a centered layout for content without sidebar/toc
- Loading branch information
1 parent
9b10193
commit fcfecd3
Showing
25 changed files
with
269 additions
and
36 deletions.
There are no files selected for viewing
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,57 @@ | ||
--- | ||
hide_table_of_contents: true | ||
hide_title: true | ||
--- | ||
|
||
import CenterLayout from "/src/components/CenterLayout" | ||
import Course from "/src/components/Course" | ||
import Grid from "/src/components/Grid" | ||
|
||
<CenterLayout> | ||
|
||
# Learn DevOps from the experts | ||
|
||
At Gruntwork, we’ve created a library of video training courses that teach a variety of DevOps topics, such as infrastructure as code, Terraform, Docker, Packer, AWS, security, and more. Each course consists of a series of “micro-videos” of 1–10 minutes each that you can watch your at own pace as often as you like. | ||
|
||
:::note | ||
|
||
Courses are offered through Teachable. Access is included with every Gruntwork subscription. If you haven’t already done so, [sign in to the Gruntwork Developer Portal](https://app.gruntwork.io) to activate your Teachable account and access course content. | ||
|
||
::: | ||
|
||
## Available Courses | ||
|
||
<Grid cols={2} gap="2rem"> | ||
<Course | ||
title="A Crash Course on Terraform" | ||
icon="/img/courses/terraform.svg" | ||
href="https://training.gruntwork.io/courses/terraform/lectures/3429337" | ||
description="Learn how to manage infrastructure as code using Terraform through a series of live coding exercises." | ||
author="Josh Padnick & Yoriyasu Yano" | ||
authorImg="/img/courses/authors/josh-yori.png" | ||
videos={30} | ||
duration={90} | ||
/> | ||
<Course | ||
title="A Crash Course on Docker + Packer" | ||
icon="/img/courses/docker+packer.svg" | ||
href="https://training.gruntwork.io/courses/a-crash-course-on-docker-packer/lectures/4247382" | ||
description="Learn how to package your code into immutable images that run exactly the same way in all environments." | ||
author="Yevgeniy Brikman" | ||
authorImg="/img/courses/authors/yevgeniy-brikman.jpg" | ||
videos={40} | ||
duration={95} | ||
/> | ||
<Course | ||
title="Infrastructure Module Cookbook" | ||
icon="/img/courses/terraform.svg" | ||
href="https://training.gruntwork.io/courses/infrastructure-module-cookbook/lectures/9081297" | ||
description="A guide to building reusable, production-grade, battle-tested infrastructure code." | ||
author="Yevgeniy Brikman" | ||
authorImg="/img/courses/authors/yevgeniy-brikman.jpg" | ||
videos={8} | ||
duration={141} | ||
/> | ||
</Grid> | ||
|
||
</CenterLayout> |
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
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,62 @@ | ||
--- | ||
hide_table_of_contents: true | ||
hide_title: true | ||
--- | ||
|
||
import CenterLayout from "/src/components/CenterLayout" | ||
import Course from "/src/components/Course" | ||
import Grid from "/src/components/Grid" | ||
|
||
<CenterLayout> | ||
|
||
# Learn DevOps from the experts | ||
|
||
At Gruntwork, we’ve created a library of video training courses that teach a variety of DevOps topics, such as infrastructure as code, Terraform, Docker, Packer, AWS, security, and more. Each course consists of a series of “micro-videos” of 1–10 minutes each that you can watch your at own pace as often as you like. | ||
|
||
:::note | ||
|
||
Courses are offered through Teachable. Access is included with every Gruntwork subscription. If you haven’t already done so, [sign in to the Gruntwork Developer Portal](https://app.gruntwork.io) to activate your Teachable account and access course content. | ||
|
||
::: | ||
|
||
## Available Courses | ||
|
||
<Grid cols={2} gap="2rem"> | ||
<Course | ||
title="A Crash Course on Terraform" | ||
icon="/img/courses/terraform.svg" | ||
href="https://training.gruntwork.io/courses/terraform/lectures/3429337" | ||
description="Learn how to manage infrastructure as code using Terraform through a series of live coding exercises." | ||
author="Josh Padnick & Yoriyasu Yano" | ||
authorImg="/img/courses/authors/josh-yori.png" | ||
videos={30} | ||
duration={90} | ||
/> | ||
<Course | ||
title="A Crash Course on Docker + Packer" | ||
icon="/img/courses/docker+packer.svg" | ||
href="https://training.gruntwork.io/courses/a-crash-course-on-docker-packer/lectures/4247382" | ||
description="Learn how to package your code into immutable images that run exactly the same way in all environments." | ||
author="Yevgeniy Brikman" | ||
authorImg="/img/courses/authors/yevgeniy-brikman.jpg" | ||
videos={40} | ||
duration={95} | ||
/> | ||
<Course | ||
title="Infrastructure Module Cookbook" | ||
icon="/img/courses/terraform.svg" | ||
href="https://training.gruntwork.io/courses/infrastructure-module-cookbook/lectures/9081297" | ||
description="A guide to building reusable, production-grade, battle-tested infrastructure code." | ||
author="Yevgeniy Brikman" | ||
authorImg="/img/courses/authors/yevgeniy-brikman.jpg" | ||
videos={8} | ||
duration={141} | ||
/> | ||
</Grid> | ||
|
||
</CenterLayout> | ||
|
||
|
||
<!-- ##DOCS-SOURCER-START | ||
{"sourcePlugin":"Local File Copier","hash":"e7db12791a1d683580786b082c83953a"} | ||
##DOCS-SOURCER-END --> |
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
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 was deleted.
Oops, something went wrong.
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
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,4 @@ | ||
.center { | ||
margin: auto; | ||
max-width: 996px; | ||
} |
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,18 @@ | ||
import React from "react" | ||
import styles from "./CenterLayout.module.css" | ||
|
||
/** | ||
* When using this layout, you should set the following parameters in | ||
* your front matter: | ||
* | ||
* --- | ||
* hide_table_of_contents: true | ||
* hide_title: true | ||
* --- | ||
* */ | ||
|
||
export const CenterLayout: React.FunctionComponent<any> = ({ children }) => { | ||
return <div className={styles.center}>{children}</div> | ||
} | ||
|
||
export default CenterLayout |
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,31 @@ | ||
.author { | ||
color: gray; | ||
} | ||
|
||
.author img { | ||
border-radius: 100%; | ||
border: solid 1px gray; | ||
background-color: gray; | ||
margin-right: 0.5rem; | ||
width: 2rem; | ||
height: 2rem; | ||
vertical-align: middle; | ||
} | ||
|
||
.metadata { | ||
padding-left: 1.5rem; | ||
background-position: left center; | ||
background-size: contain; | ||
margin-right: 2rem; | ||
background-repeat: no-repeat; | ||
color: gray; | ||
font-weight: 600; | ||
} | ||
|
||
.videos { | ||
background-image: url("/img/courses/video.svg"); | ||
} | ||
|
||
.duration { | ||
background-image: url("/img/courses/clock.svg"); | ||
} |
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,46 @@ | ||
import React from "react" | ||
import clsx from "clsx" | ||
import styles from "./Course.module.css" | ||
import Card from "./Card" | ||
|
||
type CourseProps = { | ||
title: string | ||
icon: string | ||
href: string | ||
description: JSX.Element | ||
author: string | ||
authorImg: string | ||
videos: number | ||
duration: number | ||
} | ||
|
||
export const Course: React.FunctionComponent<CourseProps> = ({ | ||
title, | ||
icon, | ||
description, | ||
href, | ||
author, | ||
authorImg, | ||
videos, | ||
duration, | ||
}) => { | ||
return ( | ||
<Card title={title} icon={icon} href={href}> | ||
<p>{description}</p> | ||
<p className={styles.author}> | ||
<img src={authorImg} /> | ||
<span>{author}</span> | ||
</p> | ||
<p> | ||
<span className={clsx(styles.videos, styles.metadata)}> | ||
{videos} micro videos | ||
</span> | ||
<span className={clsx(styles.duration, styles.metadata)}> | ||
{duration} minutes | ||
</span> | ||
</p> | ||
</Card> | ||
) | ||
} | ||
|
||
export default Course |
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.