Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sistent-divider-component #6048

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
8 changes: 8 additions & 0 deletions src/pages/projects/sistent/components/divider/code.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from "react";
import { DividerCode } from "../../../../../sections/Projects/Sistent/components/divider/code";

const DividerCodePage = () => {
return <DividerCode />;
};

export default DividerCodePage;
8 changes: 8 additions & 0 deletions src/pages/projects/sistent/components/divider/guidance.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from "react";
import { DividerGuidance } from "../../../../../sections/Projects/Sistent/components/divider/guidance";

const DividerGuidancePage = () => {
return <DividerGuidance />;
};

export default DividerGuidancePage;
8 changes: 8 additions & 0 deletions src/pages/projects/sistent/components/divider/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from "react";
import SistentDivider from "../../../../../sections/Projects/Sistent/components/divider/index";

const SistentDividerPage = () => {
return <SistentDivider />;
};

export default SistentDividerPage;
137 changes: 68 additions & 69 deletions src/sections/Kanvas/Kanvas-visualize/kanvas-visualize-banner.js
Original file line number Diff line number Diff line change
@@ -1,86 +1,82 @@
import React from "react";
import styled from "styled-components";
import Button from "../../../reusecore/Button";
import KanvasBtn from "../kanvas-buttons";

const VisualizeBannerWrapper = styled.div`

display: flex;
align-items: center;
justify-content: center;
.banner {
margin: 3%;
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
background-color: ${(props) => props.theme.grey121212EightToWhiteEight};
border-radius: 2rem;
max-width: 1920px;
width: 90vw;
max-height: 50rem;
align-items: center;
justify-content: center;
.banner {
margin: 3%;
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
background-color: ${props => props.theme.grey121212EightToWhiteEight};
border-radius: 2rem;
max-width: 1920px;
width: 90vw;
max-height: 50rem;
align-items: center;
padding: 4% 5% 6%;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

padding: 4% 5% 6%;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.banner-text {
color: ${props => props.theme.primaryColor};
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
z-index: 1;
padding: 3% 0%;
opacity: 1;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.banner-text {
color: ${(props) => props.theme.primaryColor};
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
z-index: 1;
padding: 3% 0%;
opacity: 1;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h1 {
/* font-size: 4rem; */
/* color: ${props => props.theme.primaryColor}; */
position: relative;
display: inline-block;
@media only screen and (min-width: 1400px) {
font-size: 3.75rem;
}
h1 {
/* font-size: 4rem; */
/* color: ${(props) => props.theme.primaryColor}; */
position: relative;
display: inline-block;
@media only screen and (min-width: 1400px) {
font-size: 3.75rem;
}
}

h4 {
padding: 3% 0% 5%;
color: #A0AAAA;

span {
color: ${props => props.theme.primaryColor};
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media only screen and (max-width: 500px) {
font-size: 1.1rem;
}
h4 {
padding: 3% 0% 5%;
color: #a0aaaa;

span {
color: ${(props) => props.theme.primaryColor};
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h5 {
padding: 2rem 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please tell me why are you changing styles of this section?

@media only screen and (max-width: 500px) {
font-size: 1.1rem;
}
}

p {
padding-top: 2rem;
}
h5 {
padding: 2rem 0;
}

.banner-image {
padding: 5%;
}
img {
position: relative;
z-index: 0;
opacity: 0.4;
filter: blur(1px);
box-shadow: ${props => props.theme.boxShadowGreen00D3A9};
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
p {
padding-top: 2rem;
}

.banner-image {
padding: 5%;
}
img {
position: relative;
z-index: 0;
opacity: 0.4;
filter: blur(1px);
box-shadow: ${(props) => props.theme.boxShadowGreen00D3A9};
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
`;

const KanvasisualizeBanner = () => {
Expand All @@ -91,9 +87,12 @@ const KanvasisualizeBanner = () => {
</div> */}
<div className="banner">
<div className="banner-text">
<h1>Operate your infrastructure </h1>
<h4>See your designs <span>in action.</span> Operate with <span>best practices.</span></h4>
<KanvasBtn title="Explore Kanvasoperator" />
<h1>Visualize your infrastructure </h1>
<h4>
See your designs <span>in action.</span> Operate with{" "}
<span>best practices.</span>
</h4>
<KanvasBtn title="Explore Kanvasisualizer" />
</div>
{/* <div className="banner-image">
<img src={BannerImage} alt="" />
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Projects/Sistent/components/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const SistentButton = () => {
const { isDark } = useStyledDarkMode();

return (
<SistentLayout title="Button" >
<SistentLayout title="Button">
<div className="content">
<a id="Identity">
<h2>Button</h2>
Expand Down
Loading