Skip to content

Commit

Permalink
Merge pull request #5973 from Touriist/fix-kanvas-design-carousel
Browse files Browse the repository at this point in the history
Fix kanvas design carousel and links
  • Loading branch information
sudhanshutech authored Oct 6, 2024
2 parents a3a9b27 + 4bf0688 commit ce85655
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions src/components/PopOutCardCarousel/PopOutCardCarousel.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ const PopOutCardWrapper = styled.div`
//dynamic css
${(props) => css`
z-index: ${100 - props.index};
${props.index === 1 ? "background: linear-gradient(134deg, #252E31 -16.51%, #0D997F 101%);" : ""};
${props.index === 2 ? "background: linear-gradient(125deg, #137771 -16.81%, #252E31 104.15%);" : ""};
${props.index === 3 ? " background: linear-gradient(180deg, #202020 -32.18%, #18433F 52.35%, #0B7E71 106.65%, #00B39F 142.23%);" : ""};
transform: rotateZ(${-4 - 6 * props.index}deg) translate(-${props.index *
36}px, ${props.index * 5}px);
z-index: ${100 - props.$index};
${props.$index === 1 ? "background: linear-gradient(134deg, #252E31 -16.51%, #0D997F 101%);" : ""};
${props.$index === 2 ? "background: linear-gradient(125deg, #137771 -16.81%, #252E31 104.15%);" : ""};
${props.$index === 3 ? " background: linear-gradient(180deg, #202020 -32.18%, #18433F 52.35%, #0B7E71 106.65%, #00B39F 142.23%);" : ""};
transform: rotateZ(${-4 - 6 * props.$index}deg) translate(-${props.$index *
36}px, ${props.$index * 5}px);
`}
${(props) =>
Expand Down Expand Up @@ -134,7 +134,7 @@ const PopOutCardWrapper = styled.div`
${(props) =>
!props.$active &&
css`
:hover {
&:hover {
transform: rotateZ(${-1 - 6 * props.$index}deg)
translate(-${props.$index * 36}px, ${props.$index * 5}px);
h3 {
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Kanvas/Kanvas-design/kanvas-design-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const KanvasDesignBanner = () => {
</div>
<div className="hero-image">
<CytoscapeCtx />
<Button secondary title="Experience context-aware design" url="https://meshery.layer5.io" external={ true } />
<Button $secondary title="Experience context-aware design" $url="https://meshery.layer5.io" external={ true } />
<h5>Upload your Helm Chart or Kubernetes manifest to have your infra diagrammed</h5>
</div>
<img className="dots-upper" src={BackgroundDotsPattern} />
Expand All @@ -173,4 +173,4 @@ const KanvasDesignBanner = () => {
);
};

export default KanvasDesignBanner;
export default KanvasDesignBanner;
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ const KanvasIntegrationsSection = () => {
<div>
<Button
id="integrations"
secondary
$secondary
style={{ margin: "1.5rem 0 1.5rem 0" }}
url="https://layer5.io/cloud-native-management/meshery/integrations"
$url="https://layer5.io/cloud-native-management/meshery/integrations"
$external={true}
>
All Integrations
Expand Down

0 comments on commit ce85655

Please sign in to comment.