Skip to content

Commit

Permalink
Merge branch 'master' into leecalcote/gatsby-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshorton2337 authored Jan 5, 2025
2 parents 65007e4 + 9d249e7 commit 8312189
Show file tree
Hide file tree
Showing 12 changed files with 457 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/build/features-to-json.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const fs = require("fs").promises; // Use fs.promises
const csv = require("csvtojson");
import { promises as fs } from "fs"; // Use fs.promises
import csv from "csvtojson";
const [major, minor, patch] = process.versions.node.split(".").map(Number);
console.log(`Using Node.js version: ${major}.${minor}.${patch}`);

Expand Down
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ module.exports = {
resolve: "gatsby-plugin-robots-txt",
options: {
host: "https://layer5.io",
sitemap: "https://layer5.io/sitemap/sitemap-index.xml",
sitemap: "https://layer5.io/sitemap-index.xml",
policy: [{ userAgent: "*", allow: "/" }],
}
},
Expand Down
3 changes: 1 addition & 2 deletions src/collections/members/ahmed-hendawy/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Ahmed Hendawy
position: Contributor
image_path: ./ahmed-hendawy.webp
github: devhindo
twitter: devhindo
linkedin: devhindo
layer5: c667a565-930a-4f7f-a29e-0a11ba392111
location: Egypt
bio: "devhindo is a Software Engineer with a specialized focus on Backend and Cloud Development. He is highly proficient in Golang, Python, and JavaScript, languages he uses to architect and develop scalable, cloud-native applications. His expertise extends to distributed systems and now includes blockchain technologies, allowing him to tackle intricate software challenges with ease. devhindo is passionate about contributing to open source projects, sharing his knowledge and giving back to the community. Additionally, he excels in problem-solving and has a deep understanding of algorithms, which he applies to optimize and innovate within the tech ecosystem. His love for technology drives him to continuously learn and adapt to new frameworks and methodologies in the ever-evolving world of software engineering."
bio: "Ahmed Hendawy is a Software Engineer with a specialized focus on Backend and Cloud Development. He is highly proficient in Golang, Python, and JavaScript, languages he uses to architect and develop scalable, cloud-native applications. His expertise extends to distributed systems and now includes blockchain technologies, allowing him to tackle intricate software challenges with ease. Ahmed Hendawy is passionate about contributing to open source projects, sharing his knowledge and giving back to the community. Additionally, he excels in problem-solving and has a deep understanding of algorithms, which he applies to optimize and innovate within the tech ecosystem. His love for technology drives him to continuously learn and adapt to new frameworks and methodologies in the ever-evolving world of software engineering."
badges:
- meshery
status: Active
Expand Down
77 changes: 77 additions & 0 deletions src/components/CommonForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,83 @@ const CommonForm = ({ form, title, submit_title, submit_body }) => {
<option className="options" value="Other">Other</option>
</Field>
</div>
{form == "open-source-pricing" && (
<>
<label htmlFor="projectname" className="form-name">
What is the name of your project? <span className="required-sign">*</span>
</label>
<Field type="text" className="text-field" id="projectname" name="projectname" />
<label htmlFor="repository" className="form-name">
Please link the public repository of your OSS organization (github, gitlab, etc.) <span className="required-sign">*</span>
</label>
<Field type="url" className="text-field" id="repository" name="repository" />
<label htmlFor="website" className="form-name">
Please provide a link to your project website. <span className="required-sign">*</span>
</label>
<Field type="url" className="text-field" id="website" name="website" />
<label htmlFor="goal" className="form-name">
What is the goal of this project? <span className="required-sign">*</span>
</label>
<Field type="text" className="text-field" id="goal" name="goal" />
<label htmlFor="users" className="form-name">
What types of user(s) benefit from this project? <span className="required-sign">*</span>
</label>
<Field type="text" className="text-field" id="users" name="users" />
<label htmlFor="sponsors" className="form-name">
Please list all sponsors for this project. <span className="required-sign">*</span>
</label>
<Field as="textarea" type="text" className="text-field" id="sponsors" name="sponsors" />
<label htmlFor="commercialization" className="form-name">
Path to Commercialization <span className="required-sign">*</span>
</label>
<div role="group" className="formRight" aria-labelledby="select">
<Field as="select" id="commercialization" name="commercialization" aria-describedby="commercialization-description"
>
<option defaultValue hidden className="custom-arrow">Select an option</option>
<option className="options" value="Yes">Yes</option>
<option className="options" value="No">No</option>
<option className="options" value="Maybe">Maybe</option>
</Field>
</div>
<div role="group" className="formRight" aria-labelledby="select">
<label htmlFor="license" className="form-name">
What is the code distribution license for your OSS project? <span className="required-sign">*</span>
</label>
<Field as="select" id="license" name="license" className="large gfield_select">
<option defaultValue hidden className="custom-arrow">Select a license</option>
<option value="GNU Affero General Public License v3.0">GNU Affero General Public License v3.0</option>
<option value="Apache 2.0">Apache 2.0</option>
<option value="BSD 2-Clause license">BSD 2-Clause license</option>
<option value="BSD-3-Clause license">BSD-3-Clause license</option>
<option value="BSD 4-Clause">BSD 4-Clause</option>
<option value="GNU General Public License v3.0">GNU General Public License v3.0</option>
<option value="GNU Lesser General Public License v3.0">GNU Lesser General Public License v3.0</option>
<option value="MIT License">MIT License</option>
<option value="Mozilla Public License 2.0">Mozilla Public License 2.0</option>
<option value="Boost Software License 1.0">Boost Software License 1.0</option>
<option value="The Unlicense">The Unlicense</option>
<option value="BSD Zero Clause">BSD Zero Clause</option>
<option value="Academic Free License v3.0">Academic Free License v3.0</option>
<option value="Creative Commons Attribution 4.0 International">Creative Commons Attribution 4.0 International</option>
<option value="Creative Commons Attribution Share Alike 4.0 International">Creative Commons Attribution Share Alike 4.0 International</option>
<option value="Creative Commons Zero v1.0 Universal">Creative Commons Zero v1.0 Universal</option>
<option value="Eclipse Public License 2.0">Eclipse Public License 2.0</option>
<option value="CeCILL Free Software License Agreement v2.1">CeCILL Free Software License Agreement v2.1</option>
<option value="Educational Community License v2.0">Educational Community License v2.0</option>
<option value="European Union Public License 1.2">European Union Public License 1.2</option>
<option value="ISC License">ISC License</option>
<option value="Microsoft Public License">Microsoft Public License</option>
<option value="Open Data Commons Open Database License v1.0">Open Data Commons Open Database License v1.0</option>
<option value="Common Development and Distribution License">Common Development and Distribution License</option>
<option value="Eiffel Forum License 2.0">Eiffel Forum License 2.0</option>
<option value="Adaptive Public License 1.0">Adaptive Public License 1.0</option>
<option value="Mulan Permissive Software License, Version 2">Mulan Permissive Software License, Version 2</option>
</Field>
</div>
<div>Does this project have a pathway to commercialization? Your organization can accept donations to sustain its work, but it can't seek to make a profit by selling services, by charging for enhancements or add-ons, or by other means specifically for this project. If you don't meet this criteria, Please reach out to Layer5 sales team who will assist you find a partner program that may better fit your needs.</div>
</>
)}


<Button $secondary className="btn" title="Submit" />
</Form>
Expand Down
17 changes: 17 additions & 0 deletions src/pages/community/open-source-program.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";
import SEO from "../../components/seo";
import OpenSourcePricingPage from "../../sections/Community/Open-Source-Program";

const OpenSourcePricingProgramPage = () => {
return (
<>
<OpenSourcePricingPage />
</>
);
};
export default OpenSourcePricingProgramPage;
export const Head = () => {
return <SEO title="Layer5 Open Source Program"
description="Layer5, empowerer of engineers. At Layer5, we believe collaboration enables innovation, and infrastructure enables collaboration."
image="/images/Layer5-overview.svg" />;
};
7 changes: 4 additions & 3 deletions src/reusecore/Blockquote/Blockquote-alt-style/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import PropTypes from "prop-types";
import BlockquoteStyle from "./blockquote.style";

const Blockquote = ({ className, ...props }) => {
const BlockquoteAlt = ({ className, ...props }) => {
const AllClasses = ["blockquote"];
if (className) {
AllClasses.push(className);
Expand All @@ -24,11 +24,12 @@ const Blockquote = ({ className, ...props }) => {
);
};

Blockquote.propTypes = {
BlockquoteAlt.propTypes = {
quote: PropTypes.string,
person: PropTypes.string,
title: PropTypes.string,
className: PropTypes.string,
};

export default Blockquote;
export default BlockquoteAlt;
export { BlockquoteAlt };
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8312189

Please sign in to comment.