-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added launch button and link to Karpenter workshop (#796)
- Loading branch information
1 parent
57e39d3
commit 0eab7ef
Showing
4 changed files
with
51 additions
and
0 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,10 @@ | ||
--- | ||
title: "Further learning" | ||
sidebar_position: 90 | ||
--- | ||
|
||
This lab has introduced the basics of managing EKS compute with Karpenter, but has only scraped the surface of its capabilities! | ||
|
||
For a more thorough set of hands-on exercises please see the Karpenter Workshop linked below. | ||
|
||
<launchButton url="https://catalog.workshops.aws/karpenter" label="Karpenter Workshop" /> |
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,20 @@ | ||
import React, {type ReactNode} from 'react'; | ||
import clsx from 'clsx'; | ||
|
||
import styles from './styles.module.css'; | ||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ||
import { faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons'; | ||
|
||
interface Props { | ||
url: string; | ||
label: string; | ||
} | ||
|
||
export default function BrowserWindow({ | ||
url = 'http://localhost:3000', | ||
label = 'Launch' | ||
}: Props): JSX.Element { | ||
return ( | ||
<a className={styles.button} href={url} target="_blank">{label} <FontAwesomeIcon className={styles.icon} icon={faArrowUpRightFromSquare} /></a> | ||
); | ||
} |
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,19 @@ | ||
.button { | ||
-webkit-appearance: button; | ||
-moz-appearance: button; | ||
appearance: button; | ||
|
||
text-decoration: none; | ||
color: initial; | ||
background-color: #f90; | ||
padding-inline: 20px; | ||
padding-block: 4px; | ||
border: 1px solid #f90; | ||
font-weight: bold; | ||
border-radius: 2px; | ||
cursor: pointer; | ||
} | ||
|
||
.icon { | ||
padding-left: 4px; | ||
} |
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