Skip to content

Commit 562d30c

Browse files
authored
Merge branch 'master' into improved-event-page-performance
2 parents 86d5206 + 5691650 commit 562d30c

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

src/sections/Kanvas/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import VisualizerFeatures from "./FeaturesSection/Visualize/VisualizerFeatures";
1414
import KanvasBtn from "./kanvas-buttons.js";
1515
import Reviews from "../Pricing/review-slider";
1616
import InlineQuotes from "../../components/Inline-quotes";
17+
import KanvasFeatures from "./kanvas-feature.js";
1718
import { ReactComponent as RoleBind1 } from "./FeaturesSection/Design/images/role-binding-1-colorMode.svg";
1819
import { ReactComponent as RoleBind2 } from "./FeaturesSection/Design/images/role-binding-2-colorMode.svg";
1920
import { ReactComponent as RoleBind3 } from "./FeaturesSection/Design/images/role-binding-3-colorMode.svg";
@@ -277,6 +278,7 @@ const Kanvas = (props) => {
277278
person="Phillip Ulberg"
278279
title="Solutions Architect at Raymond James Financial, Inc."
279280
image={Phillip} />
281+
<KanvasFeatures style={{ marginBottom: "2rem" }} />
280282
<Catalog />
281283
<InlineQuotes
282284
quote="Do we like Kanvas? ABSOLUTELY!"
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
import React from "react";
2+
import styled from "styled-components";
3+
import Button from "../../reusecore/Button";
4+
import { Container } from "../../reusecore/Layout";
5+
6+
const KanvasSectionWrapper = styled.div`
7+
.heading-section {
8+
display: flex;
9+
flex-direction: column;
10+
align-items: center;
11+
padding: 2rem;
12+
background: linear-gradient(123deg, #00b39f 60%, #00d3a9 100%);
13+
margin-bottom: 1rem;
14+
}
15+
border: 1.5px solid ${(props) => props.theme.green00B39FToGreyB3B3B3};
16+
17+
h2 {
18+
text-align: center;
19+
color: white;
20+
text-transform: uppercase;
21+
margin: 0 0 1rem 0;
22+
font-size: 1.8rem;
23+
}
24+
25+
.description-section {
26+
background-color: ${(props) => props.theme.whiteToSecondaryColor};
27+
margin: 0 auto;
28+
max-width: 800px;
29+
}
30+
31+
p.caption {
32+
font-style: normal;
33+
font-family: 'Qanelas Soft', sans-serif;
34+
font-weight: 300;
35+
font-size: 1.5rem;
36+
line-height: 2.125rem;
37+
text-align: center;
38+
color: ${(props) => props.theme.whiteToSecondaryColor};
39+
margin: 0 0 1.5rem 0;
40+
}
41+
`;
42+
const BtnContainer = styled.div`
43+
display: flex;
44+
gap: 40px;
45+
flex-direction: row;
46+
justify-content: center;
47+
Button {
48+
font-size: 18px;
49+
}
50+
51+
@media (max-width: 418px) {
52+
flex-direction: column;
53+
justify-content: center;
54+
align-items: center;
55+
gap: 30px;
56+
}
57+
`;
58+
59+
const KanvasFeatures = ({ style }) => {
60+
return (
61+
<KanvasSectionWrapper>
62+
<div className="heading-section">
63+
<h2>Discover Kanvas Capabilities</h2>
64+
</div>
65+
<Container className="description-section">
66+
<p className="caption">
67+
Design and manage your infrastructure with Kanvas’s intuitive
68+
drag-and-drop interface. Watch
69+
the video to explore freestyle composition and powerful cluster management and learn more about Kanvas.
70+
</p>
71+
<BtnContainer className="btn" style={style} >
72+
<Button
73+
$primary
74+
$external={true}
75+
title="Watch Kanvas in Action"
76+
alt="Watch Kanvas Video"
77+
$url="https://docs.layer5.io/videos/"
78+
/>
79+
</BtnContainer>
80+
</Container>
81+
</KanvasSectionWrapper>
82+
);
83+
};
84+
85+
export default KanvasFeatures;

0 commit comments

Comments
 (0)