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