diff --git a/gatsby-config.js b/gatsby-config.js
index 4c8950ce64319..b0a338a6e0cb1 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -18,15 +18,15 @@ const collectionIgnoreGlobs = excludedCollections.map(
);
const devFlags = isDevelopment
? {
- PARALLEL_SOURCING: false,
- PRESERVE_FILE_DOWNLOAD_CACHE: true,
- }
+ PARALLEL_SOURCING: false,
+ PRESERVE_FILE_DOWNLOAD_CACHE: true,
+ }
: {};
console.info(`Build Environment: "${process.env.NODE_ENV}"`);
collectionIgnoreGlobs.length > 0
? console.info(
`Build Scope excludes (${process.env.LITE_BUILD_PROFILE || DEFAULT_LITE_BUILD_PROFILE}): ${excludedCollections.join(", ")}`,
- )
+ )
: console.info("Build Scope includes all collections");
module.exports = {
siteMetadata: {
@@ -131,11 +131,11 @@ module.exports = {
// Start of Production-only Plugins
...(isProduction
? [
- {
- resolve: "gatsby-plugin-feed",
- options: {
- // Lightweight global query - only site metadata
- query: `
+ {
+ resolve: "gatsby-plugin-feed",
+ options: {
+ // Lightweight global query - only site metadata
+ query: `
{
site {
siteMetadata {
@@ -147,12 +147,12 @@ module.exports = {
}
}
`,
- feeds: [
- // FEED 1: News - individual query per feed
- {
- output: "/news/feed.xml",
- title: "Layer5 News",
- query: `
+ feeds: [
+ // FEED 1: News - individual query per feed
+ {
+ output: "/news/feed.xml",
+ title: "Layer5 News",
+ query: `
{
site {
siteMetadata {
@@ -186,85 +186,85 @@ module.exports = {
}
}
`,
- serialize: ({ query: { site, allMdx } }) => {
- return allMdx.nodes.map((node) => {
- return Object.assign({}, node.frontmatter, {
- title: node.frontmatter.title,
- author: node.frontmatter.author,
- description: node.frontmatter.description,
- date: node.frontmatter.date,
- url: site.siteMetadata.siteUrl + node.fields.slug,
- guid: site.siteMetadata.siteUrl + node.fields.slug,
- enclosure: node.frontmatter.thumbnail && {
- url:
+ serialize: ({ query: { site, allMdx } }) => {
+ return allMdx.nodes.map((node) => {
+ return Object.assign({}, node.frontmatter, {
+ title: node.frontmatter.title,
+ author: node.frontmatter.author,
+ description: node.frontmatter.description,
+ date: node.frontmatter.date,
+ url: site.siteMetadata.siteUrl + node.fields.slug,
+ guid: site.siteMetadata.siteUrl + node.fields.slug,
+ enclosure: node.frontmatter.thumbnail && {
+ url:
site.siteMetadata.siteUrl +
node.frontmatter.thumbnail.publicURL,
- },
- custom_elements: [{ "content:encoded": node.excerpt }],
+ },
+ custom_elements: [{ "content:encoded": node.excerpt }],
+ });
});
- });
+ },
},
- },
- // FEED 2: Resources - individual query
- // {
- // output: "/resources/feed.xml",
- // title: "Layer5 Resources",
- // query: `
- // {
- // site {
- // siteMetadata {
- // title
- // siteUrl
- // }
- // }
- // allMdx(
- // sort: {frontmatter: {date: DESC}}
- // limit: 20
- // filter: {
- // frontmatter: { published: { eq: true } }
- // fields: { collection: { eq: "resources" } }
- // }
- // ) {
- // nodes {
- // excerpt
- // frontmatter {
- // title
- // author
- // description
- // date
- // thumbnail {
- // publicURL
- // }
- // }
- // fields {
- // slug
- // }
- // }
- // }
- // }
- // `,
- // serialize: ({ query: { site, allMdx } }) => {
- // return allMdx.nodes.map((node) => {
- // return Object.assign({}, node.frontmatter, {
- // title: node.frontmatter.title,
- // author: node.frontmatter.author,
- // description: node.frontmatter.description,
- // date: node.frontmatter.date,
- // url: site.siteMetadata.siteUrl + node.fields.slug,
- // guid: site.siteMetadata.siteUrl + node.fields.slug,
- // enclosure: node.frontmatter.thumbnail && {
- // url: site.siteMetadata.siteUrl + node.frontmatter.thumbnail.publicURL,
- // },
- // custom_elements: [{ "content:encoded": node.excerpt }],
- // });
- // });
- // },
- // },
- // FEED 3: Meshery Community - targeted query with filters
- {
- output: "/meshery-community-feed.xml",
- title: "Meshery RSSFeed",
- query: `
+ // FEED 2: Resources - individual query
+ // {
+ // output: "/resources/feed.xml",
+ // title: "Layer5 Resources",
+ // query: `
+ // {
+ // site {
+ // siteMetadata {
+ // title
+ // siteUrl
+ // }
+ // }
+ // allMdx(
+ // sort: {frontmatter: {date: DESC}}
+ // limit: 20
+ // filter: {
+ // frontmatter: { published: { eq: true } }
+ // fields: { collection: { eq: "resources" } }
+ // }
+ // ) {
+ // nodes {
+ // excerpt
+ // frontmatter {
+ // title
+ // author
+ // description
+ // date
+ // thumbnail {
+ // publicURL
+ // }
+ // }
+ // fields {
+ // slug
+ // }
+ // }
+ // }
+ // }
+ // `,
+ // serialize: ({ query: { site, allMdx } }) => {
+ // return allMdx.nodes.map((node) => {
+ // return Object.assign({}, node.frontmatter, {
+ // title: node.frontmatter.title,
+ // author: node.frontmatter.author,
+ // description: node.frontmatter.description,
+ // date: node.frontmatter.date,
+ // url: site.siteMetadata.siteUrl + node.fields.slug,
+ // guid: site.siteMetadata.siteUrl + node.fields.slug,
+ // enclosure: node.frontmatter.thumbnail && {
+ // url: site.siteMetadata.siteUrl + node.frontmatter.thumbnail.publicURL,
+ // },
+ // custom_elements: [{ "content:encoded": node.excerpt }],
+ // });
+ // });
+ // },
+ // },
+ // FEED 3: Meshery Community - targeted query with filters
+ {
+ output: "/meshery-community-feed.xml",
+ title: "Meshery RSSFeed",
+ query: `
{
site {
siteMetadata {
@@ -306,52 +306,52 @@ module.exports = {
}
}
`,
- serialize: ({ query: { site, allMdx } }) => {
- const targetTags = ["Community", "Meshery", "mesheryctl"];
+ serialize: ({ query: { site, allMdx } }) => {
+ const targetTags = ["Community", "Meshery", "mesheryctl"];
- return allMdx.nodes
- .filter((node) => {
- const hasTag =
+ return allMdx.nodes
+ .filter((node) => {
+ const hasTag =
node.frontmatter.tags &&
node.frontmatter.tags.some((t) =>
targetTags.includes(t),
);
- return hasTag;
- })
- .slice(0, 30)
- .map((node) => {
- return Object.assign({}, node.frontmatter, {
- title: node.frontmatter.title,
- author: node.frontmatter.author,
- description:
+ return hasTag;
+ })
+ .slice(0, 30)
+ .map((node) => {
+ return Object.assign({}, node.frontmatter, {
+ title: node.frontmatter.title,
+ author: node.frontmatter.author,
+ description:
node.frontmatter.description ||
node.frontmatter.subtitle,
- date: node.frontmatter.date,
- url: site.siteMetadata.siteUrl + node.fields.slug,
- guid: site.siteMetadata.siteUrl + node.fields.slug,
- enclosure: node.frontmatter.thumbnail && {
- url:
+ date: node.frontmatter.date,
+ url: site.siteMetadata.siteUrl + node.fields.slug,
+ guid: site.siteMetadata.siteUrl + node.fields.slug,
+ enclosure: node.frontmatter.thumbnail && {
+ url:
site.siteMetadata.siteUrl +
node.frontmatter.thumbnail.publicURL,
- },
- custom_elements: [
- { "content:encoded": node.excerpt },
- { "content:type": node.frontmatter.type },
- { "content:category": node.frontmatter.category },
- {
- "content:tags":
- node.frontmatter.tags?.join(", ") || "",
},
- ],
+ custom_elements: [
+ { "content:encoded": node.excerpt },
+ { "content:type": node.frontmatter.type },
+ { "content:category": node.frontmatter.category },
+ {
+ "content:tags":
+ node.frontmatter.tags?.join(", ") || "",
+ },
+ ],
+ });
});
- });
+ },
},
- },
- // FEED 4: Blog - individual query
- {
- output: "/blog/feed.xml",
- title: "Layer5 Blog",
- query: `
+ // FEED 4: Blog - individual query
+ {
+ output: "/blog/feed.xml",
+ title: "Layer5 Blog",
+ query: `
{
site {
siteMetadata {
@@ -385,30 +385,30 @@ module.exports = {
}
}
`,
- serialize: ({ query: { site, allMdx } }) => {
- return allMdx.nodes.map((node) => {
- return Object.assign({}, node.frontmatter, {
- title: node.frontmatter.title,
- author: node.frontmatter.author,
- description: node.frontmatter.description,
- date: node.frontmatter.date,
- url: site.siteMetadata.siteUrl + node.fields.slug,
- guid: site.siteMetadata.siteUrl + node.fields.slug,
- enclosure: node.frontmatter.thumbnail && {
- url:
+ serialize: ({ query: { site, allMdx } }) => {
+ return allMdx.nodes.map((node) => {
+ return Object.assign({}, node.frontmatter, {
+ title: node.frontmatter.title,
+ author: node.frontmatter.author,
+ description: node.frontmatter.description,
+ date: node.frontmatter.date,
+ url: site.siteMetadata.siteUrl + node.fields.slug,
+ guid: site.siteMetadata.siteUrl + node.fields.slug,
+ enclosure: node.frontmatter.thumbnail && {
+ url:
site.siteMetadata.siteUrl +
node.frontmatter.thumbnail.publicURL,
- },
- custom_elements: [{ "content:encoded": node.excerpt }],
+ },
+ custom_elements: [{ "content:encoded": node.excerpt }],
+ });
});
- });
+ },
},
- },
- // FEED 5: Events - individual query
- {
- output: "/events/feed.xml",
- title: "Layer5 Events",
- query: `
+ // FEED 5: Events - individual query
+ {
+ output: "/events/feed.xml",
+ title: "Layer5 Events",
+ query: `
{
site {
siteMetadata {
@@ -442,35 +442,35 @@ module.exports = {
}
}
`,
- serialize: ({ query: { site, allMdx } }) => {
- return allMdx.nodes.map((node) => {
- return Object.assign({}, node.frontmatter, {
- title: node.frontmatter.title,
- author: node.frontmatter.author,
- description: node.frontmatter.description,
- date: node.frontmatter.date,
- url: site.siteMetadata.siteUrl + node.fields.slug,
- guid: site.siteMetadata.siteUrl + node.fields.slug,
- enclosure: node.frontmatter.thumbnail && {
- url:
+ serialize: ({ query: { site, allMdx } }) => {
+ return allMdx.nodes.map((node) => {
+ return Object.assign({}, node.frontmatter, {
+ title: node.frontmatter.title,
+ author: node.frontmatter.author,
+ description: node.frontmatter.description,
+ date: node.frontmatter.date,
+ url: site.siteMetadata.siteUrl + node.fields.slug,
+ guid: site.siteMetadata.siteUrl + node.fields.slug,
+ enclosure: node.frontmatter.thumbnail && {
+ url:
site.siteMetadata.siteUrl +
node.frontmatter.thumbnail.publicURL,
- },
- custom_elements: [{ "content:encoded": node.excerpt }],
+ },
+ custom_elements: [{ "content:encoded": node.excerpt }],
+ });
});
- });
+ },
},
- },
- ],
+ ],
+ },
},
- },
- {
- resolve: "gatsby-plugin-purgecss",
- options: {
- printRejected: true,
+ {
+ resolve: "gatsby-plugin-purgecss",
+ options: {
+ printRejected: true,
+ },
},
- },
- ]
+ ]
: []),
// End of Production-only Plugins
{
diff --git a/src/assets/images/programs/Layer5-mentor-program.webp b/src/assets/images/programs/Layer5-mentor-program.webp
deleted file mode 100644
index dd3aa31b667b5..0000000000000
Binary files a/src/assets/images/programs/Layer5-mentor-program.webp and /dev/null differ
diff --git a/src/sections/Careers/index.js b/src/sections/Careers/index.js
index 65f87b4e9dbed..d02ee684087a8 100644
--- a/src/sections/Careers/index.js
+++ b/src/sections/Careers/index.js
@@ -1,10 +1,10 @@
import React from "react";
import { StaticImage } from "gatsby-plugin-image";
+import { withPrefix } from "gatsby";
import { Container } from "../../reusecore/Layout";
import { Row } from "../../reusecore/Layout";
import PageHeader from "../../reusecore/PageHeader";
import InternshipPage from "./Careers-Internship-grid";
-import Five from "../../sections/Community/Community-pictures/community.webp";
import JoinCommunity from "../Community/Join-community";
import CareersSectionWrapper from "./careers.style";
@@ -41,7 +41,7 @@ const CareersPage = () => {
Open source contributors come in all shapes, sizes, colors and so on. All are welcome in the Layer5 projects and community!!
- Whether you are a first time contributor or an open source
- veteran, you are welcome to contribute to and actively engage in the
+ Whether you are a first time contributor or an open source veteran,
+ you are welcome to contribute to and actively engage in the
development of projects at Layer5. Here are some instructions to get
you started and if you haven’t joined yet, join the{" "}
Slack workspace
{" "}
- to collaborate with the community and the discussion forum for questions. Also, you can check the
+ to collaborate with the community and the{" "} discussion forum {" "} for questions. Also, you can check the
quick-links below for jumping straight into things.
- These steps outline the process by which you can
- openly engage, learn, and participate in the broad set of open
- source projects at Layer5. If at any time you get stuck, please
- seek help in the{" "}
+ These steps outline the process by which you can openly engage,
+ learn, and participate in the broad set of open source projects at
+ Layer5. If at any time you get stuck, please seek help in the{" "}
community forum
- {""}.
- Our{" "}
- MeshMates and community
- members are here to help!
+
+ {""}. Our MeshMates and
+ community members are here to help!
Help us get to know you, so that we can highlight projects and initiatives that align with your interests. Fill-in a community member form. Gain access to community resources.
- The community is growing at a tremendous rate. We value our connections
- and that is what makes us unique. Whether it is your first meeting or
- your tenth contribution, we want to make sure that you are supported and
- equipped to take advantage of all of that the community has to offer.
+ The community is growing at a tremendous rate. We value our
+ connections and that is what makes us unique. Whether it is your
+ first meeting or your tenth contribution, we want to make sure
+ that you are supported and equipped to take advantage of all of
+ that the community has to offer.
Fill in the Community Member Form
Working on Your Issue
@@ -198,15 +211,18 @@ const NewcomersGuide = () => {
Explore the Meshery Community