Skip to content

Commit

Permalink
chore: fix component not used warning
Browse files Browse the repository at this point in the history
Signed-off-by: Mdkaif-123 <[email protected]>
  • Loading branch information
mdkaifansari04 committed Nov 5, 2024
1 parent ec4fa5c commit c1efa8c
Showing 1 changed file with 67 additions and 68 deletions.
135 changes: 67 additions & 68 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;
@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 @@ -92,7 +88,10 @@ const KanvasisualizeBanner = () => {
<div className="banner">
<div className="banner-text">
<h1>Visualize your infrastructure </h1>
<h4>See your designs <span>in action.</span> Operate with <span>best practices.</span></h4>
<h4>
See your designs <span>in action.</span> Operate with{" "}
<span>best practices.</span>
</h4>
<KanvasBtn title="Explore Kanvasisualizer" />
</div>
{/* <div className="banner-image">
Expand All @@ -103,4 +102,4 @@ const KanvasisualizeBanner = () => {
);
};

export default KanvasisualizeBanner;
export default KanvasisualizeBanner;

0 comments on commit c1efa8c

Please sign in to comment.