Skip to content

Commit

Permalink
Dependency update and transient props update
Browse files Browse the repository at this point in the history
Signed-off-by: Aviral Asthana <[email protected]>
  • Loading branch information
Aviral0702 committed Sep 5, 2024
1 parent 87ca549 commit 5ab108e
Show file tree
Hide file tree
Showing 18 changed files with 275 additions and 266 deletions.
3 changes: 1 addition & 2 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,8 +935,7 @@ exports.createSchemaCustomization = ({ actions }) => {
slack: String,
video: String,
community_manager: String,
docURL: String,
docURL: String,
}
`;
createTypes(typeDefs);
Expand Down
485 changes: 242 additions & 243 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"gatsby-plugin-sitemap": "^6.11.0",
"gatsby-plugin-styled-components": "^6.11.0",
"gatsby-plugin-svgr": "^3.0.0-beta.0",
"gatsby-redirect-from": "^1.0.5",
"gatsby-redirect-from": "^1.0.4",
"gatsby-source-filesystem": "^5.11.0",
"gatsby-transformer-sharp": "^5.11.0",
"gbimage-bridge": "^0.2.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SistentNavigation/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const SistentPagination = () => {
) : null}

{currentPage < content.length - 1 ? (
<Button primary url={content[currentPage + 1]?.link}>
<Button $primary $url={content[currentPage + 1]?.link}>
Next &rarr;
</Button>
) : null}
Expand Down
2 changes: 1 addition & 1 deletion src/sections/AWS-Diagram/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const Header = () => {
<Button
primary
title="Try MeshMap Now!"
external={true}
$external={true}
url="/meshmap"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Blog/Blog-single/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const BlogSingle = ({ data }) => {
publicURL
}
}
slug
}
}
}`
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Cloud-Native-Catalog/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Header = () => {
<Button
primary
title="Browse Catalog"
external={true}
$external={true}
url="https://meshery.io/catalog"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Community/Members-grid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const MembersGrid = (props) => {
className="banner-btn memberProfileBtn"
title="Collect Badges"
url="https://badges.layer5.io/"
external={true}
$external={true}
>
<FaCertificate size={21} className="icon-left" />
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Company/Brand/Brand-components/catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Catalog = () => {
</Col>
<Col xs={12} sm={6} className="download-button">
<a href="/brand/catalog-brand-kit.zip">
<Button primary title="Download Logo Assets" external={false}>
<Button $primary title="Download Logo Assets" $external={false}>
<FiDownloadCloud size={21} className="icon-left" />
</Button>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/FeatureHero/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const FeatureHero = (props) => {
primary
title="Try Now!"
url="https://meshery.layer5.io"
external={true}
$external={true}
/>
</div>
<div className={"whiteboard-image"}>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/GCP-Diagram/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const Header = () => {
<Button
primary
title="Try MeshMap Now!"
external={true}
$external={true}
url="/meshmap"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Home/Playground-home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const MeshmapVisualizerViews = () => {
<Button
primary
title="Open in Demo System &rarr;"
external={true}
$external={true}
url="https://playground.meshery.io/"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Learn/Workshop-grid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const WorkshopsPage = () => {
) {
nodes {
id
slug
body
frontmatter {
title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ export const HoneycombGrid = styled.div`
ul {
font-size: 0;
line-height: 0;
height: ${(props) => props.$height === 0 ? "unset" : `calc(${props.$height}px + 46px)`};
&:before {
height: ${(props) =>
props.height === 0 ? "unset" : `calc(${props.height}px + 46px)`};
li {
width: 150px;
margin: 3px;
height: calc(150px * 1.1547);
display: inline-block;
font-size: initial;
margin-bottom: calc(3px - 150px * 0.2885);
filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 4px 20px);
}
::before {
content: "";
width: calc(150px / 2 + 3px);
float: left;
Expand All @@ -23,7 +34,7 @@ export const HoneycombGrid = styled.div`
@media (max-width: 335px) {
ul {
height: ${(props) =>
props.height === 0 ? "unset" : `calc(${props.heightforSmall}px)`};
props.height === 0 ? "unset" : `calc(${props.heightforSmall}px)`};
li {
width: 100px;
margin-top: 0px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const MeshmapIntegrationsSection = () => {
secondary
style={{ margin: "1.5rem 0 1.5rem 0" }}
url="https://layer5.io/cloud-native-management/meshery/integrations"
external={true}
$external={true}
>
All Integrations
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Playground/playground-CTA.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const DockerExtensionCTA = () => {
<h4>Connect to live clusters<br />Discover, validate, and visualize<br />Kubernetes infrastructure with ease.</h4>
</div>
<p></p>
<Button primary url="https://play.meshery.io/" external={true}>
<Button $primary $url="https://play.meshery.io/" $external={true}>
Try Playground now!
</Button>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/sections/Products/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ const index = () => {
flexibility, elevating operations to new efficiencies.{" "}
</p>
<div className="btn">
<Button secondary className="banner-btn two" external={true} title="Explore Now" alt="" url="https://meshery.layer5.io/"/>
<Button id="book-a-demo" aria-label="Book a demo" primary className="banner-btn book-a-demo" external={true} title="Book a demo" alt="Book a demo" url="https://calendar.google.com/calendar/appointments/schedules/AcZssZ3pmcApaDP4xd8hvG5fy8ylxuFxD3akIRc5vpWJ60q-HemQi80SFFAVftbiIsq9pgiA2o8yvU56?gv=true" />
<Button secondary className="banner-btn two" $external={true} title="Explore Now" alt="" url="https://meshery.layer5.io/"/>
<Button id="book-a-demo" aria-label="Book a demo" primary className="banner-btn book-a-demo" $external={true} title="Book a demo" alt="Book a demo" url="https://calendar.google.com/calendar/appointments/schedules/AcZssZ3pmcApaDP4xd8hvG5fy8ylxuFxD3akIRc5vpWJ60q-HemQi80SFFAVftbiIsq9pgiA2o8yvU56?gv=true" />
</div>
</div>
<div className="product_hero_img">
Expand Down Expand Up @@ -280,7 +280,7 @@ const index = () => {
<PlanCard planData={options}/>

<Row Vcenter Hcenter className={"comparison-button"}>
<Button primary title="Feature Comparison" alt="Feature Comparison" url={"/pricing/#feature-comparison"}/>
<Button $primary title="Feature Comparison" alt="Feature Comparison" $url={"/pricing/#feature-comparison"}/>
</Row>

<div className="headers gap">
Expand All @@ -295,7 +295,7 @@ const index = () => {
Book to see it in action! Our experts are eager to guide you through the incredible possibilities that Layer5 offers. Take this opportunity to discover what more your infrastructure can do for you!
</p>
</div>
<Button external={true} primary title="Book a Demo" alt="Book a demo" url="https://calendar.google.com/calendar/appointments/schedules/AcZssZ3pmcApaDP4xd8hvG5fy8ylxuFxD3akIRc5vpWJ60q-HemQi80SFFAVftbiIsq9pgiA2o8yvU56?gv=true" />
<Button $external={true} $primary title="Book a Demo" alt="Book a demo" $url="https://calendar.google.com/calendar/appointments/schedules/AcZssZ3pmcApaDP4xd8hvG5fy8ylxuFxD3akIRc5vpWJ60q-HemQi80SFFAVftbiIsq9pgiA2o8yvU56?gv=true" />
</div>
</div>
</ProductsWrapper>
Expand Down
2 changes: 1 addition & 1 deletion src/sections/SeeYou/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const SeeYou = () => {
</div>

<div>
<Button primary className={"playground-button"} title={"Try Playground"} external={true} url={"https://playground.meshery.io"} />
<Button $primary className={"playground-button"} title={"Try Playground"} $external={true} $url={"https://playground.meshery.io"} />
</div>
{/*</div>*/}
</Container>
Expand Down

0 comments on commit 5ab108e

Please sign in to comment.