diff --git a/src/components/specs/data-card.js b/src/components/specs/data-card.js
index ff72b38ed60f20..43194c5b6ed48f 100644
--- a/src/components/specs/data-card.js
+++ b/src/components/specs/data-card.js
@@ -1,6 +1,5 @@
import React from "react";
import styled from "styled-components";
-import { Col, Row } from "../../reusecore/Layout";
import List_Icon from "../../assets/images/app/tick.svg";
const DataCardWrapper = styled.div`
@@ -11,73 +10,71 @@ const DataCardWrapper = styled.div`
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
ul {
+ display: grid;
+ grid-template-columns: 1fr;
+ gap: 1.25rem;
list-style: none;
+ margin: 0;
padding: 0;
+
+ @media (min-width: 768px) {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ column-gap: 1.5rem;
+ }
}
- .col-1 li {
+
+ li {
display: flex;
- align-items: center;
- vertical-align: center;
- margin-bottom: 1.5rem;
+ align-items: flex-start;
+ gap: 1rem;
+ min-width: 0;
+
img {
- margin-right: 1rem;
+ width: 20px;
+ height: 20px;
+ flex: 0 0 20px;
+ margin-top: 0.15rem;
}
+
h5 {
+ min-width: 0;
+ margin: 0;
font-weight: 600;
+ line-height: 1.4;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
}
-
- .col-2 li {
- h3 {
- color: ${(props) => props.theme.secondaryColor};
- font-weight: 700;
- }
- p {
- font-size: 16px;
- }
- }
`;
-const DataCard = () => {
- return (
-
-
-
-
- -
-
- Extensive library of integrations
-
- -
-
- Infrastructure orchestration
-
- -
-
- Multi-player editing
-
-
-
-
-
- -
-
- Ready-to-use templates
-
- -
-
- Visual drag & drop
-
- -
-
- Operate with No Code
-
-
-
-
-
- );
-};
+const DataCard = () => (
+
+
+ -
+
+ Extensive library of integrations
+
+ -
+
+ Ready-to-use templates
+
+ -
+
+ Infrastructure orchestration
+
+ -
+
+ Visual drag & drop
+
+ -
+
+ Multi-player editing
+
+ -
+
+ Operate with No Code
+
+
+
+);
export default DataCard;
diff --git a/src/components/specs/index.js b/src/components/specs/index.js
index fb1487be0065a5..2cb7a9eb104594 100644
--- a/src/components/specs/index.js
+++ b/src/components/specs/index.js
@@ -11,19 +11,15 @@ const HowMesheryWorksSpecs = ({ title, desc, btnUrl }) => {
-
-
+
+
{title}
{desc}
-
+
-
+
diff --git a/src/components/specs/specs.style.js b/src/components/specs/specs.style.js
index 11b4135ae4468f..9807dd25155cb3 100644
--- a/src/components/specs/specs.style.js
+++ b/src/components/specs/specs.style.js
@@ -2,34 +2,55 @@ import styled from "styled-components";
import MesheryWhiteLogo from "../../assets/images/meshery/icon-only/meshery-logo.svg";
const SpecsWrapper = styled.div`
-
- .management-plane{
+ .management-plane {
margin-top: 2rem;
color: white;
- background: linear-gradient(to right, ${props => props.theme.secondaryColor} 50%, ${props => props.theme.highlightColor} 50%);
+ background: linear-gradient(
+ to right,
+ ${(props) => props.theme.secondaryColor} 50%,
+ ${(props) => props.theme.highlightColor} 50%
+ );
@media (max-width: 62rem) {
- background: linear-gradient(to bottom, ${props => props.theme.secondaryColor} 50%, ${props => props.theme.highlightColor} 50%);
+ background: ${(props) => props.theme.highlightColor};
}
-
- .text{
+
+ .management-plane-row {
+ @media (max-width: 62rem) {
+ flex-wrap: wrap;
+
+ > .text,
+ > .card {
+ flex: 0 0 100%;
+ max-width: 100%;
+ }
+ }
+ }
+
+ .text {
position: relative;
padding: 6rem;
overflow: visible;
-
+
+ @media (max-width: 62rem) {
+ background: ${(props) => props.theme.secondaryColor};
+ box-shadow: 0 0 0 100vmax ${(props) => props.theme.secondaryColor};
+ clip-path: inset(0 -100vmax);
+ }
+
@media (max-width: 36rem) {
padding-left: 2rem;
padding-bottom: 12rem;
}
-
- h2{
+
+ h2 {
position: relative;
- color: ${props => props.theme.white};
+ color: ${(props) => props.theme.white};
padding-bottom: 1rem;
z-index: 2;
}
- &:before{
- content: ' ';
+ &:before {
+ content: " ";
display: block;
position: absolute;
left: -300px;
@@ -41,18 +62,15 @@ const SpecsWrapper = styled.div`
opacity: 0.2;
}
}
-
- .card{
+
+ .card {
@media (max-width: 62rem) {
padding-bottom: 2rem;
}
}
}
-
-
-
- overflow: hidden;
-
+
+ overflow: hidden;
`;
export default SpecsWrapper;