Skip to content

Commit

Permalink
chore: Update dependencies and fix code formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviral0702 committed Sep 5, 2024
1 parent 5b8b9ae commit f905ca4
Show file tree
Hide file tree
Showing 11 changed files with 266 additions and 257 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/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/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/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
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
4 changes: 2 additions & 2 deletions src/sections/Products/index.js
Original file line number Diff line number Diff line change
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 f905ca4

Please sign in to comment.