Skip to content

Commit 9f95cd8

Browse files
authored
Merge branch 'master' into add_max_width
2 parents 56d487b + 807d3a5 commit 9f95cd8

10 files changed

Lines changed: 447 additions & 158 deletions

File tree

onRenderBody.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ const MagicScriptTag = (props) => {
2626
}
2727
const root = document.documentElement;
2828
const iterate = (obj) => {
29-
Object.keys(obj).forEach(key => {
30-
if (typeof obj[key] === 'object') {
31-
iterate(obj[key])
32-
} else {
33-
root.style.setProperty("--" + key, obj[key])
34-
}
35-
})
29+
if (!obj) return;
30+
Object.keys(obj).forEach(key => {
31+
if (typeof obj[key] === 'object') {
32+
iterate(obj[key])
33+
} else {
34+
root.style.setProperty("--" + key, obj[key])
35+
}
36+
})
3637
}
3738
const parsedTheme = JSON.parse('${JSON.stringify(props.theme)}')
3839
const theme = parsedTheme[colorMode]
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

src/collections/integrations/aws-cloudwatch-controller/index.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ components: [
2626
"colorIcon": "icons/components/metric-alarm/icons/color/metric-alarm-color.svg",
2727
"whiteIcon": "icons/components/metric-alarm/icons/white/metric-alarm-white.svg",
2828
"description": "",
29+
},
30+
{
31+
"name": "metric-stream",
32+
"colorIcon": "icons/components/metric-stream/icons/color/metric-stream-color.svg",
33+
"whiteIcon": "icons/components/metric-stream/icons/white/metric-stream-white.svg",
34+
"description": "",
2935
}]
3036
featureList: [
3137
"Provides you with data and actionable insights to monitor your applications, respond to system-wide performance changes, and optimize resource utilization.",

src/components/SistentNavigation/toc.style.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ const TOCWrapper = styled.div`
4242
margin-bottom: 1rem;
4343
}
4444
45+
.toc-list {
46+
flex-grow: 1;
47+
overflow-y: auto;
48+
padding-right: 0.5rem;
49+
max-height: 530px;
50+
position: sticky;
51+
z-index: 1000;
52+
}
53+
4554
.toc-sub-heading {
4655
color: ${(props) => props.theme.text};
4756
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);

src/sections/Kanvas/Kanvas-visualize/kanvas-visualize-features.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import LogStream from "./images/log-stream.svg";
1616
import LogStreamSearch from "./images/log-stream-search.svg";
1717
import { useState } from "react";
1818
import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode";
19+
import DocsIcon from "../../Pricing/icons/docs.js";
1920

2021
const VisualizerFeaturesWrapper = styled.div`
2122
@@ -120,7 +121,7 @@ z-index: 10;
120121
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out 0.3s;
121122
/* transition: transform 1s ease-in-out 0.2s; */
122123
}
123-
`;
124+
}`;
124125

125126
const KanvasisualizerFeatures = () => {
126127
const [isHovered, setisHovered] = useState(false);
@@ -163,14 +164,17 @@ const KanvasisualizerFeatures = () => {
163164
</div>
164165
</Col>
165166
<Col $sm={12} $md={6} $lg={4}>
167+
<a href="https://docs.layer5.io/kanvas/operator/" style={{ textDecoration: 'none', color: 'inherit', display: 'block' }}>
166168
<div className={(isHovered && hoveredFeature != "Feature3") ? "project__block__inner darken" : "project__block__inner"} onMouseOver={() => handleMouseOver(3)} onMouseOut={handleMouseOut}>
167169
<div className="feature-image">
168170
<img src={InteractiveTerminal} alt="Interactive Terminal" style={{ position: "absolute", width: "80%", zIndex: "0" }} />
169171
<img src={InteractiveTerminalCode} alt="" className={hoveredFeature == "Feature3" ? "secondary-image-visible" : "secondary-image"} style={{ position: "relative", width: "80%", zIndex: "10" }} />
170172
</div>
171173
<h3>Interactive Terminal</h3>
172174
<p>Establish sessions with one or more pods at a time.</p>
175+
<DocsIcon style={{ position: 'absolute', top: '16px', right: '16px', color: '#00D3A9' }} className="docs" />
173176
</div>
177+
</a>
174178
</Col>
175179
<Col $sm={12} $md={6} $lg={4}>
176180
<div className={(isHovered && hoveredFeature != "Feature4") ? "project__block__inner darken" : "project__block__inner"} onMouseOver={() => handleMouseOver(4)} onMouseOut={handleMouseOut}>

src/sections/Pricing/feature_data.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@
11891189
"category": "Academy",
11901190
"functionOrder": "",
11911191
"function": "Academy",
1192-
"feature": "",
1192+
"feature": "Building, managing, and extending Layer5 Academy learning paths.",
11931193
"subscription_tier": "Enterprise",
11941194
"comparison_tiers": {
11951195
"free": "",
@@ -1205,7 +1205,7 @@
12051205
"category": "Academy",
12061206
"functionOrder": "",
12071207
"function": "Content Creator Guide",
1208-
"feature": "",
1208+
"feature": "Learn how to create, manage, and publish learning paths, challenges, and certifications on the Layer5 Academy platform.",
12091209
"subscription_tier": "Enterprise",
12101210
"comparison_tiers": {
12111211
"free": "",
@@ -1221,7 +1221,7 @@
12211221
"category": "Academy",
12221222
"functionOrder": "",
12231223
"function": "Extending the Academy",
1224-
"feature": "",
1224+
"feature": "A high-level guide to understanding the architecture, features, and workflow for creating custom content on the Layer5 Academy platform.",
12251225
"subscription_tier": "Enterprise",
12261226
"comparison_tiers": {
12271227
"free": "",
@@ -1237,7 +1237,7 @@
12371237
"category": "Academy",
12381238
"functionOrder": "",
12391239
"function": "Creating Your First Learning Path",
1240-
"feature": "",
1240+
"feature": "A hands-on tutorial that walks you through creating, structuring, and testing a custom learning path for the Layer5 Academy.",
12411241
"subscription_tier": "Enterprise",
12421242
"comparison_tiers": {
12431243
"free": "",
@@ -1253,7 +1253,7 @@
12531253
"category": "Academy",
12541254
"functionOrder": "",
12551255
"function": "Integrating Assessments in the Academy",
1256-
"feature": "",
1256+
"feature": "Learn how to spice up the Academy with interactive assessments that keep learners engaged.",
12571257
"subscription_tier": "Enterprise",
12581258
"comparison_tiers": {
12591259
"free": "",
@@ -1269,7 +1269,7 @@
12691269
"category": "Academy",
12701270
"functionOrder": "",
12711271
"function": "Building Certifications",
1272-
"feature": "",
1272+
"feature": "A step-by-step guide to building a professional certification in the Academy.",
12731273
"subscription_tier": "Enterprise",
12741274
"comparison_tiers": {
12751275
"free": "",

0 commit comments

Comments
 (0)